diff --git a/app/Http/Controllers/Admin/AdminGroupsController.php b/app/Http/Controllers/Admin/AdminGroupsController.php new file mode 100644 index 000000000..45a4fd266 --- /dev/null +++ b/app/Http/Controllers/Admin/AdminGroupsController.php @@ -0,0 +1,49 @@ +groupAdminStats(); + + return view('admin.groups.home', compact('stats')); + } + + protected function groupAdminStats() + { + return Cache::remember('admin:groups:stats', 3, function () { + $res = [ + 'total' => Group::count(), + 'local' => Group::whereLocal(true)->count(), + ]; + + $res['remote'] = $res['total'] - $res['local']; + $res['categories'] = GroupCategory::count(); + $res['posts'] = GroupPost::count(); + $res['members'] = GroupMember::count(); + $res['interactions'] = GroupInteraction::count(); + $res['reports'] = GroupReport::count(); + + $res['local_30d'] = Cache::remember('admin:groups:stats:local_30d', 43200, function () { + return Group::whereLocal(true)->where('created_at', '>', now()->subMonth())->count(); + }); + + $res['remote_30d'] = Cache::remember('admin:groups:stats:remote_30d', 43200, function () { + return Group::whereLocal(false)->where('created_at', '>', now()->subMonth())->count(); + }); + + return $res; + }); + } +} diff --git a/app/Http/Controllers/GroupController.php b/app/Http/Controllers/GroupController.php new file mode 100644 index 000000000..881d31f01 --- /dev/null +++ b/app/Http/Controllers/GroupController.php @@ -0,0 +1,671 @@ +middleware('auth'); + abort_unless(config('groups.enabled'), 404); + } + + public function index(Request $request) + { + abort_if(! $request->user(), 404); + + return view('layouts.spa'); + } + + public function home(Request $request) + { + abort_if(! $request->user(), 404); + + return view('layouts.spa'); + } + + public function show(Request $request, $id, $path = false) + { + $group = Group::find($id); + + if (! $group || $group->status) { + return response()->view('groups.unavailable')->setStatusCode(404); + } + + if ($request->wantsJson()) { + return $this->showGroupObject($group); + } + + return view('layouts.spa', compact('id', 'path')); + } + + public function showStatus(Request $request, $gid, $sid) + { + $group = Group::find($gid); + $pid = optional($request->user())->profile_id ?? false; + + if (! $group || $group->status) { + return response()->view('groups.unavailable')->setStatusCode(404); + } + + if ($group->is_private) { + abort_if(! $request->user(), 404); + abort_if(! $group->isMember($pid), 404); + } + + $gp = GroupPost::whereGroupId($gid) + ->findOrFail($sid); + + return view('layouts.spa', compact('group', 'gp')); + } + + public function getGroup(Request $request, $id) + { + $group = Group::whereNull('status')->findOrFail($id); + $pid = optional($request->user())->profile_id ?? false; + + $group = $this->toJson($group, $pid); + + return response()->json($group, 200, [], JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES); + } + + public function showStatusLikes(Request $request, $id, $sid) + { + $group = Group::findOrFail($id); + $user = $request->user(); + $pid = $user->profile_id; + abort_if(! $group->isMember($pid), 404); + $status = GroupPost::whereGroupId($id)->findOrFail($sid); + $likes = GroupLike::whereStatusId($sid) + ->cursorPaginate(10) + ->map(function ($l) use ($group) { + $account = AccountService::get($l->profile_id); + $account['url'] = "/groups/{$group->id}/user/{$account['id']}"; + + return $account; + }) + ->filter(function ($l) { + return $l && isset($l['id']); + }) + ->values(); + + return $likes; + } + + public function groupSettings(Request $request, $id) + { + abort_if(! $request->user(), 404); + $group = Group::findOrFail($id); + $pid = $request->user()->profile_id; + abort_if(! $group->isMember($pid), 404); + abort_if(! in_array($group->selfRole($pid), ['founder', 'admin']), 404); + + return view('groups.settings', compact('group')); + } + + public function joinGroup(Request $request, $id) + { + $group = Group::findOrFail($id); + $pid = $request->user()->profile_id; + abort_if($group->isMember($pid), 404); + + if (! $request->user()->is_admin) { + abort_if(GroupService::getRejoinTimeout($group->id, $pid), 422, 'Cannot re-join this group for 24 hours after leaving or cancelling a request to join'); + } + + $member = new GroupMember; + $member->group_id = $group->id; + $member->profile_id = $pid; + $member->role = 'member'; + $member->local_group = true; + $member->local_profile = true; + $member->join_request = $group->is_private; + $member->save(); + + GroupService::delSelf($group->id, $pid); + GroupService::log( + $group->id, + $pid, + 'group:joined', + null, + GroupMember::class, + $member->id + ); + + $group = $this->toJson($group, $pid); + + return $group; + } + + public function updateGroup(Request $request, $id) + { + $this->validate($request, [ + 'description' => 'nullable|max:500', + 'membership' => 'required|in:all,local,private', + 'avatar' => 'nullable', + 'header' => 'nullable', + 'discoverable' => 'required', + 'activitypub' => 'required', + 'is_nsfw' => 'required', + 'category' => 'required|string|in:'.implode(',', GroupService::categories()), + ]); + + $pid = $request->user()->profile_id; + $group = Group::whereProfileId($pid)->findOrFail($id); + $member = GroupMember::whereGroupId($group->id)->whereProfileId($pid)->firstOrFail(); + + abort_if($member->role != 'founder', 403, 'Invalid group permission'); + + $metadata = $group->metadata; + $len = $group->is_private ? 12 : 4; + + if ($request->hasFile('avatar')) { + $avatar = $request->file('avatar'); + + if ($avatar) { + if (isset($metadata['avatar']) && + isset($metadata['avatar']['path']) && + Storage::exists($metadata['avatar']['path']) + ) { + Storage::delete($metadata['avatar']['path']); + } + + $fileName = 'avatar_'.strtolower(str_random($len)).'.'.$avatar->extension(); + $path = $avatar->storePubliclyAs('public/g/'.$group->id.'/meta', $fileName); + $url = url(Storage::url($path)); + $metadata['avatar'] = [ + 'path' => $path, + 'url' => $url, + 'updated_at' => now(), + ]; + } + } + + if ($request->hasFile('header')) { + $header = $request->file('header'); + + if ($header) { + if (isset($metadata['header']) && + isset($metadata['header']['path']) && + Storage::exists($metadata['header']['path']) + ) { + Storage::delete($metadata['header']['path']); + } + + $fileName = 'header_'.strtolower(str_random($len)).'.'.$header->extension(); + $path = $header->storePubliclyAs('public/g/'.$group->id.'/meta', $fileName); + $url = url(Storage::url($path)); + $metadata['header'] = [ + 'path' => $path, + 'url' => $url, + 'updated_at' => now(), + ]; + } + } + + $cat = GroupService::categoryById($group->category_id); + if ($request->category !== $cat['name']) { + $group->category_id = GroupCategory::whereName($request->category)->first()->id; + } + + $changes = null; + $group->description = e($request->input('description', null)); + $group->is_private = $request->input('membership') == 'private'; + $group->local_only = $request->input('membership') == 'local'; + $group->activitypub = $request->input('activitypub') == 'true'; + $group->discoverable = $request->input('discoverable') == 'true'; + $group->is_nsfw = $request->input('is_nsfw') == 'true'; + $group->metadata = $metadata; + if ($group->isDirty()) { + $changes = $group->getDirty(); + } + $group->save(); + + GroupService::log( + $group->id, + $pid, + 'group:settings:updated', + $changes + ); + + GroupService::del($group->id); + + $res = $this->toJson($group, $pid); + + return $res; + } + + protected function toJson($group, $pid = false) + { + return GroupService::get($group->id, $pid); + } + + public function groupLeave(Request $request, $id) + { + abort_if(! $request->user(), 404); + + $pid = $request->user()->profile_id; + $group = Group::findOrFail($id); + + abort_if($pid == $group->profile_id, 422, 'Cannot leave a group you created'); + + abort_if(! $group->isMember($pid), 403, 'Not a member of group.'); + + GroupMember::whereGroupId($group->id)->whereProfileId($pid)->delete(); + GroupService::del($group->id); + GroupService::delSelf($group->id, $pid); + GroupService::setRejoinTimeout($group->id, $pid); + + return [200]; + } + + public function cancelJoinRequest(Request $request, $id) + { + abort_if(! $request->user(), 404); + + $pid = $request->user()->profile_id; + $group = Group::findOrFail($id); + + abort_if($pid == $group->profile_id, 422, 'Cannot leave a group you created'); + abort_if($group->isMember($pid), 422, 'Cannot cancel approved join request, please leave group instead.'); + + GroupMember::whereGroupId($group->id)->whereProfileId($pid)->delete(); + GroupService::del($group->id); + GroupService::delSelf($group->id, $pid); + GroupService::setRejoinTimeout($group->id, $pid); + + return [200]; + } + + public function metaBlockSearch(Request $request, $id) + { + abort_if(! $request->user(), 404); + $group = Group::findOrFail($id); + $pid = $request->user()->profile_id; + abort_if(! $group->isMember($pid), 404); + abort_if(! in_array($group->selfRole($pid), ['founder', 'admin']), 404); + + $type = $request->input('type'); + $item = $request->input('item'); + + switch ($type) { + case 'instance': + $res = Instance::whereDomain($item)->first(); + if ($res) { + abort_if(GroupBlock::whereGroupId($group->id)->whereInstanceId($res->id)->exists(), 400); + } + break; + + case 'user': + $res = Profile::whereUsername($item)->first(); + if ($res) { + abort_if(GroupBlock::whereGroupId($group->id)->whereProfileId($res->id)->exists(), 400); + } + if ($res->user_id != null) { + abort_if(User::whereIsAdmin(true)->whereId($res->user_id)->exists(), 400); + } + break; + } + + return response()->json((bool) $res, ($res ? 200 : 404)); + } + + public function reportCreate(Request $request, $id) + { + abort_if(! $request->user(), 404); + $group = Group::findOrFail($id); + $pid = $request->user()->profile_id; + abort_if(! $group->isMember($pid), 404); + + $id = $request->input('id'); + $type = $request->input('type'); + $types = [ + // original 3 + 'spam', + 'sensitive', + 'abusive', + + // new + 'underage', + 'violence', + 'copyright', + 'impersonation', + 'scam', + 'terrorism', + ]; + + $gp = GroupPost::whereGroupId($group->id)->find($id); + abort_if(! $gp, 422, 'Cannot report an invalid or deleted post'); + abort_if(! in_array($type, $types), 422, 'Invalid report type'); + abort_if($gp->profile_id === $pid, 422, 'Cannot report your own post'); + abort_if( + GroupReport::whereGroupId($group->id) + ->whereProfileId($pid) + ->whereItemType(GroupPost::class) + ->whereItemId($id) + ->exists(), + 422, + 'You already reported this' + ); + + $report = new GroupReport(); + $report->group_id = $group->id; + $report->profile_id = $pid; + $report->type = $type; + $report->item_type = GroupPost::class; + $report->item_id = $id; + $report->open = true; + $report->save(); + + GroupService::log( + $group->id, + $pid, + 'group:report:create', + [ + 'type' => $type, + 'report_id' => $report->id, + 'status_id' => $gp->status_id, + 'profile_id' => $gp->profile_id, + 'username' => optional(AccountService::get($gp->profile_id))['acct'], + 'gpid' => $gp->id, + 'url' => $gp->url(), + ], + GroupReport::class, + $report->id + ); + + return response([200]); + } + + public function reportAction(Request $request, $id) + { + abort_if(! $request->user(), 404); + $group = Group::findOrFail($id); + $pid = $request->user()->profile_id; + abort_if(! $group->isMember($pid), 404); + abort_if(! in_array($group->selfRole($pid), ['founder', 'admin']), 404); + + $this->validate($request, [ + 'action' => 'required|in:cw,delete,ignore', + 'id' => 'required|string', + ]); + + $action = $request->input('action'); + $id = $request->input('id'); + + $report = GroupReport::whereGroupId($group->id) + ->findOrFail($id); + $status = Status::findOrFail($report->item_id); + $gp = GroupPost::whereGroupId($group->id) + ->whereStatusId($status->id) + ->firstOrFail(); + + switch ($action) { + case 'cw': + $status->is_nsfw = true; + $status->save(); + StatusService::del($status->id); + + GroupReport::whereGroupId($group->id) + ->whereItemType($report->item_type) + ->whereItemId($report->item_id) + ->update(['open' => false]); + + GroupService::log( + $group->id, + $pid, + 'group:moderation:action', + [ + 'type' => 'cw', + 'report_id' => $report->id, + 'status_id' => $status->id, + 'profile_id' => $status->profile_id, + 'status_url' => $gp->url(), + ], + GroupReport::class, + $report->id + ); + + return response()->json([200]); + break; + + case 'ignore': + GroupReport::whereGroupId($group->id) + ->whereItemType($report->item_type) + ->whereItemId($report->item_id) + ->update(['open' => false]); + + GroupService::log( + $group->id, + $pid, + 'group:moderation:action', + [ + 'type' => 'ignore', + 'report_id' => $report->id, + 'status_id' => $status->id, + 'profile_id' => $status->profile_id, + 'status_url' => $gp->url(), + ], + GroupReport::class, + $report->id + ); + + return response()->json([200]); + break; + } + } + + public function getMemberInteractionLimits(Request $request, $id) + { + abort_if(! $request->user(), 404); + $group = Group::findOrFail($id); + $pid = $request->user()->profile_id; + abort_if(! $group->isMember($pid), 404); + abort_if(! in_array($group->selfRole($pid), ['founder', 'admin']), 404); + + $profile_id = $request->input('profile_id'); + abort_if(! $group->isMember($profile_id), 404); + $limits = GroupService::getInteractionLimits($group->id, $profile_id); + + return response()->json($limits); + } + + public function updateMemberInteractionLimits(Request $request, $id) + { + abort_if(! $request->user(), 404); + $group = Group::findOrFail($id); + $pid = $request->user()->profile_id; + abort_if(! $group->isMember($pid), 404); + abort_if(! in_array($group->selfRole($pid), ['founder', 'admin']), 404); + + $this->validate($request, [ + 'profile_id' => 'required|exists:profiles,id', + 'can_post' => 'required', + 'can_comment' => 'required', + 'can_like' => 'required', + ]); + + $member = $request->input('profile_id'); + $can_post = $request->input('can_post'); + $can_comment = $request->input('can_comment'); + $can_like = $request->input('can_like'); + $account = AccountService::get($member); + + abort_if(! $account, 422, 'Invalid profile'); + abort_if(! $group->isMember($member), 422, 'Invalid profile'); + + $limit = GroupLimit::firstOrCreate([ + 'profile_id' => $member, + 'group_id' => $group->id, + ]); + + if ($limit->wasRecentlyCreated) { + abort_if(GroupLimit::whereGroupId($group->id)->count() >= 25, 422, 'limit_reached'); + } + + $previousLimits = $limit->limits; + + $limit->limits = [ + 'can_post' => $can_post, + 'can_comment' => $can_comment, + 'can_like' => $can_like, + ]; + $limit->save(); + + GroupService::clearInteractionLimits($group->id, $member); + + GroupService::log( + $group->id, + $pid, + 'group:member-limits:updated', + [ + 'profile_id' => $account['id'], + 'username' => $account['username'], + 'previousLimits' => $previousLimits, + 'newLimits' => $limit->limits, + ], + GroupLimit::class, + $limit->id + ); + + return $request->all(); + } + + public function showProfile(Request $request, $id, $pid) + { + $group = Group::find($id); + + if (! $group || $group->status) { + return response()->view('groups.unavailable')->setStatusCode(404); + } + + return view('layouts.spa'); + } + + public function showProfileByUsername(Request $request, $id, $pid) + { + abort_if(! $request->user(), 404); + if (! $request->user()) { + return redirect("/{$pid}"); + } + + $group = Group::find($id); + $cid = $request->user()->profile_id; + + if (! $group || $group->status) { + return response()->view('groups.unavailable')->setStatusCode(404); + } + + if (! $group->isMember($cid)) { + return redirect("/{$pid}"); + } + + $profile = Profile::whereUsername($pid)->first(); + + if (! $group->isMember($profile->id)) { + return redirect("/{$pid}"); + } + + if ($profile) { + $url = url("/groups/{$id}/user/{$profile->id}"); + + return redirect($url); + } + + abort(404, 'Invalid username'); + } + + public function groupInviteLanding(Request $request, $id) + { + abort(404, 'Not yet implemented'); + $group = Group::findOrFail($id); + + return view('groups.invite', compact('group')); + } + + public function groupShortLinkRedirect(Request $request, $hid) + { + $gid = HashidService::decode($hid); + $group = Group::findOrFail($gid); + + return redirect($group->url()); + } + + public function groupInviteClaim(Request $request, $id) + { + $group = GroupService::get($id); + abort_if(! $group || empty($group), 404); + + return view('groups.invite-claim', compact('group')); + } + + public function groupMemberInviteCheck(Request $request, $id) + { + abort_if(! $request->user(), 404); + $pid = $request->user()->profile_id; + $group = Group::findOrFail($id); + abort_if($group->isMember($pid), 422, 'Already a member'); + + $exists = GroupInvitation::whereGroupId($id)->whereToProfileId($pid)->exists(); + + return response()->json([ + 'gid' => $id, + 'can_join' => (bool) $exists, + ]); + } + + public function groupMemberInviteAccept(Request $request, $id) + { + abort_if(! $request->user(), 404); + $pid = $request->user()->profile_id; + $group = Group::findOrFail($id); + abort_if($group->isMember($pid), 422, 'Already a member'); + + abort_if(! GroupInvitation::whereGroupId($id)->whereToProfileId($pid)->exists(), 422); + + $gm = new GroupMember; + $gm->group_id = $id; + $gm->profile_id = $pid; + $gm->role = 'member'; + $gm->local_group = $group->local; + $gm->local_profile = true; + $gm->join_request = false; + $gm->save(); + + GroupInvitation::whereGroupId($id)->whereToProfileId($pid)->delete(); + GroupService::del($id); + GroupService::delSelf($id, $pid); + + return ['next_url' => $group->url()]; + } + + public function groupMemberInviteDecline(Request $request, $id) + { + abort_if(! $request->user(), 404); + $pid = $request->user()->profile_id; + $group = Group::findOrFail($id); + abort_if($group->isMember($pid), 422, 'Already a member'); + + return ['next_url' => '/']; + } +} diff --git a/app/Http/Controllers/GroupFederationController.php b/app/Http/Controllers/GroupFederationController.php new file mode 100644 index 000000000..7f45f74a4 --- /dev/null +++ b/app/Http/Controllers/GroupFederationController.php @@ -0,0 +1,103 @@ +whereActivitypub(true)->findOrFail($id); + $res = $this->showGroupObject($group); + return response()->json($res, 200, [], JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES); + } + + public function showGroupObject($group) + { + return Cache::remember('ap:groups:object:' . $group->id, 3600, function() use($group) { + return [ + '@context' => 'https://www.w3.org/ns/activitystreams', + 'id' => $group->url(), + 'inbox' => $group->permalink('/inbox'), + 'name' => $group->name, + 'outbox' => $group->permalink('/outbox'), + 'summary' => $group->description, + 'type' => 'Group', + 'attributedTo' => [ + 'type' => 'Person', + 'id' => $group->admin->permalink() + ], + // 'endpoints' => [ + // 'sharedInbox' => config('app.url') . '/f/inbox' + // ], + 'preferredUsername' => 'gid_' . $group->id, + 'publicKey' => [ + 'id' => $group->permalink('#main-key'), + 'owner' => $group->permalink(), + 'publicKeyPem' => InstanceActor::first()->public_key, + ], + 'url' => $group->permalink() + ]; + + if($group->metadata && isset($group->metadata['avatar'])) { + $res['icon'] = [ + 'type' => 'Image', + 'url' => $group->metadata['avatar']['url'] + ]; + } + + if($group->metadata && isset($group->metadata['header'])) { + $res['image'] = [ + 'type' => 'Image', + 'url' => $group->metadata['header']['url'] + ]; + } + ksort($res); + return $res; + }); + } + + public function getStatusObject(Request $request, $gid, $sid) + { + $group = Group::whereLocal(true)->whereActivitypub(true)->findOrFail($gid); + $gp = GroupPost::whereGroupId($gid)->findOrFail($sid); + $status = Status::findOrFail($gp->status_id); + // permission check + + $res = [ + '@context' => 'https://www.w3.org/ns/activitystreams', + 'id' => $gp->url(), + + 'type' => 'Note', + + 'summary' => null, + 'content' => $status->rendered ?? $status->caption, + 'inReplyTo' => null, + + 'published' => $status->created_at->toAtomString(), + 'url' => $gp->url(), + 'attributedTo' => $status->profile->permalink(), + 'to' => [ + 'https://www.w3.org/ns/activitystreams#Public', + $group->permalink('/followers'), + ], + 'cc' => [], + 'sensitive' => (bool) $status->is_nsfw, + 'attachment' => MediaService::activitypub($status->id), + 'target' => [ + 'type' => 'Collection', + 'id' => $group->permalink('/wall'), + 'attributedTo' => $group->permalink() + ] + ]; + // ksort($res); + return response()->json($res, 200, [], JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES); + } +} diff --git a/app/Http/Controllers/GroupPostController.php b/app/Http/Controllers/GroupPostController.php new file mode 100644 index 000000000..909037a00 --- /dev/null +++ b/app/Http/Controllers/GroupPostController.php @@ -0,0 +1,10 @@ +middleware('auth'); + } + + public function checkCreatePermission(Request $request) + { + abort_if(!$request->user(), 404); + $pid = $request->user()->profile_id; + $config = GroupService::config(); + if($request->user()->is_admin) { + $allowed = true; + } else { + $max = $config['limits']['user']['create']['max']; + $allowed = Group::whereProfileId($pid)->count() <= $max; + } + + return ['permission' => (bool) $allowed]; + } + + public function storeGroup(Request $request) + { + abort_if(!$request->user(), 404); + + $this->validate($request, [ + 'name' => 'required', + 'description' => 'nullable|max:500', + 'membership' => 'required|in:public,private,local' + ]); + + $pid = $request->user()->profile_id; + + $config = GroupService::config(); + abort_if($config['limits']['user']['create']['new'] == false && $request->user()->is_admin == false, 422, 'Invalid operation'); + $max = $config['limits']['user']['create']['max']; + // abort_if(Group::whereProfileId($pid)->count() <= $max, 422, 'Group limit reached'); + + $group = new Group; + $group->profile_id = $pid; + $group->name = $request->input('name'); + $group->description = $request->input('description', null); + $group->is_private = $request->input('membership') == 'private'; + $group->local_only = $request->input('membership') == 'local'; + $group->metadata = $request->input('configuration'); + $group->save(); + + GroupService::log($group->id, $pid, 'group:created'); + + $member = new GroupMember; + $member->group_id = $group->id; + $member->profile_id = $pid; + $member->role = 'founder'; + $member->local_group = true; + $member->local_profile = true; + $member->save(); + + GroupService::log( + $group->id, + $pid, + 'group:joined', + null, + GroupMember::class, + $member->id + ); + + return [ + 'id' => $group->id, + 'url' => $group->url() + ]; + } +} diff --git a/app/Http/Controllers/Groups/GroupsAdminController.php b/app/Http/Controllers/Groups/GroupsAdminController.php new file mode 100644 index 000000000..4bdf0f504 --- /dev/null +++ b/app/Http/Controllers/Groups/GroupsAdminController.php @@ -0,0 +1,353 @@ +middleware('auth'); + } + + public function getAdminTabs(Request $request, $id) + { + abort_if(!$request->user(), 404); + $group = Group::findOrFail($id); + $pid = $request->user()->profile_id; + abort_if(!$group->isMember($pid), 404); + abort_if(!in_array($group->selfRole($pid), ['founder', 'admin']), 404); + abort_if($pid !== $group->profile_id, 404); + + $reqs = GroupMember::whereGroupId($group->id)->whereJoinRequest(true)->count(); + $mods = GroupReport::whereGroupId($group->id)->whereOpen(true)->count(); + $tabs = [ + 'moderation_count' => $mods > 99 ? '99+' : $mods, + 'request_count' => $reqs > 99 ? '99+' : $reqs + ]; + + return response()->json($tabs); + } + + public function getInteractionLogs(Request $request, $id) + { + abort_if(!$request->user(), 404); + $group = Group::findOrFail($id); + $pid = $request->user()->profile_id; + abort_if(!$group->isMember($pid), 404); + abort_if(!in_array($group->selfRole($pid), ['founder', 'admin']), 404); + + $logs = GroupInteraction::whereGroupId($id) + ->latest() + ->paginate(10) + ->map(function($log) use($group) { + return [ + 'id' => $log->id, + 'profile' => GroupAccountService::get($group->id, $log->profile_id), + 'type' => $log->type, + 'metadata' => $log->metadata, + 'created_at' => $log->created_at->format('c') + ]; + }); + + return response()->json($logs, 200, [], JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES); + } + + public function getBlocks(Request $request, $id) + { + abort_if(!$request->user(), 404); + $group = Group::findOrFail($id); + $pid = $request->user()->profile_id; + abort_if(!$group->isMember($pid), 404); + abort_if(!in_array($group->selfRole($pid), ['founder', 'admin']), 404); + + $blocks = [ + 'instances' => GroupBlock::whereGroupId($group->id)->whereNotNull('instance_id')->whereModerated(false)->latest()->take(3)->pluck('name'), + 'users' => GroupBlock::whereGroupId($group->id)->whereNotNull('profile_id')->whereIsUser(true)->latest()->take(3)->pluck('name'), + 'moderated' => GroupBlock::whereGroupId($group->id)->whereNotNull('instance_id')->whereModerated(true)->latest()->take(3)->pluck('name') + ]; + + return response()->json($blocks, 200, [], JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES); + } + + public function exportBlocks(Request $request, $id) + { + abort_if(!$request->user(), 404); + $group = Group::findOrFail($id); + $pid = $request->user()->profile_id; + abort_if(!$group->isMember($pid), 404); + abort_if(!in_array($group->selfRole($pid), ['founder', 'admin']), 404); + + $blocks = [ + 'instances' => GroupBlock::whereGroupId($group->id)->whereNotNull('instance_id')->whereModerated(false)->latest()->pluck('name'), + 'users' => GroupBlock::whereGroupId($group->id)->whereNotNull('profile_id')->whereIsUser(true)->latest()->pluck('name'), + 'moderated' => GroupBlock::whereGroupId($group->id)->whereNotNull('instance_id')->whereModerated(true)->latest()->pluck('name') + ]; + + $blocks['_created_at'] = now()->format('c'); + $blocks['_version'] = '1.0.0'; + ksort($blocks); + + return response()->streamDownload(function() use($blocks) { + echo json_encode($blocks, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES); + }); + } + + public function addBlock(Request $request, $id) + { + abort_if(!$request->user(), 404); + $group = Group::findOrFail($id); + $pid = $request->user()->profile_id; + abort_if(!$group->isMember($pid), 404); + abort_if(!in_array($group->selfRole($pid), ['founder', 'admin']), 404); + + $this->validate($request, [ + 'item' => 'required', + 'type' => 'required|in:instance,user,moderate' + ]); + + $item = $request->input('item'); + $type = $request->input('type'); + + switch($type) { + case 'instance': + $instance = Instance::whereDomain($item)->first(); + abort_if(!$instance, 422, 'This domain either isn\'nt known or is invalid'); + $gb = new GroupBlock; + $gb->group_id = $group->id; + $gb->admin_id = $pid; + $gb->instance_id = $instance->id; + $gb->name = $instance->domain; + $gb->is_user = false; + $gb->moderated = false; + $gb->save(); + + GroupService::log( + $group->id, + $pid, + 'group:admin:block:instance', + [ + 'domain' => $instance->domain + ], + GroupBlock::class, + $gb->id + ); + + return [200]; + break; + + case 'user': + $profile = Profile::whereUsername($item)->first(); + abort_if(!$profile, 422, 'This user either isn\'nt known or is invalid'); + $gb = new GroupBlock; + $gb->group_id = $group->id; + $gb->admin_id = $pid; + $gb->profile_id = $profile->id; + $gb->name = $profile->username; + $gb->is_user = true; + $gb->moderated = false; + $gb->save(); + + GroupService::log( + $group->id, + $pid, + 'group:admin:block:user', + [ + 'username' => $profile->username, + 'domain' => $profile->domain + ], + GroupBlock::class, + $gb->id + ); + + return [200]; + break; + + case 'moderate': + $instance = Instance::whereDomain($item)->first(); + abort_if(!$instance, 422, 'This domain either isn\'nt known or is invalid'); + $gb = new GroupBlock; + $gb->group_id = $group->id; + $gb->admin_id = $pid; + $gb->instance_id = $instance->id; + $gb->name = $instance->domain; + $gb->is_user = false; + $gb->moderated = true; + $gb->save(); + + GroupService::log( + $group->id, + $pid, + 'group:admin:moderate:instance', + [ + 'domain' => $instance->domain + ], + GroupBlock::class, + $gb->id + ); + + return [200]; + break; + + default: + return response()->json([], 422, []); + break; + } + } + + public function undoBlock(Request $request, $id) + { + abort_if(!$request->user(), 404); + $group = Group::findOrFail($id); + $pid = $request->user()->profile_id; + abort_if(!$group->isMember($pid), 404); + abort_if(!in_array($group->selfRole($pid), ['founder', 'admin']), 404); + + $this->validate($request, [ + 'item' => 'required', + 'type' => 'required|in:instance,user,moderate' + ]); + + $item = $request->input('item'); + $type = $request->input('type'); + + switch($type) { + case 'instance': + $instance = Instance::whereDomain($item)->first(); + abort_if(!$instance, 422, 'This domain either isn\'nt known or is invalid'); + + $gb = GroupBlock::whereGroupId($group->id) + ->whereInstanceId($instance->id) + ->whereModerated(false) + ->first(); + + abort_if(!$gb, 422, 'Invalid group block'); + + GroupService::log( + $group->id, + $pid, + 'group:admin:unblock:instance', + [ + 'domain' => $instance->domain + ], + GroupBlock::class, + $gb->id + ); + + $gb->delete(); + + return [200]; + break; + + case 'user': + $profile = Profile::whereUsername($item)->first(); + abort_if(!$profile, 422, 'This user either isn\'nt known or is invalid'); + + $gb = GroupBlock::whereGroupId($group->id) + ->whereProfileId($profile->id) + ->whereIsUser(true) + ->first(); + + abort_if(!$gb, 422, 'Invalid group block'); + + GroupService::log( + $group->id, + $pid, + 'group:admin:unblock:user', + [ + 'username' => $profile->username, + 'domain' => $profile->domain + ], + GroupBlock::class, + $gb->id + ); + + $gb->delete(); + + return [200]; + break; + + case 'moderate': + $instance = Instance::whereDomain($item)->first(); + abort_if(!$instance, 422, 'This domain either isn\'nt known or is invalid'); + + $gb = GroupBlock::whereGroupId($group->id) + ->whereInstanceId($instance->id) + ->whereModerated(true) + ->first(); + + abort_if(!$gb, 422, 'Invalid group block'); + + GroupService::log( + $group->id, + $pid, + 'group:admin:moderate:instance', + [ + 'domain' => $instance->domain + ], + GroupBlock::class, + $gb->id + ); + + $gb->delete(); + + return [200]; + break; + + default: + return response()->json([], 422, []); + break; + } + } + + public function getReportList(Request $request, $id) + { + abort_if(!$request->user(), 404); + $group = Group::findOrFail($id); + $pid = $request->user()->profile_id; + abort_if(!$group->isMember($pid), 404); + abort_if(!in_array($group->selfRole($pid), ['founder', 'admin']), 404); + + $scope = $request->input('scope', 'open'); + + $list = GroupReport::selectRaw('id, profile_id, item_type, item_id, type, created_at, count(*) as total') + ->whereGroupId($group->id) + ->groupBy('item_id') + ->when($scope == 'open', function($query, $scope) { + return $query->whereOpen(true); + }) + ->latest() + ->simplePaginate(10) + ->map(function($report) use($group) { + $res = [ + 'id' => (string) $report->id, + 'profile' => GroupAccountService::get($group->id, $report->profile_id), + 'type' => $report->type, + 'created_at' => $report->created_at->format('c'), + 'total_count' => $report->total + ]; + + if($report->item_type === GroupPost::class) { + $res['status'] = GroupPostService::get($group->id, $report->item_id); + } + + return $res; + }); + return response()->json($list, 200, [], JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES); + } + +} diff --git a/app/Http/Controllers/Groups/GroupsApiController.php b/app/Http/Controllers/Groups/GroupsApiController.php new file mode 100644 index 000000000..13bbca640 --- /dev/null +++ b/app/Http/Controllers/Groups/GroupsApiController.php @@ -0,0 +1,84 @@ +middleware('auth'); + } + + protected function toJson($group, $pid = false) + { + return GroupService::get($group->id, $pid); + } + + public function getConfig(Request $request) + { + return GroupService::config(); + } + + public function getGroupAccount(Request $request, $gid, $pid) + { + $res = GroupAccountService::get($gid, $pid); + + return response()->json($res); + } + + public function getGroupCategories(Request $request) + { + $res = GroupService::categories(); + return response()->json($res, 200, [], JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES); + } + + public function getGroupsByCategory(Request $request) + { + $name = $request->input('name'); + $category = GroupCategory::whereName($name)->firstOrFail(); + $groups = Group::whereCategoryId($category->id) + ->simplePaginate(6) + ->map(function($group) { + return GroupService::get($group->id); + }) + ->filter(function($group) { + return $group; + }) + ->values(); + return $groups; + } + + public function getRecommendedGroups(Request $request) + { + return []; + } + + public function getSelfGroups(Request $request) + { + $selfOnly = $request->input('self') == true; + $memberOnly = $request->input('member') == true; + $pid = $request->user()->profile_id; + $res = GroupMember::whereProfileId($request->user()->profile_id) + ->when($selfOnly, function($q, $selfOnly) { + return $q->whereRole('founder'); + }) + ->when($memberOnly, function($q, $memberOnly) { + return $q->whereRole('member'); + }) + ->simplePaginate(4) + ->map(function($member) use($pid) { + $group = $member->group; + return $this->toJson($group, $pid); + }); + + return response()->json($res); + } +} diff --git a/app/Http/Controllers/Groups/GroupsCommentController.php b/app/Http/Controllers/Groups/GroupsCommentController.php new file mode 100644 index 000000000..435ed0d78 --- /dev/null +++ b/app/Http/Controllers/Groups/GroupsCommentController.php @@ -0,0 +1,361 @@ +validate($request, [ + 'gid' => 'required', + 'sid' => 'required', + 'cid' => 'sometimes', + 'limit' => 'nullable|integer|min:3|max:10' + ]); + + $pid = optional($request->user())->profile_id; + $gid = $request->input('gid'); + $sid = $request->input('sid'); + $cid = $request->has('cid') && $request->input('cid') == 1; + $limit = $request->input('limit', 3); + $maxId = $request->input('max_id', 0); + + $group = Group::findOrFail($gid); + + abort_if($group->is_private && !$group->isMember($pid), 403, 'Not a member of group.'); + + $status = $cid ? GroupComment::findOrFail($sid) : GroupPost::findOrFail($sid); + + abort_if($status->group_id != $group->id, 400, 'Invalid group'); + + $replies = GroupComment::whereGroupId($group->id) + ->whereStatusId($status->id) + ->orderByDesc('id') + ->when($maxId, function($query, $maxId) { + return $query->where('id', '<', $maxId); + }) + ->take($limit) + ->get() + ->map(function($gp) use($pid) { + $status = GroupCommentService::get($gp['group_id'], $gp['id']); + $status['reply_count'] = $gp['reply_count']; + $status['url'] = $gp->url(); + $status['favourited'] = (bool) GroupsLikeService::liked($pid, $gp['id']); + $status['account']['url'] = url("/groups/{$gp['group_id']}/user/{$gp['profile_id']}"); + return $status; + }); + + return $replies->toArray(); + } + + public function storeComment(Request $request) + { + $this->validate($request, [ + 'gid' => 'required|exists:groups,id', + 'sid' => 'required|exists:group_posts,id', + 'cid' => 'sometimes', + 'content' => 'required|string|min:1|max:1500' + ]); + + $pid = $request->user()->profile_id; + $gid = $request->input('gid'); + $sid = $request->input('sid'); + $cid = $request->input('cid'); + $limit = $request->input('limit', 3); + $caption = e($request->input('content')); + + $group = Group::findOrFail($gid); + + abort_if(!$group->isMember($pid), 403, 'Not a member of group.'); + abort_if(!GroupService::canComment($gid, $pid), 422, 'You cannot interact with this content at this time'); + + + $parent = $cid == 1 ? + GroupComment::findOrFail($sid) : + GroupPost::whereGroupId($gid)->findOrFail($sid); + // $autolink = Purify::clean(Autolink::create()->autolink($caption)); + // $autolink = str_replace('/discover/tags/', '/groups/' . $gid . '/topics/', $autolink); + + $status = new GroupComment; + $status->group_id = $group->id; + $status->profile_id = $pid; + $status->status_id = $parent->id; + $status->caption = Purify::clean($caption); + $status->visibility = 'public'; + $status->is_nsfw = false; + $status->local = true; + $status->save(); + + NewCommentPipeline::dispatch($parent, $status)->onQueue('groups'); + // todo: perform in job + $parent->reply_count = $parent->reply_count ? $parent->reply_count + $parent->reply_count : 1; + $parent->save(); + GroupPostService::del($parent->group_id, $parent->id); + + GroupService::log( + $group->id, + $pid, + 'group:comment:created', + [ + 'type' => 'group:post:comment', + 'status_id' => $status->id + ], + GroupPost::class, + $status->id + ); + + //GroupCommentPipeline::dispatch($parent, $status, $gp); + //NewStatusPipeline::dispatch($status, $gp); + //GroupPostService::del($group->id, GroupService::sidToGid($group->id, $parent->id)); + + // todo: perform in job + $s = GroupCommentService::get($status->group_id, $status->id); + + $s['pf_type'] = 'text'; + $s['visibility'] = 'public'; + $s['url'] = $status->url(); + + return $s; + } + + public function storeCommentPhoto(Request $request) + { + $this->validate($request, [ + 'gid' => 'required|exists:groups,id', + 'sid' => 'required|exists:group_posts,id', + 'photo' => 'required|image' + ]); + + $pid = $request->user()->profile_id; + $gid = $request->input('gid'); + $sid = $request->input('sid'); + $limit = $request->input('limit', 3); + $caption = $request->input('content'); + + $group = Group::findOrFail($gid); + + abort_if(!$group->isMember($pid), 403, 'Not a member of group.'); + abort_if(!GroupService::canComment($gid, $pid), 422, 'You cannot interact with this content at this time'); + $parent = GroupPost::whereGroupId($gid)->findOrFail($sid); + + $status = new GroupComment; + $status->status_id = $parent->id; + $status->group_id = $group->id; + $status->profile_id = $pid; + $status->caption = Purify::clean($caption); + $status->visibility = 'draft'; + $status->is_nsfw = false; + $status->save(); + + $photo = $request->file('photo'); + $storagePath = GroupMediaService::path($group->id, $pid, $status->id); + $storagePath = 'public/g/' . $group->id . '/p/' . $parent->id; + $path = $photo->storePublicly($storagePath); + + $media = new GroupMedia(); + $media->group_id = $group->id; + $media->status_id = $status->id; + $media->profile_id = $request->user()->profile_id; + $media->media_path = $path; + $media->size = $photo->getSize(); + $media->mime = $photo->getMimeType(); + $media->save(); + + ImageResizePipeline::dispatchSync($media); + ImageS3UploadPipeline::dispatchSync($media); + + // $gp = new GroupPost; + // $gp->group_id = $group->id; + // $gp->profile_id = $pid; + // $gp->type = 'reply:photo'; + // $gp->status_id = $status->id; + // $gp->in_reply_to_id = $parent->id; + // $gp->save(); + + // GroupService::log( + // $group->id, + // $pid, + // 'group:comment:created', + // [ + // 'type' => $gp->type, + // 'status_id' => $status->id + // ], + // GroupPost::class, + // $gp->id + // ); + + // todo: perform in job + // $parent->reply_count = Status::whereInReplyToId($parent->id)->count(); + // $parent->save(); + // StatusService::del($parent->id); + // GroupPostService::del($group->id, GroupService::sidToGid($group->id, $parent->id)); + + // delay response while background job optimizes media + // sleep(5); + + // todo: perform in job + $s = GroupCommentService::get($status->group_id, $status->id); + + // $s['pf_type'] = 'text'; + // $s['visibility'] = 'public'; + // $s['url'] = $gp->url(); + + return $s; + } + + public function deleteComment(Request $request) + { + abort_if(!$request->user(), 403); + + $this->validate($request, [ + 'id' => 'required|integer|min:1', + 'gid' => 'required|integer|min:1' + ]); + + $pid = $request->user()->profile_id; + $gid = $request->input('gid'); + $group = Group::findOrFail($gid); + abort_if(!$group->isMember($pid), 403, 'Not a member of group.'); + + $gp = GroupComment::whereGroupId($group->id)->findOrFail($request->input('id')); + abort_if($gp->profile_id != $pid && $group->profile_id != $pid, 403); + + $parent = GroupPost::find($gp->status_id); + abort_if(!$parent, 422, 'Invalid parent'); + + DeleteCommentPipeline::dispatch($parent, $gp)->onQueue('groups'); + GroupService::log( + $group->id, + $pid, + 'group:status:deleted', + [ + 'type' => $gp->type, + 'status_id' => $gp->id, + ], + GroupComment::class, + $gp->id + ); + $gp->delete(); + + if($request->wantsJson()) { + return response()->json(['Status successfully deleted.']); + } else { + return redirect('/groups/feed'); + } + } + + public function likePost(Request $request) + { + $this->validate($request, [ + 'gid' => 'required', + 'sid' => 'required' + ]); + + $pid = $request->user()->profile_id; + $gid = $request->input('gid'); + $sid = $request->input('sid'); + + $group = GroupService::get($gid); + abort_if(!$group || $gid != $group['id'], 422, 'Invalid group'); + abort_if(!GroupService::canLike($gid, $pid), 422, 'You cannot interact with this content at this time'); + abort_if(!GroupService::isMember($gid, $pid), 403, 'Not a member of group'); + $gp = GroupCommentService::get($gid, $sid); + abort_if(!$gp, 422, 'Invalid status'); + $count = $gp['favourites_count'] ?? 0; + + $like = GroupLike::firstOrCreate([ + 'group_id' => $gid, + 'profile_id' => $pid, + 'comment_id' => $sid, + ]); + + if($like->wasRecentlyCreated) { + // update parent post like count + $parent = GroupComment::find($sid); + abort_if(!$parent || $parent->group_id != $gid, 422, 'Invalid status'); + $parent->likes_count = $parent->likes_count + 1; + $parent->save(); + GroupsLikeService::add($pid, $sid); + // invalidate cache + GroupCommentService::del($gid, $sid); + $count++; + GroupService::log( + $gid, + $pid, + 'group:like', + null, + GroupLike::class, + $like->id + ); + } + + $response = ['code' => 200, 'msg' => 'Like saved', 'count' => $count]; + + return $response; + } + + public function unlikePost(Request $request) + { + $this->validate($request, [ + 'gid' => 'required', + 'sid' => 'required' + ]); + + $pid = $request->user()->profile_id; + $gid = $request->input('gid'); + $sid = $request->input('sid'); + + $group = GroupService::get($gid); + abort_if(!$group || $gid != $group['id'], 422, 'Invalid group'); + abort_if(!GroupService::canLike($gid, $pid), 422, 'You cannot interact with this content at this time'); + abort_if(!GroupService::isMember($gid, $pid), 403, 'Not a member of group'); + $gp = GroupCommentService::get($gid, $sid); + abort_if(!$gp, 422, 'Invalid status'); + $count = $gp['favourites_count'] ?? 0; + + $like = GroupLike::where([ + 'group_id' => $gid, + 'profile_id' => $pid, + 'comment_id' => $sid, + ])->first(); + + if($like) { + $like->delete(); + $parent = GroupComment::find($sid); + abort_if(!$parent || $parent->group_id != $gid, 422, 'Invalid status'); + $parent->likes_count = $parent->likes_count - 1; + $parent->save(); + GroupsLikeService::remove($pid, $sid); + // invalidate cache + GroupCommentService::del($gid, $sid); + $count--; + } + + $response = ['code' => 200, 'msg' => 'Unliked post', 'count' => $count]; + + return $response; + } +} diff --git a/app/Http/Controllers/Groups/GroupsDiscoverController.php b/app/Http/Controllers/Groups/GroupsDiscoverController.php new file mode 100644 index 000000000..2194807de --- /dev/null +++ b/app/Http/Controllers/Groups/GroupsDiscoverController.php @@ -0,0 +1,57 @@ +middleware('auth'); + } + + public function getDiscoverPopular(Request $request) + { + abort_if(!$request->user(), 404); + $groups = Group::orderByDesc('member_count') + ->take(12) + ->pluck('id') + ->map(function($id) { + return GroupService::get($id); + }) + ->filter(function($id) { + return $id; + }) + ->take(6) + ->values(); + return $groups; + } + + public function getDiscoverNew(Request $request) + { + abort_if(!$request->user(), 404); + $groups = Group::latest() + ->take(12) + ->pluck('id') + ->map(function($id) { + return GroupService::get($id); + }) + ->filter(function($id) { + return $id; + }) + ->take(6) + ->values(); + return $groups; + } +} diff --git a/app/Http/Controllers/Groups/GroupsFeedController.php b/app/Http/Controllers/Groups/GroupsFeedController.php new file mode 100644 index 000000000..bb04e2487 --- /dev/null +++ b/app/Http/Controllers/Groups/GroupsFeedController.php @@ -0,0 +1,188 @@ +middleware('auth'); + } + + public function getSelfFeed(Request $request) + { + abort_if(!$request->user(), 404); + $pid = $request->user()->profile_id; + $limit = $request->input('limit', 5); + $page = $request->input('page'); + $initial = $request->has('initial'); + + if($initial) { + $res = Cache::remember('groups:self:feed:' . $pid, 900, function() use($pid) { + return $this->getSelfFeedV0($pid, 5, null); + }); + } else { + abort_if($page && $page > 5, 422); + $res = $this->getSelfFeedV0($pid, $limit, $page); + } + + return response()->json($res, 200, [], JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES); + } + + protected function getSelfFeedV0($pid, $limit, $page) + { + return GroupPost::join('group_members', 'group_posts.group_id', 'group_members.group_id') + ->select('group_posts.*', 'group_members.group_id', 'group_members.profile_id') + ->where('group_members.profile_id', $pid) + ->whereIn('group_posts.type', ['text', 'photo', 'video']) + ->orderByDesc('group_posts.id') + ->limit($limit) + // ->pluck('group_posts.status_id') + ->simplePaginate($limit) + ->map(function($gp) use($pid) { + $status = GroupPostService::get($gp['group_id'], $gp['id']); + + if(!$status) { + return false; + } + + $status['favourited'] = (bool) GroupsLikeService::liked($pid, $gp['id']); + $status['favourites_count'] = GroupsLikeService::count($gp['id']); + $status['pf_type'] = $gp['type']; + $status['visibility'] = 'public'; + $status['url'] = url("/groups/{$gp['group_id']}/p/{$gp['id']}"); + $status['group'] = GroupService::get($gp['group_id']); + $status['account']['url'] = url("/groups/{$gp['group_id']}/user/{$status['account']['id']}"); + + return $status; + }); + } + + public function getGroupProfileFeed(Request $request, $id, $pid) + { + abort_if(!$request->user(), 404); + $cid = $request->user()->profile_id; + + $group = Group::findOrFail($id); + abort_if(!$group->isMember($pid), 404); + + $feed = GroupPost::whereGroupId($id) + ->whereProfileId($pid) + ->latest() + ->paginate(3) + ->map(function($gp) use($pid) { + $status = GroupPostService::get($gp['group_id'], $gp['id']); + if(!$status) { + return false; + } + $status['favourited'] = (bool) GroupsLikeService::liked($pid, $gp['id']); + $status['favourites_count'] = GroupsLikeService::count($gp['id']); + $status['pf_type'] = $gp['type']; + $status['visibility'] = 'public'; + $status['url'] = $gp->url(); + + // if($gp['type'] == 'poll') { + // $status['poll'] = PollService::get($status['id']); + // } + + $status['account']['url'] = "/groups/{$gp['group_id']}/user/{$status['account']['id']}"; + + return $status; + }) + ->filter(function($status) { + return $status; + }); + + return $feed; + } + + public function getGroupFeed(Request $request, $id) + { + $group = Group::findOrFail($id); + $user = $request->user(); + $pid = optional($user)->profile_id ?? false; + abort_if(!$group->isMember($pid), 404); + $max = $request->input('max_id'); + $limit = $request->limit ?? 3; + $filtered = $user ? UserFilterService::filters($user->profile_id) : []; + + // $posts = GroupPost::whereGroupId($group->id) + // ->when($maxId, function($q, $maxId) { + // return $q->where('status_id', '<', $maxId); + // }) + // ->whereNull('in_reply_to_id') + // ->orderByDesc('status_id') + // ->simplePaginate($limit) + // ->map(function($gp) use($pid) { + // $status = StatusService::get($gp['status_id'], false); + // if(!$status) { + // return false; + // } + // $status['favourited'] = (bool) LikeService::liked($pid, $gp['status_id']); + // $status['favourites_count'] = LikeService::count($gp['status_id']); + // $status['pf_type'] = $gp['type']; + // $status['visibility'] = 'public'; + // $status['url'] = $gp->url(); + + // if($gp['type'] == 'poll') { + // $status['poll'] = PollService::get($status['id']); + // } + + // $status['account']['url'] = url("/groups/{$gp['group_id']}/user/{$status['account']['id']}"); + + // return $status; + // })->filter(function($status) { + // return $status; + // }); + // return $posts; + + Cache::remember('api:v1:timelines:public:cache_check', 10368000, function() use($id) { + if(GroupFeedService::count($id) == 0) { + GroupFeedService::warmCache($id, true, 400); + } + }); + + if ($max) { + $feed = GroupFeedService::getRankedMaxId($id, $max, $limit); + } else { + $feed = GroupFeedService::get($id, 0, $limit); + } + + $res = collect($feed) + ->map(function($k) use($user, $id) { + $status = GroupPostService::get($id, $k); + if($status && $user) { + $pid = $user->profile_id; + $sid = $status['account']['id']; + $status['favourited'] = (bool) GroupsLikeService::liked($pid, $status['id']); + $status['favourites_count'] = GroupsLikeService::count($status['id']); + $status['relationship'] = $pid == $sid ? [] : RelationshipService::get($pid, $sid); + } + return $status; + }) + ->filter(function($s) use($filtered) { + return $s && in_array($s['account']['id'], $filtered) == false; + }) + ->values() + ->toArray(); + + return $res; + } +} diff --git a/app/Http/Controllers/Groups/GroupsMemberController.php b/app/Http/Controllers/Groups/GroupsMemberController.php new file mode 100644 index 000000000..3bfe086a2 --- /dev/null +++ b/app/Http/Controllers/Groups/GroupsMemberController.php @@ -0,0 +1,214 @@ +validate($request, [ + 'gid' => 'required', + 'limit' => 'nullable|integer|min:3|max:10' + ]); + + abort_if(!$request->user(), 404); + + $pid = $request->user()->profile_id; + $gid = $request->input('gid'); + $group = Group::findOrFail($gid); + + abort_if(!$group->isMember($pid), 403, 'Not a member of group.'); + + $members = GroupMember::whereGroupId($gid) + ->whereJoinRequest(false) + ->simplePaginate(10) + ->map(function($member) use($pid) { + $account = AccountService::get($member['profile_id']); + $account['role'] = $member['role']; + $account['joined'] = $member['created_at']; + $account['following'] = $pid != $member['profile_id'] ? + FollowerService::follows($pid, $member['profile_id']) : + null; + $account['url'] = url("/groups/{$member->group_id}/user/{$member['profile_id']}"); + return $account; + }); + + return response()->json($members->toArray(), 200, [], JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES); + } + + public function getGroupMemberJoinRequests(Request $request) + { + abort_if(!$request->user(), 404); + $id = $request->input('gid'); + $group = Group::findOrFail($id); + $pid = $request->user()->profile_id; + abort_if(!$group->isMember($pid), 404); + abort_if(!in_array($group->selfRole($pid), ['founder', 'admin']), 404); + + return GroupMember::whereGroupId($group->id) + ->whereJoinRequest(true) + ->whereNull('rejected_at') + ->paginate(10) + ->map(function($member) { + return AccountService::get($member->profile_id); + }); + } + + public function handleGroupMemberJoinRequest(Request $request) + { + abort_if(!$request->user(), 404); + $id = $request->input('gid'); + $group = Group::findOrFail($id); + $pid = $request->user()->profile_id; + abort_if(!$group->isMember($pid), 404); + abort_if(!in_array($group->selfRole($pid), ['founder', 'admin']), 404); + $mid = $request->input('pid'); + abort_if($group->isMember($mid), 404); + + $this->validate($request, [ + 'gid' => 'required', + 'pid' => 'required', + 'action' => 'required|in:approve,reject' + ]); + + $action = $request->input('action'); + + $member = GroupMember::whereGroupId($group->id) + ->whereProfileId($mid) + ->firstOrFail(); + + if($action == 'approve') { + MemberJoinApprovedPipeline::dispatch($member)->onQueue('groups'); + } else if ($action == 'reject') { + MemberJoinRejectedPipeline::dispatch($member)->onQueue('groups'); + } + + return $request->all(); + } + + public function getGroupMember(Request $request) + { + $this->validate($request, [ + 'gid' => 'required', + 'pid' => 'required' + ]); + + abort_if(!$request->user(), 404); + $gid = $request->input('gid'); + $group = Group::findOrFail($gid); + $pid = $request->user()->profile_id; + abort_if(!$group->isMember($pid), 404); + abort_if(!in_array($group->selfRole($pid), ['founder', 'admin']), 404); + + $member_id = $request->input('pid'); + $member = GroupMember::whereGroupId($gid) + ->whereProfileId($member_id) + ->firstOrFail(); + + $account = GroupAccountService::get($group->id, $member['profile_id']); + $account['role'] = $member['role']; + $account['joined'] = $member['created_at']; + $account['following'] = $pid != $member['profile_id'] ? + FollowerService::follows($pid, $member['profile_id']) : + null; + $account['url'] = url("/groups/{$gid}/user/{$member_id}"); + + return response()->json($account, 200, [], JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES); + } + + public function getGroupMemberCommonIntersections(Request $request) + { + abort_if(!$request->user(), 404); + $cid = $request->user()->profile_id; + + // $this->validate($request, [ + // 'gid' => 'required', + // 'pid' => 'required' + // ]); + + $gid = $request->input('gid'); + $pid = $request->input('pid'); + + if($pid === $cid) { + return []; + } + + $group = Group::findOrFail($gid); + abort_if(!$group->isMember($cid), 404); + abort_if(!$group->isMember($pid), 404); + + $self = GroupPostHashtag::selectRaw('group_post_hashtags.*, count(*) as countr') + ->whereProfileId($cid) + ->groupBy('hashtag_id') + ->orderByDesc('countr') + ->take(20) + ->pluck('hashtag_id'); + $user = GroupPostHashtag::selectRaw('group_post_hashtags.*, count(*) as countr') + ->whereProfileId($pid) + ->groupBy('hashtag_id') + ->orderByDesc('countr') + ->take(20) + ->pluck('hashtag_id'); + + $topics = $self->intersect($user) + ->values() + ->shuffle() + ->take(3) + ->map(function($id) use($group) { + $tag = GroupHashtagService::get($id); + $tag['url'] = url("/groups/{$group->id}/topics/{$tag['slug']}?src=upt"); + return $tag; + }); + + // $friends = DB::table('followers as u') + // ->join('followers as s', 'u.following_id', '=', 's.following_id') + // ->where('s.profile_id', $cid) + // ->where('u.profile_id', $pid) + // ->inRandomOrder() + // ->take(10) + // ->pluck('s.following_id') + // ->map(function($id) use($gid) { + // $res = AccountService::get($id); + // $res['url'] = url("/groups/{$gid}/user/{$id}"); + // return $res; + // }); + $mutualGroups = GroupService::mutualGroups($cid, $pid, [$gid]); + + $mutualFriends = collect(FollowerService::mutualIds($cid, $pid)) + ->map(function($id) use($gid) { + $res = AccountService::get($id); + if(GroupService::isMember($gid, $id)) { + $res['url'] = url("/groups/{$gid}/user/{$id}"); + } else if(!$res['local']) { + $res['url'] = url("/i/web/profile/_/{$id}"); + } + return $res; + }); + $mutualFriendsCount = FollowerService::mutualCount($cid, $pid); + + $res = [ + 'groups_count' => $mutualGroups['count'], + 'groups' => $mutualGroups['groups'], + 'topics' => $topics, + 'friends_count' => $mutualFriendsCount, + 'friends' => $mutualFriends, + ]; + + return response()->json($res, 200, [], JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES); + } +} diff --git a/app/Http/Controllers/Groups/GroupsMetaController.php b/app/Http/Controllers/Groups/GroupsMetaController.php new file mode 100644 index 000000000..bc1e58b33 --- /dev/null +++ b/app/Http/Controllers/Groups/GroupsMetaController.php @@ -0,0 +1,31 @@ +middleware('auth'); + } + + public function deleteGroup(Request $request) + { + abort_if(!$request->user(), 404); + $id = $request->input('gid'); + $group = Group::findOrFail($id); + $pid = $request->user()->profile_id; + abort_if(!$group->isMember($pid), 404); + abort_if(!in_array($group->selfRole($pid), ['founder', 'admin']), 404); + + $group->status = "delete"; + $group->save(); + GroupService::del($group->id); + return [200]; + } +} diff --git a/app/Http/Controllers/Groups/GroupsNotificationsController.php b/app/Http/Controllers/Groups/GroupsNotificationsController.php new file mode 100644 index 000000000..dafc6c821 --- /dev/null +++ b/app/Http/Controllers/Groups/GroupsNotificationsController.php @@ -0,0 +1,55 @@ +middleware('auth'); + } + + public function selfGlobalNotifications(Request $request) + { + abort_if(!$request->user(), 404); + $pid = $request->user()->profile_id; + + $res = Notification::whereProfileId($pid) + ->where('action', 'like', 'group%') + ->latest() + ->paginate(10) + ->map(function($n) { + $res = [ + 'id' => $n->id, + 'type' => $n->action, + 'account' => AccountService::get($n->actor_id), + 'object' => [ + 'id' => $n->item_id, + 'type' => last(explode('\\', $n->item_type)), + ], + 'created_at' => $n->created_at->format('c') + ]; + + if($res['object']['type'] == 'Status' || in_array($n->action, ['group:comment'])) { + $res['status'] = StatusService::get($n->item_id, false); + $res['group'] = GroupService::get($res['status']['gid']); + } + + if($res['object']['type'] == 'Group') { + $res['group'] = GroupService::get($n->item_id); + } + + return $res; + }); + + return response()->json($res, 200, [], JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES); + } +} diff --git a/app/Http/Controllers/Groups/GroupsPostController.php b/app/Http/Controllers/Groups/GroupsPostController.php new file mode 100644 index 000000000..11b4799fe --- /dev/null +++ b/app/Http/Controllers/Groups/GroupsPostController.php @@ -0,0 +1,420 @@ +middleware('auth'); + } + + public function storePost(Request $request) + { + $this->validate($request, [ + 'group_id' => 'required|exists:groups,id', + 'caption' => 'sometimes|string|max:'.config_cache('pixelfed.max_caption_length', 500), + 'pollOptions' => 'sometimes|array|min:1|max:4' + ]); + + $group = Group::findOrFail($request->input('group_id')); + $pid = $request->user()->profile_id; + $caption = $request->input('caption'); + $type = $request->input('type', 'text'); + + abort_if(!GroupService::canPost($group->id, $pid), 422, 'You cannot create new posts at this time'); + + if($type == 'text') { + abort_if(strlen(e($caption)) == 0, 403); + } + + $gp = new GroupPost; + $gp->group_id = $group->id; + $gp->profile_id = $pid; + $gp->caption = e($caption); + $gp->type = $type; + $gp->visibility = 'draft'; + $gp->save(); + + $status = $gp; + + NewPostPipeline::dispatchSync($gp); + + // NewStatusPipeline::dispatch($status, $gp); + + if($type == 'poll') { + // Polls not supported yet + // $poll = new Poll; + // $poll->status_id = $status->id; + // $poll->profile_id = $status->profile_id; + // $poll->poll_options = $request->input('pollOptions'); + // $poll->expires_at = now()->addMinutes($request->input('expiry')); + // $poll->cached_tallies = collect($poll->poll_options)->map(function($o) { + // return 0; + // })->toArray(); + // $poll->save(); + // sleep(5); + } + if($type == 'photo') { + $photo = $request->file('photo'); + $storagePath = GroupMediaService::path($group->id, $pid, $status->id); + // $storagePath = 'public/g/' . $group->id . '/p/' . $status->id; + $path = $photo->storePublicly($storagePath); + // $hash = \hash_file('sha256', $photo); + + $media = new GroupMedia(); + $media->group_id = $group->id; + $media->status_id = $status->id; + $media->profile_id = $request->user()->profile_id; + $media->media_path = $path; + $media->size = $photo->getSize(); + $media->mime = $photo->getMimeType(); + $media->save(); + + // Bus::chain([ + // new ImageResizePipeline($media), + // new ImageS3UploadPipeline($media), + // ])->dispatch($media); + + ImageResizePipeline::dispatchSync($media); + ImageS3UploadPipeline::dispatchSync($media); + // ImageOptimize::dispatch($media); + // delay response while background job optimizes media + // sleep(5); + } + if($type == 'video') { + $video = $request->file('video'); + $storagePath = 'public/g/' . $group->id . '/p/' . $status->id; + $path = $video->storePublicly($storagePath); + $hash = \hash_file('sha256', $video); + + $media = new Media(); + $media->status_id = $status->id; + $media->profile_id = $request->user()->profile_id; + $media->user_id = $request->user()->id; + $media->media_path = $path; + $media->original_sha256 = $hash; + $media->size = $video->getSize(); + $media->mime = $video->getMimeType(); + $media->save(); + + VideoThumbnail::dispatch($media); + sleep(15); + } + + GroupService::log( + $group->id, + $pid, + 'group:status:created', + [ + 'type' => $gp->type, + 'status_id' => $status->id + ], + GroupPost::class, + $gp->id + ); + + $s = GroupPostService::get($status->group_id, $status->id); + GroupFeedService::add($group->id, $gp->id); + Cache::forget('groups:self:feed:' . $pid); + + $s['pf_type'] = $type; + $s['visibility'] = 'public'; + $s['url'] = $gp->url(); + + if($type == 'poll') { + $s['poll'] = PollService::get($status->id); + } + + $group->last_active_at = now(); + $group->save(); + + return $s; + } + + public function deletePost(Request $request) + { + abort_if(!$request->user(), 403); + + $this->validate($request, [ + 'id' => 'required|integer|min:1', + 'gid' => 'required|integer|min:1' + ]); + + $pid = $request->user()->profile_id; + $gid = $request->input('gid'); + $group = Group::findOrFail($gid); + abort_if(!$group->isMember($pid), 403, 'Not a member of group.'); + + $gp = GroupPost::whereGroupId($status->group_id)->findOrFail($request->input('id')); + abort_if($gp->profile_id != $pid && $group->profile_id != $pid, 403); + $cached = GroupPostService::get($status->group_id, $status->id); + + if($cached) { + $cached = collect($cached)->filter(function($r, $k) { + return in_array($k, [ + 'id', + 'sensitive', + 'pf_type', + 'media_attachments', + 'content_text', + 'created_at' + ]); + }); + } + + GroupService::log( + $status->group_id, + $request->user()->profile_id, + 'group:status:deleted', + [ + 'type' => $gp->type, + 'status_id' => $status->id, + 'original' => $cached + ], + GroupPost::class, + $gp->id + ); + + $user = $request->user(); + + // if($status->profile_id != $user->profile->id && + // $user->is_admin == true && + // $status->uri == null + // ) { + // $media = $status->media; + + // $ai = new AccountInterstitial; + // $ai->user_id = $status->profile->user_id; + // $ai->type = 'post.removed'; + // $ai->view = 'account.moderation.post.removed'; + // $ai->item_type = 'App\Status'; + // $ai->item_id = $status->id; + // $ai->has_media = (bool) $media->count(); + // $ai->blurhash = $media->count() ? $media->first()->blurhash : null; + // $ai->meta = json_encode([ + // 'caption' => $status->caption, + // 'created_at' => $status->created_at, + // 'type' => $status->type, + // 'url' => $status->url(), + // 'is_nsfw' => $status->is_nsfw, + // 'scope' => $status->scope, + // 'reblog' => $status->reblog_of_id, + // 'likes_count' => $status->likes_count, + // 'reblogs_count' => $status->reblogs_count, + // ]); + // $ai->save(); + + // $u = $status->profile->user; + // $u->has_interstitial = true; + // $u->save(); + // } + + if($status->in_reply_to_id) { + $parent = GroupPost::find($status->in_reply_to_id); + if($parent) { + $parent->reply_count = GroupPost::whereInReplyToId($parent->id)->count(); + $parent->save(); + GroupPostService::del($group->id, GroupService::sidToGid($group->id, $parent->id)); + } + } + + GroupPostService::del($group->id, $gp->id); + GroupFeedService::del($group->id, $gp->id); + if ($status->profile_id == $user->profile->id || $user->is_admin == true) { + // Cache::forget('profile:status_count:'.$status->profile_id); + StatusDelete::dispatch($status); + } + + if($request->wantsJson()) { + return response()->json(['Status successfully deleted.']); + } else { + return redirect($user->url()); + } + } + + public function likePost(Request $request) + { + $this->validate($request, [ + 'gid' => 'required', + 'sid' => 'required' + ]); + + $pid = $request->user()->profile_id; + $gid = $request->input('gid'); + $sid = $request->input('sid'); + + $group = GroupService::get($gid); + abort_if(!$group, 422, 'Invalid group'); + abort_if(!GroupService::canLike($gid, $pid), 422, 'You cannot interact with this content at this time'); + abort_if(!GroupService::isMember($gid, $pid), 403, 'Not a member of group'); + $gp = GroupPostService::get($gid, $sid); + abort_if(!$gp, 422, 'Invalid status'); + $count = $gp['favourites_count'] ?? 0; + + $like = GroupLike::firstOrCreate([ + 'group_id' => $gid, + 'profile_id' => $pid, + 'status_id' => $sid, + ]); + + if($like->wasRecentlyCreated) { + // update parent post like count + $parent = GroupPost::whereGroupId($gid)->find($sid); + abort_if(!$parent, 422, 'Invalid status'); + $parent->likes_count = $parent->likes_count + 1; + $parent->save(); + GroupsLikeService::add($pid, $sid); + // invalidate cache + GroupPostService::del($gid, $sid); + $count++; + GroupService::log( + $gid, + $pid, + 'group:like', + null, + GroupLike::class, + $like->id + ); + } + // if (GroupLike::whereGroupId($gid)->whereStatusId($sid)->whereProfileId($pid)->exists()) { + // $like = GroupLike::whereProfileId($pid)->whereStatusId($sid)->firstOrFail(); + // // UnlikePipeline::dispatch($like); + // $count = $gp->likes_count - 1; + // $action = 'group:unlike'; + // } else { + // $count = $gp->likes_count; + // $like = GroupLike::firstOrCreate([ + // 'group_id' => $gid, + // 'profile_id' => $pid, + // 'status_id' => $sid + // ]); + // if($like->wasRecentlyCreated == true) { + // $count++; + // $gp->likes_count = $count; + // $like->save(); + // $gp->save(); + // // LikePipeline::dispatch($like); + // $action = 'group:like'; + // } + // } + + + // Cache::forget('status:'.$status->id.':likedby:userid:'.$request->user()->id); + // StatusService::del($status->id); + + $response = ['code' => 200, 'msg' => 'Like saved', 'count' => $count]; + + return $response; + } + + public function unlikePost(Request $request) + { + $this->validate($request, [ + 'gid' => 'required', + 'sid' => 'required' + ]); + + $pid = $request->user()->profile_id; + $gid = $request->input('gid'); + $sid = $request->input('sid'); + + $group = GroupService::get($gid); + abort_if(!$group, 422, 'Invalid group'); + abort_if(!GroupService::canLike($gid, $pid), 422, 'You cannot interact with this content at this time'); + abort_if(!GroupService::isMember($gid, $pid), 403, 'Not a member of group'); + $gp = GroupPostService::get($gid, $sid); + abort_if(!$gp, 422, 'Invalid status'); + $count = $gp['favourites_count'] ?? 0; + + $like = GroupLike::where([ + 'group_id' => $gid, + 'profile_id' => $pid, + 'status_id' => $sid, + ])->first(); + + if($like) { + $like->delete(); + $parent = GroupPost::whereGroupId($gid)->find($sid); + abort_if(!$parent, 422, 'Invalid status'); + $parent->likes_count = $parent->likes_count - 1; + $parent->save(); + GroupsLikeService::remove($pid, $sid); + // invalidate cache + GroupPostService::del($gid, $sid); + $count--; + } + + $response = ['code' => 200, 'msg' => 'Unliked post', 'count' => $count]; + + return $response; + } + + public function getGroupMedia(Request $request) + { + $this->validate($request, [ + 'gid' => 'required', + 'type' => 'required|in:photo,video' + ]); + + abort_if(!$request->user(), 404); + + $pid = $request->user()->profile_id; + $gid = $request->input('gid'); + $type = $request->input('type'); + $group = Group::findOrFail($gid); + + abort_if(!$group->isMember($pid), 403, 'Not a member of group.'); + + $media = GroupPost::whereGroupId($gid) + ->whereType($type) + ->latest() + ->simplePaginate(20) + ->map(function($gp) use($pid) { + $status = GroupPostService::get($gp['group_id'], $gp['id']); + if(!$status) { + return false; + } + $status['favourited'] = (bool) GroupsLikeService::liked($pid, $gp['id']); + $status['favourites_count'] = GroupsLikeService::count($gp['id']); + $status['pf_type'] = $gp['type']; + $status['visibility'] = 'public'; + $status['url'] = $gp->url(); + + // if($gp['type'] == 'poll') { + // $status['poll'] = PollService::get($status['id']); + // } + + return $status; + })->filter(function($status) { + return $status; + }); + + return response()->json($media->toArray(), 200, [], JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES); + } +} diff --git a/app/Http/Controllers/Groups/GroupsSearchController.php b/app/Http/Controllers/Groups/GroupsSearchController.php new file mode 100644 index 000000000..560436f46 --- /dev/null +++ b/app/Http/Controllers/Groups/GroupsSearchController.php @@ -0,0 +1,221 @@ +middleware('auth'); + } + + public function inviteFriendsToGroup(Request $request) + { + abort_if(!$request->user(), 404); + $this->validate($request, [ + 'uids' => 'required', + 'g' => 'required', + ]); + $uid = $request->input('uids'); + $gid = $request->input('g'); + $pid = $request->user()->profile_id; + $group = Group::findOrFail($gid); + abort_if(!$group->isMember($pid), 404); + abort_if( + GroupInvitation::whereGroupId($group->id) + ->whereFromProfileId($pid) + ->count() >= 20, + 422, + 'Invite limit reached' + ); + + $profiles = collect($uid) + ->map(function($u) { + return Profile::find($u); + }) + ->filter(function($u) use($pid) { + return $u && + $u->id != $pid && + isset($u->id) && + Follower::whereFollowingId($pid) + ->whereProfileId($u->id) + ->exists(); + }) + ->filter(function($u) use($group, $pid) { + return GroupInvitation::whereGroupId($group->id) + ->whereFromProfileId($pid) + ->whereToProfileId($u->id) + ->exists() == false; + }) + ->each(function($u) use($gid, $pid) { + $gi = new GroupInvitation; + $gi->group_id = $gid; + $gi->from_profile_id = $pid; + $gi->to_profile_id = $u->id; + $gi->to_local = true; + $gi->from_local = $u->domain == null; + $gi->save(); + // GroupMemberInvite::dispatch($gi); + }); + return [200]; + } + + public function searchFriendsToInvite(Request $request) + { + abort_if(!$request->user(), 404); + $this->validate($request, [ + 'q' => 'required|min:2|max:40', + 'g' => 'required', + 'v' => 'required|in:0.2' + ]); + $q = $request->input('q'); + $gid = $request->input('g'); + $pid = $request->user()->profile_id; + $group = Group::findOrFail($gid); + abort_if(!$group->isMember($pid), 404); + + $res = Profile::where('username', 'like', "%{$q}%") + ->whereNull('profiles.domain') + ->join('followers', 'profiles.id', '=', 'followers.profile_id') + ->where('followers.following_id', $pid) + ->take(10) + ->get() + ->filter(function($p) use($group) { + return $group->isMember($p->profile_id) == false; + }) + ->filter(function($p) use($group, $pid) { + return GroupInvitation::whereGroupId($group->id) + ->whereFromProfileId($pid) + ->whereToProfileId($p->profile_id) + ->exists() == false; + }) + ->map(function($gm) use ($gid) { + $a = AccountService::get($gm->profile_id); + return [ + 'id' => (string) $gm->profile_id, + 'username' => $a['acct'], + 'url' => url("/groups/{$gid}/user/{$a['id']}?rf=group_search") + ]; + }) + ->values(); + + return $res; + } + + public function searchGlobalResults(Request $request) + { + abort_if(!$request->user(), 404); + $this->validate($request, [ + 'q' => 'required|min:2|max:140', + 'v' => 'required|in:0.2' + ]); + $q = $request->input('q'); + + if(str_starts_with($q, 'https://')) { + $res = Helpers::getSignedFetch($q); + if($res && $res = json_decode($res, true)) { + + } + if($res && isset($res['type']) && in_array($res['type'], ['Group', 'Note', 'Page'])) { + if($res['type'] === 'Group') { + return GroupActivityPubService::fetchGroup($q, true); + } + $resp = GroupActivityPubService::fetchGroupPost($q, true); + $resp['name'] = 'Group Post'; + $resp['url'] = '/groups/' . $resp['group_id'] . '/p/' . $resp['id']; + return [$resp]; + } + } + return Group::whereNull('status') + ->where('name', 'like', '%' . $q . '%') + ->orderBy('id') + ->take(10) + ->pluck('id') + ->map(function($group) { + return GroupService::get($group); + }); + } + + public function searchLocalAutocomplete(Request $request) + { + abort_if(!$request->user(), 404); + $this->validate($request, [ + 'q' => 'required|min:2|max:40', + 'g' => 'required', + 'v' => 'required|in:0.2' + ]); + $q = $request->input('q'); + $gid = $request->input('g'); + $pid = $request->user()->profile_id; + $group = Group::findOrFail($gid); + abort_if(!$group->isMember($pid), 404); + + $res = GroupMember::whereGroupId($gid) + ->join('profiles', 'group_members.profile_id', '=', 'profiles.id') + ->where('profiles.username', 'like', "%{$q}%") + ->take(10) + ->get() + ->map(function($gm) use ($gid) { + $a = AccountService::get($gm->profile_id); + return [ + 'username' => $a['username'], + 'url' => url("/groups/{$gid}/user/{$a['id']}?rf=group_search") + ]; + }); + return $res; + } + + public function searchAddRecent(Request $request) + { + $this->validate($request, [ + 'q' => 'required|min:2|max:40', + 'g' => 'required', + ]); + $q = $request->input('q'); + $gid = $request->input('g'); + $pid = $request->user()->profile_id; + $group = Group::findOrFail($gid); + abort_if(!$group->isMember($pid), 404); + + $key = 'groups:search:recent:'.$gid.':pid:'.$pid; + $ttl = now()->addDays(14); + $res = Cache::get($key); + if(!$res) { + $val = json_encode([$q]); + } else { + $ex = collect(json_decode($res)) + ->prepend($q) + ->unique('value') + ->slice(0, 3) + ->values() + ->all(); + $val = json_encode($ex); + } + Cache::put($key, $val, $ttl); + return 200; + } + + public function searchGetRecent(Request $request) + { + $gid = $request->input('g'); + $pid = $request->user()->profile_id; + $group = Group::findOrFail($gid); + abort_if(!$group->isMember($pid), 404); + $key = 'groups:search:recent:'.$gid.':pid:'.$pid; + return Cache::get($key); + } +} diff --git a/app/Http/Controllers/Groups/GroupsTopicController.php b/app/Http/Controllers/Groups/GroupsTopicController.php new file mode 100644 index 000000000..c3d8ecda7 --- /dev/null +++ b/app/Http/Controllers/Groups/GroupsTopicController.php @@ -0,0 +1,133 @@ +middleware('auth'); + } + + public function groupTopics(Request $request) + { + $this->validate($request, [ + 'gid' => 'required', + ]); + + abort_if(!$request->user(), 404); + + $pid = $request->user()->profile_id; + $gid = $request->input('gid'); + $group = Group::findOrFail($gid); + + abort_if(!$group->isMember($pid), 403, 'Not a member of group.'); + + $posts = GroupPostHashtag::join('group_hashtags', 'group_hashtags.id', '=', 'group_post_hashtags.hashtag_id') + ->selectRaw('group_hashtags.*, group_post_hashtags.*, count(group_post_hashtags.hashtag_id) as ht_count') + ->where('group_post_hashtags.group_id', $gid) + ->orderByDesc('ht_count') + ->limit(10) + ->pluck('group_post_hashtags.hashtag_id', 'ht_count') + ->map(function($id, $key) use ($gid) { + $tag = GroupHashtag::find($id); + return [ + 'hid' => $id, + 'name' => $tag->name, + 'url' => url("/groups/{$gid}/topics/{$tag->slug}"), + 'count' => $key + ]; + })->values(); + + return response()->json($posts, 200, [], JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES); + } + + public function groupTopicTag(Request $request) + { + $this->validate($request, [ + 'gid' => 'required', + 'name' => 'required' + ]); + + abort_if(!$request->user(), 404); + + $pid = $request->user()->profile_id; + $gid = $request->input('gid'); + $limit = $request->input('limit', 3); + $group = Group::findOrFail($gid); + + abort_if(!$group->isMember($pid), 403, 'Not a member of group.'); + + $name = $request->input('name'); + $hashtag = GroupHashtag::whereName($name)->first(); + + if(!$hashtag) { + return []; + } + + // $posts = GroupPost::whereGroupId($gid) + // ->select('status_hashtags.*', 'group_posts.*') + // ->where('status_hashtags.hashtag_id', $hashtag->id) + // ->join('status_hashtags', 'group_posts.status_id', '=', 'status_hashtags.status_id') + // ->orderByDesc('group_posts.status_id') + // ->simplePaginate($limit) + // ->map(function($gp) use($pid) { + // $status = StatusService::get($gp['status_id'], false); + // if(!$status) { + // return false; + // } + // $status['favourited'] = (bool) LikeService::liked($pid, $gp['status_id']); + // $status['favourites_count'] = LikeService::count($gp['status_id']); + // $status['pf_type'] = $gp['type']; + // $status['visibility'] = 'public'; + // $status['url'] = $gp->url(); + // return $status; + // }); + + $posts = GroupPostHashtag::whereGroupId($gid) + ->whereHashtagId($hashtag->id) + ->orderByDesc('id') + ->simplePaginate($limit) + ->map(function($gp) use($pid) { + $status = GroupPostService::get($gp['group_id'], $gp['status_id']); + if(!$status) { + return false; + } + $status['favourited'] = (bool) GroupsLikeService::liked($pid, $gp['status_id']); + $status['favourites_count'] = GroupsLikeService::count($gp['status_id']); + $status['pf_type'] = $status['pf_type']; + $status['visibility'] = 'public'; + return $status; + }); + + return response()->json($posts, 200, [], JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES); + } + + public function showTopicFeed(Request $request, $gid, $tag) + { + abort_if(!$request->user(), 404); + + $pid = $request->user()->profile_id; + $group = Group::findOrFail($gid); + $gid = $group->id; + abort_if(!$group->isMember($pid), 403, 'Not a member of group.'); + return view('groups.topic-feed', compact('gid', 'tag')); + } +} diff --git a/app/Jobs/GroupPipeline/GroupCommentPipeline.php b/app/Jobs/GroupPipeline/GroupCommentPipeline.php new file mode 100644 index 000000000..cdae65d10 --- /dev/null +++ b/app/Jobs/GroupPipeline/GroupCommentPipeline.php @@ -0,0 +1,99 @@ +status = $status; + $this->comment = $comment; + $this->groupPost = $groupPost; + } + + public function handle() + { + if($this->status->group_id == null || $this->comment->group_id == null) { + return; + } + + $this->updateParentReplyCount(); + $this->generateNotification(); + + if($this->groupPost) { + $this->updateChildReplyCount(); + } + } + + protected function updateParentReplyCount() + { + $parent = $this->status; + $parent->reply_count = Status::whereInReplyToId($parent->id)->count(); + $parent->save(); + StatusService::del($parent->id); + } + + protected function updateChildReplyCount() + { + $gp = $this->groupPost; + if($gp->reply_child_id) { + $parent = GroupPost::whereStatusId($gp->reply_child_id)->first(); + if($parent) { + $parent->reply_count++; + $parent->save(); + } + } + } + + protected function generateNotification() + { + $status = $this->status; + $comment = $this->comment; + + $target = $status->profile; + $actor = $comment->profile; + + if ($actor->id == $target->id || $status->comments_disabled == true) { + return; + } + + $notification = DB::transaction(function() use($target, $actor, $comment) { + $actorName = $actor->username; + $actorUrl = $actor->url(); + $text = "{$actorName} commented on your group post."; + $html = "{$actorName} commented on your group post."; + $notification = new Notification(); + $notification->profile_id = $target->id; + $notification->actor_id = $actor->id; + $notification->action = 'group:comment'; + $notification->item_id = $comment->id; + $notification->item_type = "App\Status"; + $notification->save(); + return $notification; + }); + + NotificationService::setNotification($notification); + NotificationService::set($notification->profile_id, $notification->id); + } +} diff --git a/app/Jobs/GroupPipeline/GroupMediaPipeline.php b/app/Jobs/GroupPipeline/GroupMediaPipeline.php new file mode 100644 index 000000000..1155e5465 --- /dev/null +++ b/app/Jobs/GroupPipeline/GroupMediaPipeline.php @@ -0,0 +1,57 @@ +media = $media; + } + + public function handle() + { + MediaStorageService::store($this->media); + } + + protected function localToCloud($media) + { + $path = storage_path('app/'.$media->media_path); + $thumb = storage_path('app/'.$media->thumbnail_path); + + $p = explode('/', $media->media_path); + $name = array_pop($p); + $pt = explode('/', $media->thumbnail_path); + $thumbname = array_pop($pt); + $storagePath = implode('/', $p); + + $disk = Storage::disk(config('filesystems.cloud')); + $file = $disk->putFileAs($storagePath, new File($path), $name, 'public'); + $url = $disk->url($file); + $thumbFile = $disk->putFileAs($storagePath, new File($thumb), $thumbname, 'public'); + $thumbUrl = $disk->url($thumbFile); + $media->thumbnail_url = $thumbUrl; + $media->cdn_url = $url; + $media->optimized_url = $url; + $media->replicated_at = now(); + $media->save(); + if($media->status_id) { + Cache::forget('status:transformer:media:attachments:' . $media->status_id); + } + } + +} diff --git a/app/Jobs/GroupPipeline/GroupMemberInvite.php b/app/Jobs/GroupPipeline/GroupMemberInvite.php new file mode 100644 index 000000000..d2c2bf8ef --- /dev/null +++ b/app/Jobs/GroupPipeline/GroupMemberInvite.php @@ -0,0 +1,54 @@ +invite = $invite; + } + + /** + * Execute the job. + * + * @return void + */ + public function handle() + { + $invite = $this->invite; + $actor = Profile::find($invite->from_profile_id); + $target = Profile::find($invite->to_profile_id); + + if(!$actor || !$target) { + return; + } + + $notification = new Notification; + $notification->profile_id = $target->id; + $notification->actor_id = $actor->id; + $notification->action = 'group:invite'; + $notification->item_id = $invite->group_id; + $notification->item_type = 'App\Models\Group'; + $notification->save(); + } +} diff --git a/app/Jobs/GroupPipeline/JoinApproved.php b/app/Jobs/GroupPipeline/JoinApproved.php new file mode 100644 index 000000000..f41c8f698 --- /dev/null +++ b/app/Jobs/GroupPipeline/JoinApproved.php @@ -0,0 +1,54 @@ +member = $member; + } + + /** + * Execute the job. + * + * @return void + */ + public function handle() + { + $member = $this->member; + $member->approved_at = now(); + $member->join_request = false; + $member->role = 'member'; + $member->save(); + + $n = new Notification; + $n->profile_id = $member->profile_id; + $n->actor_id = $member->profile_id; + $n->item_id = $member->group_id; + $n->item_type = 'App\Models\Group'; + $n->save(); + + GroupService::del($member->group_id); + GroupService::delSelf($member->group_id, $member->profile_id); + } +} diff --git a/app/Jobs/GroupPipeline/JoinRejected.php b/app/Jobs/GroupPipeline/JoinRejected.php new file mode 100644 index 000000000..71e1e30c8 --- /dev/null +++ b/app/Jobs/GroupPipeline/JoinRejected.php @@ -0,0 +1,50 @@ +member = $member; + } + + /** + * Execute the job. + * + * @return void + */ + public function handle() + { + $member = $this->member; + $member->rejected_at = now(); + $member->save(); + + $n = new Notification; + $n->profile_id = $member->profile_id; + $n->actor_id = $member->profile_id; + $n->item_id = $member->group_id; + $n->item_type = 'App\Models\Group'; + $n->action = 'group.join.rejected'; + $n->save(); + } +} diff --git a/app/Jobs/GroupPipeline/LikePipeline.php b/app/Jobs/GroupPipeline/LikePipeline.php new file mode 100644 index 000000000..bd3e668f7 --- /dev/null +++ b/app/Jobs/GroupPipeline/LikePipeline.php @@ -0,0 +1,107 @@ +like = $like; + } + + /** + * Execute the job. + * + * @return void + */ + public function handle() + { + $like = $this->like; + + $status = $this->like->status; + $actor = $this->like->actor; + + if (!$status) { + // Ignore notifications to deleted statuses + return; + } + + StatusService::refresh($status->id); + + if($status->url && $actor->domain == null) { + return $this->remoteLikeDeliver(); + } + + $exists = Notification::whereProfileId($status->profile_id) + ->whereActorId($actor->id) + ->whereAction('group:like') + ->whereItemId($status->id) + ->whereItemType('App\Status') + ->count(); + + if ($actor->id === $status->profile_id || $exists !== 0) { + return true; + } + + try { + $notification = new Notification(); + $notification->profile_id = $status->profile_id; + $notification->actor_id = $actor->id; + $notification->action = 'group:like'; + $notification->item_id = $status->id; + $notification->item_type = "App\Status"; + $notification->save(); + + } catch (Exception $e) { + } + } + + public function remoteLikeDeliver() + { + $like = $this->like; + $status = $this->like->status; + $actor = $this->like->actor; + + $fractal = new Fractal\Manager(); + $fractal->setSerializer(new ArraySerializer()); + $resource = new Fractal\Resource\Item($like, new LikeTransformer()); + $activity = $fractal->createData($resource)->toArray(); + + $url = $status->profile->sharedInbox ?? $status->profile->inbox_url; + + Helpers::sendSignedObject($actor, $url, $activity); + } +} diff --git a/app/Jobs/GroupPipeline/NewStatusPipeline.php b/app/Jobs/GroupPipeline/NewStatusPipeline.php new file mode 100644 index 000000000..4d8eeca5c --- /dev/null +++ b/app/Jobs/GroupPipeline/NewStatusPipeline.php @@ -0,0 +1,130 @@ +status = $status; + $this->gp = $gp; + } + + public function handle() + { + $status = $this->status; + + $autolink = Autolink::create() + ->setAutolinkActiveUsersOnly(true) + ->setBaseHashPath("/groups/{$status->group_id}/topics/") + ->setBaseUserPath("/groups/{$status->group_id}/username/") + ->autolink($status->caption); + + $entities = Extractor::create()->extract($status->caption); + + $autolink = str_replace('/discover/tags/', '/groups/' . $status->group_id . '/topics/', $autolink); + + $status->rendered = nl2br($autolink); + $status->entities = null; + $status->save(); + + $this->tags = array_unique($entities['hashtags']); + $this->mentions = array_unique($entities['mentions']); + + if(count($this->tags)) { + $this->storeHashtags(); + } + + if(count($this->mentions)) { + $this->storeMentions($this->mentions); + } + } + + protected function storeHashtags() + { + $tags = $this->tags; + $status = $this->status; + $gp = $this->gp; + + foreach ($tags as $tag) { + if(mb_strlen($tag) > 124) { + continue; + } + + DB::transaction(function () use ($status, $tag, $gp) { + $slug = str_slug($tag, '-', false); + $hashtag = Hashtag::firstOrCreate( + ['name' => $tag, 'slug' => $slug] + ); + GroupPostHashtag::firstOrCreate( + [ + 'group_id' => $status->group_id, + 'group_post_id' => $gp->id, + 'status_id' => $status->id, + 'hashtag_id' => $hashtag->id, + 'profile_id' => $status->profile_id, + ] + ); + + }); + } + + if(count($this->mentions)) { + $this->storeMentions(); + } + StatusService::del($status->id); + } + + protected function storeMentions() + { + $mentions = $this->mentions; + $status = $this->status; + + foreach ($mentions as $mention) { + $mentioned = Profile::whereUsername($mention)->first(); + + if (empty($mentioned) || !isset($mentioned->id)) { + continue; + } + + DB::transaction(function () use ($status, $mentioned) { + $m = new Mention(); + $m->status_id = $status->id; + $m->profile_id = $mentioned->id; + $m->save(); + + MentionPipeline::dispatch($status, $m); + }); + } + StatusService::del($status->id); + } +} diff --git a/app/Jobs/GroupPipeline/UnlikePipeline.php b/app/Jobs/GroupPipeline/UnlikePipeline.php new file mode 100644 index 000000000..b322d6853 --- /dev/null +++ b/app/Jobs/GroupPipeline/UnlikePipeline.php @@ -0,0 +1,109 @@ +like = $like; + } + + /** + * Execute the job. + * + * @return void + */ + public function handle() + { + $like = $this->like; + + $status = $this->like->status; + $actor = $this->like->actor; + + if (!$status) { + // Ignore notifications to deleted statuses + return; + } + + $count = $status->likes_count > 1 ? $status->likes_count : $status->likes()->count(); + $status->likes_count = $count - 1; + $status->save(); + + StatusService::del($status->id); + + if($actor->id !== $status->profile_id && $status->url && $actor->domain == null) { + $this->remoteLikeDeliver(); + } + + $exists = Notification::whereProfileId($status->profile_id) + ->whereActorId($actor->id) + ->whereAction('group:like') + ->whereItemId($status->id) + ->whereItemType('App\Status') + ->first(); + + if($exists) { + $exists->delete(); + } + + $like = Like::whereProfileId($actor->id)->whereStatusId($status->id)->first(); + + if(!$like) { + return; + } + + $like->forceDelete(); + + return; + } + + public function remoteLikeDeliver() + { + $like = $this->like; + $status = $this->like->status; + $actor = $this->like->actor; + + $fractal = new Fractal\Manager(); + $fractal->setSerializer(new ArraySerializer()); + $resource = new Fractal\Resource\Item($like, new LikeTransformer()); + $activity = $fractal->createData($resource)->toArray(); + + $url = $status->profile->sharedInbox ?? $status->profile->inbox_url; + + Helpers::sendSignedObject($actor, $url, $activity); + } +} diff --git a/app/Jobs/GroupsPipeline/DeleteCommentPipeline.php b/app/Jobs/GroupsPipeline/DeleteCommentPipeline.php new file mode 100644 index 000000000..e1d94c5de --- /dev/null +++ b/app/Jobs/GroupsPipeline/DeleteCommentPipeline.php @@ -0,0 +1,58 @@ +parent = $parent; + $this->status = $status; + } + + /** + * Execute the job. + * + * @return void + */ + public function handle() + { + $parent = $this->parent; + $parent->reply_count = GroupComment::whereStatusId($parent->id)->count(); + $parent->save(); + + return; + } +} diff --git a/app/Jobs/GroupsPipeline/ImageResizePipeline.php b/app/Jobs/GroupsPipeline/ImageResizePipeline.php new file mode 100644 index 000000000..fa649efea --- /dev/null +++ b/app/Jobs/GroupsPipeline/ImageResizePipeline.php @@ -0,0 +1,89 @@ +media = $media; + } + + /** + * Execute the job. + * + * @return void + */ + public function handle() + { + $media = $this->media; + + if(!$media) { + return; + } + + if (!Storage::exists($media->media_path) || $media->skip_optimize) { + return; + } + + $path = $media->media_path; + $file = storage_path('app/' . $path); + $quality = config_cache('pixelfed.image_quality'); + + $orientations = [ + 'square' => [ + 'width' => 1080, + 'height' => 1080, + ], + 'landscape' => [ + 'width' => 1920, + 'height' => 1080, + ], + 'portrait' => [ + 'width' => 1080, + 'height' => 1350, + ], + ]; + + try { + $img = Intervention::make($file); + $img->orientate(); + $width = $img->width(); + $height = $img->height(); + $aspect = $width / $height; + $orientation = $aspect === 1 ? 'square' : ($aspect > 1 ? 'landscape' : 'portrait'); + $ratio = $orientations[$orientation]; + $img->resize($ratio['width'], $ratio['height']); + $img->save($file, $quality); + } catch (Exception $e) { + Log::error($e); + } + } +} diff --git a/app/Jobs/GroupsPipeline/ImageS3DeletePipeline.php b/app/Jobs/GroupsPipeline/ImageS3DeletePipeline.php new file mode 100644 index 000000000..d59c6d086 --- /dev/null +++ b/app/Jobs/GroupsPipeline/ImageS3DeletePipeline.php @@ -0,0 +1,67 @@ +media = $media; + } + + /** + * Execute the job. + * + * @return void + */ + public function handle() + { + $media = $this->media; + + if(!$media || (bool) config_cache('pixelfed.cloud_storage') === false) { + return; + } + + $fs = Storage::disk(config('filesystems.cloud')); + + if(!$fs) { + return; + } + + if($fs->exists($media->media_path)) { + $fs->delete($media->media_path); + } + } +} diff --git a/app/Jobs/GroupsPipeline/ImageS3UploadPipeline.php b/app/Jobs/GroupsPipeline/ImageS3UploadPipeline.php new file mode 100644 index 000000000..169c11073 --- /dev/null +++ b/app/Jobs/GroupsPipeline/ImageS3UploadPipeline.php @@ -0,0 +1,107 @@ +media = $media; + } + + /** + * Execute the job. + * + * @return void + */ + public function handle() + { + $media = $this->media; + + if(!$media || (bool) config_cache('pixelfed.cloud_storage') === false) { + return; + } + + $path = storage_path('app/' . $media->media_path); + + $p = explode('/', $media->media_path); + $name = array_pop($p); + $storagePath = implode('/', $p); + + $url = (bool) config_cache('pixelfed.cloud_storage') && (bool) config('media.storage.remote.resilient_mode') ? + self::handleResilientStore($storagePath, $path, $name) : + self::handleStore($storagePath, $path, $name); + + if($url && strlen($url) && str_starts_with($url, 'https://')) { + $media->cdn_url = $url; + $media->processed_at = now(); + $media->version = 11; + $media->save(); + Storage::disk('local')->delete($media->media_path); + } + } + + protected function handleStore($storagePath, $path, $name) + { + return retry(3, function() use($storagePath, $path, $name) { + $baseDisk = (bool) config_cache('pixelfed.cloud_storage') ? config('filesystems.cloud') : 'local'; + $disk = Storage::disk($baseDisk); + $file = $disk->putFileAs($storagePath, new File($path), $name, 'public'); + return $disk->url($file); + }, random_int(100, 500)); + } + + protected function handleResilientStore($storagePath, $path, $name) + { + $attempts = 0; + return retry(4, function() use($storagePath, $path, $name, $attempts) { + self::$attempts++; + usleep(100000); + $baseDisk = self::$attempts > 1 ? $this->getAltDriver() : config('filesystems.cloud'); + try { + $disk = Storage::disk($baseDisk); + $file = $disk->putFileAs($storagePath, new File($path), $name, 'public'); + } catch (S3Exception | ClientException | ConnectException | UnableToWriteFile | Exception $e) {} + return $disk->url($file); + }, function (int $attempt, Exception $exception) { + return $attempt * 200; + }); + } + + protected function getAltDriver() + { + return config('filesystems.cloud'); + } +} diff --git a/app/Jobs/GroupsPipeline/MemberJoinApprovedPipeline.php b/app/Jobs/GroupsPipeline/MemberJoinApprovedPipeline.php new file mode 100644 index 000000000..a3ec21982 --- /dev/null +++ b/app/Jobs/GroupsPipeline/MemberJoinApprovedPipeline.php @@ -0,0 +1,47 @@ +member = $member; + } + + /** + * Execute the job. + * + * @return void + */ + public function handle() + { + $member = $this->member; + $member->approved_at = now(); + $member->join_request = false; + $member->role = 'member'; + $member->save(); + + GroupService::del($member->group_id); + GroupService::delSelf($member->group_id, $member->profile_id); + } +} diff --git a/app/Jobs/GroupsPipeline/MemberJoinRejectedPipeline.php b/app/Jobs/GroupsPipeline/MemberJoinRejectedPipeline.php new file mode 100644 index 000000000..5e8226de0 --- /dev/null +++ b/app/Jobs/GroupsPipeline/MemberJoinRejectedPipeline.php @@ -0,0 +1,42 @@ +member = $member; + } + + /** + * Execute the job. + * + * @return void + */ + public function handle() + { + $member = $this->member; + $member->rejected_at = now(); + $member->save(); + } +} diff --git a/app/Jobs/GroupsPipeline/NewCommentPipeline.php b/app/Jobs/GroupsPipeline/NewCommentPipeline.php new file mode 100644 index 000000000..fb618a14d --- /dev/null +++ b/app/Jobs/GroupsPipeline/NewCommentPipeline.php @@ -0,0 +1,115 @@ +parent = $parent; + $this->status = $status; + } + + /** + * Execute the job. + * + * @return void + */ + public function handle() + { + $profile = $this->status->profile; + $status = $this->status; + + $parent = $this->parent; + $parent->reply_count = GroupComment::whereStatusId($parent->id)->count(); + $parent->save(); + + if ($profile->no_autolink == false) { + $this->parseEntities(); + } + } + + public function parseEntities() + { + $this->extractEntities(); + } + + public function extractEntities() + { + $this->entities = Extractor::create()->extract($this->status->caption); + $this->autolinkStatus(); + } + + public function autolinkStatus() + { + $this->autolink = Autolink::create()->autolink($this->status->caption); + $this->storeHashtags(); + } + + public function storeHashtags() + { + $tags = array_unique($this->entities['hashtags']); + $status = $this->status; + + foreach ($tags as $tag) { + if (mb_strlen($tag) > 124) { + continue; + } + DB::transaction(function () use ($status, $tag) { + $hashtag = GroupHashtag::firstOrCreate([ + 'name' => $tag, + ]); + + GroupPostHashtag::firstOrCreate( + [ + 'status_id' => $status->id, + 'group_id' => $status->group_id, + 'hashtag_id' => $hashtag->id, + 'profile_id' => $status->profile_id, + 'status_visibility' => $status->visibility, + ] + ); + }); + } + $this->storeMentions(); + } + + public function storeMentions() + { + // todo + } +} diff --git a/app/Jobs/GroupsPipeline/NewPostPipeline.php b/app/Jobs/GroupsPipeline/NewPostPipeline.php new file mode 100644 index 000000000..1302a0233 --- /dev/null +++ b/app/Jobs/GroupsPipeline/NewPostPipeline.php @@ -0,0 +1,108 @@ +status = $status; + } + + /** + * Execute the job. + * + * @return void + */ + public function handle() + { + $profile = $this->status->profile; + $status = $this->status; + + if ($profile->no_autolink == false) { + $this->parseEntities(); + } + } + + public function parseEntities() + { + $this->extractEntities(); + } + + public function extractEntities() + { + $this->entities = Extractor::create()->extract($this->status->caption); + $this->autolinkStatus(); + } + + public function autolinkStatus() + { + $this->autolink = Autolink::create()->autolink($this->status->caption); + $this->storeHashtags(); + } + + public function storeHashtags() + { + $tags = array_unique($this->entities['hashtags']); + $status = $this->status; + + foreach ($tags as $tag) { + if (mb_strlen($tag) > 124) { + continue; + } + DB::transaction(function () use ($status, $tag) { + $hashtag = GroupHashtag::firstOrCreate([ + 'name' => $tag, + ]); + + GroupPostHashtag::firstOrCreate( + [ + 'status_id' => $status->id, + 'group_id' => $status->group_id, + 'hashtag_id' => $hashtag->id, + 'profile_id' => $status->profile_id, + 'status_visibility' => $status->visibility, + ] + ); + }); + } + $this->storeMentions(); + } + + public function storeMentions() + { + // todo + } +} diff --git a/app/Models/Group.php b/app/Models/Group.php new file mode 100644 index 000000000..508ed98c0 --- /dev/null +++ b/app/Models/Group.php @@ -0,0 +1,67 @@ + 'json' + ]; + + public function url() + { + return url("/groups/{$this->id}"); + } + + public function permalink($suffix = null) + { + if(!$this->local) { + return $this->remote_url; + } + return $this->url() . $suffix; + } + + public function members() + { + return $this->hasMany(GroupMember::class); + } + + public function admin() + { + return $this->belongsTo(Profile::class, 'profile_id'); + } + + public function isMember($id = false) + { + $id = $id ?? request()->user()->profile_id; + // return $this->members()->whereProfileId($id)->whereJoinRequest(false)->exists(); + return GroupService::isMember($this->id, $id); + } + + public function getMembershipType() + { + return $this->is_private ? 'private' : ($this->is_local ? 'local' : 'all'); + } + + public function selfRole($id = false) + { + $id = $id ?? request()->user()->profile_id; + return optional($this->members()->whereProfileId($id)->first())->role ?? null; + } +} diff --git a/app/Models/GroupActivityGraph.php b/app/Models/GroupActivityGraph.php new file mode 100644 index 000000000..55981d20a --- /dev/null +++ b/app/Models/GroupActivityGraph.php @@ -0,0 +1,11 @@ +belongsTo(Profile::class); + } + + public function url() + { + return '/group/' . $this->group_id . '/c/' . $this->id; + } +} diff --git a/app/Models/GroupEvent.php b/app/Models/GroupEvent.php new file mode 100644 index 000000000..ddcd074cc --- /dev/null +++ b/app/Models/GroupEvent.php @@ -0,0 +1,11 @@ + 'array' + ]; +} diff --git a/app/Models/GroupInvitation.php b/app/Models/GroupInvitation.php new file mode 100644 index 000000000..adcd38ea4 --- /dev/null +++ b/app/Models/GroupInvitation.php @@ -0,0 +1,11 @@ + 'json', + 'metadata' => 'json' + ]; + + protected $fillable = [ + 'profile_id', + 'group_id' + ]; +} diff --git a/app/Models/GroupMedia.php b/app/Models/GroupMedia.php new file mode 100644 index 000000000..12f424151 --- /dev/null +++ b/app/Models/GroupMedia.php @@ -0,0 +1,39 @@ + + */ + protected function casts(): array + { + return [ + 'metadata' => 'json', + 'processed_at' => 'datetime', + 'thumbnail_generated' => 'datetime' + ]; + } + + public function url() + { + if($this->cdn_url) { + return $this->cdn_url; + } + return Storage::url($this->media_path); + } + + public function thumbnailUrl() + { + return $this->thumbnail_url; + } +} diff --git a/app/Models/GroupMember.php b/app/Models/GroupMember.php new file mode 100644 index 000000000..4f15e0d3e --- /dev/null +++ b/app/Models/GroupMember.php @@ -0,0 +1,16 @@ +belongsTo(Group::class); + } +} diff --git a/app/Models/GroupPost.php b/app/Models/GroupPost.php new file mode 100644 index 000000000..59693ec6b --- /dev/null +++ b/app/Models/GroupPost.php @@ -0,0 +1,57 @@ +group_id . '/' . $this->id; + } + + public function group() + { + return $this->belongsTo(Group::class); + } + + public function status() + { + return $this->belongsTo(Status::class); + } + + public function profile() + { + return $this->belongsTo(Profile::class); + } + + public function url() + { + return '/groups/' . $this->group_id . '/p/' . $this->id; + } +} diff --git a/app/Models/GroupPostHashtag.php b/app/Models/GroupPostHashtag.php new file mode 100644 index 000000000..46165dd7c --- /dev/null +++ b/app/Models/GroupPostHashtag.php @@ -0,0 +1,22 @@ + 100) { + $stop = 100; + } + + return Redis::zrevrange(self::CACHE_KEY.$gid, $start, $stop); + } + + public static function getRankedMaxId($gid, $start = null, $limit = 10) + { + if (! $start) { + return []; + } + + return array_keys(Redis::zrevrangebyscore(self::CACHE_KEY.$gid, $start, '-inf', [ + 'withscores' => true, + 'limit' => [1, $limit], + ])); + } + + public static function getRankedMinId($gid, $end = null, $limit = 10) + { + if (! $end) { + return []; + } + + return array_keys(Redis::zrevrangebyscore(self::CACHE_KEY.$gid, '+inf', $end, [ + 'withscores' => true, + 'limit' => [0, $limit], + ])); + } + + public static function add($gid, $val) + { + if (self::count($gid) > self::FEED_LIMIT) { + if (config('database.redis.client') === 'phpredis') { + Redis::zpopmin(self::CACHE_KEY.$gid); + } + } + + return Redis::zadd(self::CACHE_KEY.$gid, $val, $val); + } + + public static function rem($gid, $val) + { + return Redis::zrem(self::CACHE_KEY.$gid, $val); + } + + public static function del($gid, $val) + { + return self::rem($gid, $val); + } + + public static function count($gid) + { + return Redis::zcard(self::CACHE_KEY.$gid); + } + + public static function warmCache($gid, $force = false, $limit = 100) + { + if (self::count($gid) == 0 || $force == true) { + Redis::del(self::CACHE_KEY.$gid); + $ids = GroupPost::whereGroupId($gid) + ->orderByDesc('id') + ->limit($limit) + ->pluck('id'); + foreach ($ids as $id) { + self::add($gid, $id); + } + + return 1; + } + } +} diff --git a/app/Services/GroupPostService.php b/app/Services/GroupPostService.php new file mode 100644 index 000000000..7295bda40 --- /dev/null +++ b/app/Services/GroupPostService.php @@ -0,0 +1,49 @@ +find($pid); + + if (! $gp) { + return null; + } + + $fractal = new Fractal\Manager(); + $fractal->setSerializer(new ArraySerializer()); + $resource = new Fractal\Resource\Item($gp, new GroupPostTransformer()); + $res = $fractal->createData($resource)->toArray(); + + $res['pf_type'] = $gp['type']; + $res['url'] = $gp->url(); + + // if($gp['type'] == 'poll') { + // $status['poll'] = PollService::get($status['id']); + // } + //$status['account']['url'] = url("/groups/{$gp['group_id']}/user/{$status['account']['id']}"); + return $res; + }); + } + + public static function del($gid, $pid) + { + return Cache::forget(self::key($gid, $pid)); + } +} diff --git a/app/Services/GroupService.php b/app/Services/GroupService.php new file mode 100644 index 000000000..ac1a1a1c6 --- /dev/null +++ b/app/Services/GroupService.php @@ -0,0 +1,366 @@ +withoutRelations()->whereNull('status')->find($id); + + if(!$group) { + return null; + } + + $admin = $group->profile_id ? AccountService::get($group->profile_id) : null; + + return [ + 'id' => (string) $group->id, + 'name' => $group->name, + 'description' => $group->description, + 'short_description' => str_limit(strip_tags($group->description), 120), + 'category' => self::categoryById($group->category_id), + 'local' => (bool) $group->local, + 'url' => $group->url(), + 'shorturl' => url('/g/'.HashidService::encode($group->id)), + 'membership' => $group->getMembershipType(), + 'member_count' => $group->members()->whereJoinRequest(false)->count(), + 'verified' => false, + 'self' => null, + 'admin' => $admin, + 'config' => [ + 'recommended' => (bool) $group->recommended, + 'discoverable' => (bool) $group->discoverable, + 'activitypub' => (bool) $group->activitypub, + 'is_nsfw' => (bool) $group->is_nsfw, + 'dms' => (bool) $group->dms + ], + 'metadata' => $group->metadata, + 'created_at' => $group->created_at->toAtomString(), + ]; + } + ); + + if($pid) { + $res['self'] = self::getSelf($id, $pid); + } + + return $res; + } + + public static function del($id) + { + Cache::forget('ap:groups:object:' . $id); + return Cache::forget(self::key($id)); + } + + public static function getSelf($gid, $pid) + { + return Cache::remember( + self::key('self:gid-' . $gid . ':pid-' . $pid), + 3600, + function() use($gid, $pid) { + $group = Group::find($gid); + + if(!$gid || !$pid) { + return [ + 'is_member' => false, + 'role' => null, + 'is_requested' => null + ]; + } + + return [ + 'is_member' => $group->isMember($pid), + 'role' => $group->selfRole($pid), + 'is_requested' => optional($group->members()->whereProfileId($pid)->first())->join_request ?? false + ]; + } + ); + } + + public static function delSelf($gid, $pid) + { + Cache::forget(self::key("is_member:{$gid}:{$pid}")); + return Cache::forget(self::key('self:gid-' . $gid . ':pid-' . $pid)); + } + + public static function sidToGid($gid, $pid) + { + return Cache::remember(self::key('s2gid:' . $gid . ':' . $pid), 3600, function() use($gid, $pid) { + return optional(GroupPost::whereGroupId($gid)->whereStatusId($pid)->first())->id; + }); + } + + public static function membershipsByPid($pid) + { + return Cache::remember(self::key("mbpid:{$pid}"), 3600, function() use($pid) { + return GroupMember::whereProfileId($pid)->pluck('group_id'); + }); + } + + public static function config() + { + return [ + 'enabled' => config('exp.gps') ?? false, + 'limits' => [ + 'group' => [ + 'max' => 999, + 'federation' => false, + ], + + 'user' => [ + 'create' => [ + 'new' => true, + 'max' => 10 + ], + 'join' => [ + 'max' => 10 + ], + 'invite' => [ + 'max' => 20 + ] + ] + ], + 'guest' => [ + 'public' => false + ] + ]; + } + + public static function fetchRemote($url) + { + // todo: refactor this demo + $res = Helpers::fetchFromUrl($url); + + if(!$res || !isset($res['type']) || $res['type'] != 'Group') { + return false; + } + + $group = Group::whereRemoteUrl($url)->first(); + + if($group) { + return $group; + } + + $group = new Group; + $group->remote_url = $res['url']; + $group->name = $res['name']; + $group->inbox_url = $res['inbox']; + $group->metadata = [ + 'header' => [ + 'url' => $res['icon']['image']['url'] + ] + ]; + $group->description = Purify::clean($res['summary']); + $group->local = false; + $group->save(); + + return $group->url(); + } + + public static function log( + string $groupId, + string $profileId, + string $type = null, + array $meta = null, + string $itemType = null, + string $itemId = null + ) + { + // todo: truncate (some) metadata after XX days in cron/queue + $log = new GroupInteraction; + $log->group_id = $groupId; + $log->profile_id = $profileId; + $log->type = $type; + $log->item_type = $itemType; + $log->item_id = $itemId; + $log->metadata = $meta; + $log->save(); + } + + public static function getRejoinTimeout($gid, $pid) + { + $key = self::key('rejoin-timeout:gid-' . $gid . ':pid-' . $pid); + return Cache::has($key); + } + + public static function setRejoinTimeout($gid, $pid) + { + // todo: allow group admins to manually remove timeout + $key = self::key('rejoin-timeout:gid-' . $gid . ':pid-' . $pid); + return Cache::put($key, 1, 86400); + } + + public static function getMemberInboxes($id) + { + // todo: cache this, maybe add join/leave methods to this service to handle cache invalidation + $group = (new Group)->withoutRelations()->findOrFail($id); + if(!$group->local) { + return []; + } + $members = GroupMember::whereGroupId($id)->whereLocalProfile(false)->pluck('profile_id'); + return Profile::find($members)->map(function($u) { + return $u->sharedInbox ?? $u->inbox_url; + })->toArray(); + } + + public static function getInteractionLimits($gid, $pid) + { + return Cache::remember(self::key(":il:{$gid}:{$pid}"), 3600, function() use($gid, $pid) { + $limit = GroupLimit::whereGroupId($gid)->whereProfileId($pid)->first(); + if(!$limit) { + return [ + 'limits' => [ + 'can_post' => true, + 'can_comment' => true, + 'can_like' => true + ], + 'updated_at' => null + ]; + } + + return [ + 'limits' => $limit->limits, + 'updated_at' => $limit->updated_at->format('c') + ]; + }); + } + + public static function clearInteractionLimits($gid, $pid) + { + return Cache::forget(self::key(":il:{$gid}:{$pid}")); + } + + public static function canPost($gid, $pid) + { + $limits = self::getInteractionLimits($gid, $pid); + if($limits) { + return (bool) $limits['limits']['can_post']; + } else { + return true; + } + } + + public static function canComment($gid, $pid) + { + $limits = self::getInteractionLimits($gid, $pid); + if($limits) { + return (bool) $limits['limits']['can_comment']; + } else { + return true; + } + } + + public static function canLike($gid, $pid) + { + $limits = self::getInteractionLimits($gid, $pid); + if($limits) { + return (bool) $limits['limits']['can_like']; + } else { + return true; + } + } + + public static function categories($onlyActive = true) + { + return Cache::remember(self::key(':categories'), 2678400, function() use($onlyActive) { + return GroupCategory::when($onlyActive, function($q, $onlyActive) { + return $q->whereActive(true); + }) + ->orderBy('order') + ->pluck('name') + ->toArray(); + }); + } + + public static function categoryById($id) + { + return Cache::remember(self::key(':categorybyid:'.$id), 2678400, function() use($id) { + $category = GroupCategory::find($id); + if($category) { + return [ + 'name' => $category->name, + 'url' => url("/groups/explore/category/{$category->slug}") + ]; + } + return false; + }); + } + + public static function isMember($gid = false, $pid = false) + { + if(!$gid || !$pid) { + return false; + } + + $key = self::key("is_member:{$gid}:{$pid}"); + return Cache::remember($key, 3600, function() use($gid, $pid) { + return GroupMember::whereGroupId($gid) + ->whereProfileId($pid) + ->whereJoinRequest(false) + ->exists(); + }); + } + + public static function mutualGroups($cid = false, $pid = false, $exclude = []) + { + if(!$cid || !$pid) { + return [ + 'count' => 0, + 'groups' => [] + ]; + } + + $self = self::membershipsByPid($cid); + $user = self::membershipsByPid($pid); + + if(!$self->count() || !$user->count()) { + return [ + 'count' => 0, + 'groups' => [] + ]; + } + + $intersect = $self->intersect($user); + $count = $intersect->count(); + $groups = $intersect + ->values() + ->filter(function($id) use($exclude) { + return !in_array($id, $exclude); + }) + ->shuffle() + ->take(1) + ->map(function($id) { + return self::get($id); + }); + + return [ + 'count' => $count, + 'groups' => $groups + ]; + } +} diff --git a/app/Services/Groups/GroupAccountService.php b/app/Services/Groups/GroupAccountService.php new file mode 100644 index 000000000..2d86e4f43 --- /dev/null +++ b/app/Services/Groups/GroupAccountService.php @@ -0,0 +1,51 @@ +whereProfileId($pid)->first(); + if(!$membership) { + return []; + } + + return [ + 'joined' => $membership->created_at->format('c'), + 'role' => $membership->role, + 'local_group' => (bool) $membership->local_group, + 'local_profile' => (bool) $membership->local_profile, + ]; + }); + return $account; + } + + public static function del($gid, $pid) + { + $key = self::CACHE_KEY . $gid . ':' . $pid; + return Cache::forget($key); + } +} diff --git a/app/Services/Groups/GroupActivityPubService.php b/app/Services/Groups/GroupActivityPubService.php new file mode 100644 index 000000000..4c48b22c4 --- /dev/null +++ b/app/Services/Groups/GroupActivityPubService.php @@ -0,0 +1,311 @@ +first(); + if($group) { + return $group; + } + + $res = ActivityPubFetchService::get($url); + if(!$res) { + return $res; + } + $json = json_decode($res, true); + $group = self::validateGroup($json); + if(!$group) { + return false; + } + if($saveOnFetch) { + return self::storeGroup($group); + } + return $group; + } + + public static function fetchGroupPost($url, $saveOnFetch = true) + { + $group = GroupPost::where('remote_url', $url)->first(); + + if($group) { + return $group; + } + + $res = ActivityPubFetchService::get($url); + if(!$res) { + return 'invalid res'; + } + $json = json_decode($res, true); + if(!$json) { + return 'invalid json'; + } + if(isset($json['inReplyTo'])) { + $comment = self::validateGroupComment($json); + return self::storeGroupComment($comment); + } + + $group = self::validateGroupPost($json); + if($saveOnFetch) { + return self::storeGroupPost($group); + } + return $group; + } + + public static function validateGroup($obj) + { + $validator = Validator::make($obj, [ + '@context' => 'required', + 'id' => ['required', 'url', new ValidUrl], + 'type' => 'required|in:Group', + 'preferredUsername' => 'required', + 'name' => 'required', + 'url' => ['sometimes', 'url', new ValidUrl], + 'inbox' => ['required', 'url', new ValidUrl], + 'outbox' => ['required', 'url', new ValidUrl], + 'followers' => ['required', 'url', new ValidUrl], + 'attributedTo' => 'required', + 'summary' => 'sometimes', + 'publicKey' => 'required', + 'publicKey.id' => 'required', + 'publicKey.owner' => ['required', 'url', 'same:id', new ValidUrl], + 'publicKey.publicKeyPem' => 'required', + ]); + + if($validator->fails()) { + return false; + } + + return $validator->validated(); + } + + public static function validateGroupPost($obj) + { + $validator = Validator::make($obj, [ + '@context' => 'required', + 'id' => ['required', 'url', new ValidUrl], + 'type' => 'required|in:Page,Note', + 'to' => 'required|array', + 'to.*' => ['required', 'url', new ValidUrl], + 'cc' => 'sometimes|array', + 'cc.*' => ['sometimes', 'url', new ValidUrl], + 'url' => ['sometimes', 'url', new ValidUrl], + 'attributedTo' => 'required', + 'name' => 'sometimes', + 'target' => 'sometimes', + 'audience' => 'sometimes', + 'inReplyTo' => 'sometimes', + 'content' => 'sometimes', + 'mediaType' => 'sometimes', + 'sensitive' => 'sometimes', + 'attachment' => 'sometimes', + 'published' => 'required', + ]); + + if($validator->fails()) { + return false; + } + + return $validator->validated(); + } + + public static function validateGroupComment($obj) + { + $validator = Validator::make($obj, [ + '@context' => 'required', + 'id' => ['required', 'url', new ValidUrl], + 'type' => 'required|in:Note', + 'to' => 'required|array', + 'to.*' => ['required', 'url', new ValidUrl], + 'cc' => 'sometimes|array', + 'cc.*' => ['sometimes', 'url', new ValidUrl], + 'url' => ['sometimes', 'url', new ValidUrl], + 'attributedTo' => 'required', + 'name' => 'sometimes', + 'target' => 'sometimes', + 'audience' => 'sometimes', + 'inReplyTo' => 'sometimes', + 'content' => 'sometimes', + 'mediaType' => 'sometimes', + 'sensitive' => 'sometimes', + 'published' => 'required', + ]); + + if($validator->fails()) { + return $validator->errors(); + return false; + } + + return $validator->validated(); + } + + public static function getGroupFromPostActivity($groupPost) + { + if(isset($groupPost['audience']) && is_string($groupPost['audience'])) { + return $groupPost['audience']; + } + + if( + isset( + $groupPost['target'], + $groupPost['target']['type'], + $groupPost['target']['attributedTo'] + ) && $groupPost['target']['type'] == 'Collection' + ) { + return $groupPost['target']['attributedTo']; + } + + return false; + } + + public static function getActorFromPostActivity($groupPost) + { + if(!isset($groupPost['attributedTo'])) { + return false; + } + + $field = $groupPost['attributedTo']; + + if(is_string($field)) { + return $field; + } + + if(is_array($field) && count($field) === 1) { + if( + isset( + $field[0]['id'], + $field[0]['type'] + ) && + $field[0]['type'] === 'Person' && + is_string($field[0]['id']) + ) { + return $field[0]['id']; + } + } + + return false; + } + + public static function getCaptionFromPostActivity($groupPost) + { + if(!isset($groupPost['name']) && isset($groupPost['content'])) { + return Purify::clean(strip_tags($groupPost['content'])); + } + + if(isset($groupPost['name'], $groupPost['content'])) { + return Purify::clean(strip_tags($groupPost['name'])) . Purify::clean(strip_tags($groupPost['content'])); + } + } + + public static function getSensitiveFromPostActivity($groupPost) + { + if(!isset($groupPost['sensitive'])) { + return true; + } + + if(isset($groupPost['sensitive']) && !is_bool($groupPost['sensitive'])) { + return true; + } + + return boolval($groupPost['sensitive']); + } + + public static function storeGroup($activity) + { + $group = new Group; + $group->profile_id = null; + $group->category_id = 1; + $group->name = $activity['name'] ?? 'Untitled Group'; + $group->description = isset($activity['summary']) ? Purify::clean($activity['summary']) : null; + $group->is_private = false; + $group->local_only = false; + $group->metadata = []; + $group->local = false; + $group->remote_url = $activity['id']; + $group->inbox_url = $activity['inbox']; + $group->activitypub = true; + $group->save(); + + return $group; + } + + public static function storeGroupPost($groupPost) + { + $groupUrl = self::getGroupFromPostActivity($groupPost); + if(!$groupUrl) { + return; + } + $group = self::fetchGroup($groupUrl, true); + if(!$group) { + return; + } + $actorUrl = self::getActorFromPostActivity($groupPost); + $actor = Helpers::profileFetch($actorUrl); + $caption = self::getCaptionFromPostActivity($groupPost); + $sensitive = self::getSensitiveFromPostActivity($groupPost); + $model = GroupPost::firstOrCreate( + [ + 'remote_url' => $groupPost['id'], + ], [ + 'group_id' => $group->id, + 'profile_id' => $actor->id, + 'type' => 'text', + 'caption' => $caption, + 'visibility' => 'public', + 'is_nsfw' => $sensitive, + ] + ); + return $model; + } + + public static function storeGroupComment($groupPost) + { + $groupUrl = self::getGroupFromPostActivity($groupPost); + if(!$groupUrl) { + return; + } + $group = self::fetchGroup($groupUrl, true); + if(!$group) { + return; + } + $actorUrl = self::getActorFromPostActivity($groupPost); + $actor = Helpers::profileFetch($actorUrl); + $caption = self::getCaptionFromPostActivity($groupPost); + $sensitive = self::getSensitiveFromPostActivity($groupPost); + $parentPost = self::fetchGroupPost($groupPost['inReplyTo']); + $model = GroupComment::firstOrCreate( + [ + 'remote_url' => $groupPost['id'], + ], [ + 'group_id' => $group->id, + 'profile_id' => $actor->id, + 'status_id' => $parentPost->id, + 'type' => 'text', + 'caption' => $caption, + 'visibility' => 'public', + 'is_nsfw' => $sensitive, + 'local' => $actor->private_key != null + ] + ); + return $model; + } +} diff --git a/app/Services/Groups/GroupCommentService.php b/app/Services/Groups/GroupCommentService.php new file mode 100644 index 000000000..52eeee533 --- /dev/null +++ b/app/Services/Groups/GroupCommentService.php @@ -0,0 +1,50 @@ +find($pid); + + if(!$gp) { + return null; + } + + $fractal = new Fractal\Manager(); + $fractal->setSerializer(new ArraySerializer()); + $resource = new Fractal\Resource\Item($gp, new GroupPostTransformer()); + $res = $fractal->createData($resource)->toArray(); + + $res['pf_type'] = 'group:post:comment'; + $res['url'] = $gp->url(); + // if($gp['type'] == 'poll') { + // $status['poll'] = PollService::get($status['id']); + // } + //$status['account']['url'] = url("/groups/{$gp['group_id']}/user/{$status['account']['id']}"); + return $res; + }); + } + + public static function del($gid, $pid) + { + return Cache::forget(self::key($gid, $pid)); + } +} diff --git a/app/Services/Groups/GroupFeedService.php b/app/Services/Groups/GroupFeedService.php new file mode 100644 index 000000000..a2a87be1d --- /dev/null +++ b/app/Services/Groups/GroupFeedService.php @@ -0,0 +1,95 @@ + 100) { + $stop = 100; + } + + return Redis::zrevrange(self::CACHE_KEY . $gid, $start, $stop); + } + + public static function getRankedMaxId($gid, $start = null, $limit = 10) + { + if(!$start) { + return []; + } + + return array_keys(Redis::zrevrangebyscore(self::CACHE_KEY . $gid, $start, '-inf', [ + 'withscores' => true, + 'limit' => [1, $limit] + ])); + } + + public static function getRankedMinId($gid, $end = null, $limit = 10) + { + if(!$end) { + return []; + } + + return array_keys(Redis::zrevrangebyscore(self::CACHE_KEY . $gid, '+inf', $end, [ + 'withscores' => true, + 'limit' => [0, $limit] + ])); + } + + public static function add($gid, $val) + { + if(self::count($gid) > self::FEED_LIMIT) { + if(config('database.redis.client') === 'phpredis') { + Redis::zpopmin(self::CACHE_KEY . $gid); + } + } + + return Redis::zadd(self::CACHE_KEY . $gid, $val, $val); + } + + public static function rem($gid, $val) + { + return Redis::zrem(self::CACHE_KEY . $gid, $val); + } + + public static function del($gid, $val) + { + return self::rem($gid, $val); + } + + public static function count($gid) + { + return Redis::zcard(self::CACHE_KEY . $gid); + } + + public static function warmCache($gid, $force = false, $limit = 100) + { + if(self::count($gid) == 0 || $force == true) { + Redis::del(self::CACHE_KEY . $gid); + $ids = GroupPost::whereGroupId($gid) + ->orderByDesc('id') + ->limit($limit) + ->pluck('id'); + foreach($ids as $id) { + self::add($gid, $id); + } + return 1; + } + } +} diff --git a/app/Services/Groups/GroupHashtagService.php b/app/Services/Groups/GroupHashtagService.php new file mode 100644 index 000000000..6553850f0 --- /dev/null +++ b/app/Services/Groups/GroupHashtagService.php @@ -0,0 +1,28 @@ + $tag->name, + 'slug' => Str::slug($tag->name), + ]; + }); + } +} diff --git a/app/Services/Groups/GroupMediaService.php b/app/Services/Groups/GroupMediaService.php new file mode 100644 index 000000000..0200e3a56 --- /dev/null +++ b/app/Services/Groups/GroupMediaService.php @@ -0,0 +1,114 @@ +orderBy('order')->get(); + if(!$media) { + return []; + } + $medias = $media->map(function($media) { + return [ + 'id' => (string) $media->id, + 'type' => 'Document', + 'url' => $media->url(), + 'preview_url' => $media->url(), + 'remote_url' => $media->url, + 'description' => $media->cw_summary, + 'blurhash' => $media->blurhash ?? 'U4Rfzst8?bt7ogayj[j[~pfQ9Goe%Mj[WBay' + ]; + }); + return $medias->toArray(); + }); + } + + public static function getMastodon($id) + { + $media = self::get($id); + if(!$media) { + return []; + } + $medias = collect($media) + ->map(function($media) { + $mime = $media['mime'] ? explode('/', $media['mime']) : false; + unset( + $media['optimized_url'], + $media['license'], + $media['is_nsfw'], + $media['orientation'], + $media['filter_name'], + $media['filter_class'], + $media['mime'], + $media['hls_manifest'] + ); + + $media['type'] = $mime ? strtolower($mime[0]) : 'unknown'; + return $media; + }) + ->filter(function($m) { + return $m && isset($m['url']); + }) + ->values(); + + return $medias->toArray(); + } + + public static function del($statusId) + { + return Cache::forget(self::CACHE_KEY . $statusId); + } + + public static function activitypub($statusId) + { + $status = self::get($statusId); + if(!$status) { + return []; + } + + return collect($status)->map(function($s) { + $license = isset($s['license']) && $s['license']['title'] ? $s['license']['title'] : null; + return [ + 'type' => 'Document', + 'mediaType' => $s['mime'], + 'url' => $s['url'], + 'name' => $s['description'], + 'summary' => $s['description'], + 'blurhash' => $s['blurhash'], + 'license' => $license + ]; + }); + } +} diff --git a/app/Services/Groups/GroupPostService.php b/app/Services/Groups/GroupPostService.php new file mode 100644 index 000000000..a043be134 --- /dev/null +++ b/app/Services/Groups/GroupPostService.php @@ -0,0 +1,83 @@ +find($pid); + + if(!$gp) { + return null; + } + + $fractal = new Fractal\Manager(); + $fractal->setSerializer(new ArraySerializer()); + $resource = new Fractal\Resource\Item($gp, new GroupPostTransformer()); + $res = $fractal->createData($resource)->toArray(); + + $res['pf_type'] = $gp['type']; + $res['url'] = $gp->url(); + // if($gp['type'] == 'poll') { + // $status['poll'] = PollService::get($status['id']); + // } + //$status['account']['url'] = url("/groups/{$gp['group_id']}/user/{$status['account']['id']}"); + return $res; + }); + } + + public static function del($gid, $pid) + { + return Cache::forget(self::key($gid, $pid)); + } + + public function getStatus(Request $request) + { + $gid = $request->input('gid'); + $sid = $request->input('sid'); + $pid = optional($request->user())->profile_id ?? false; + + $group = Group::findOrFail($gid); + + if($group->is_private) { + abort_if(!$group->isMember($pid), 404); + } + + $gp = GroupPost::whereGroupId($group->id)->whereId($sid)->firstOrFail(); + + $status = GroupPostService::get($gp['group_id'], $gp['id']); + if(!$status) { + return false; + } + $status['reply_count'] = $gp['reply_count']; + $status['favourited'] = (bool) GroupsLikeService::liked($pid, $gp['id']); + $status['favourites_count'] = GroupsLikeService::count($gp['id']); + $status['pf_type'] = $gp['type']; + $status['visibility'] = 'public'; + $status['url'] = $gp->url(); + $status['account']['url'] = url("/groups/{$gp->group_id}/user/{$gp->profile_id}"); + + // if($gp['type'] == 'poll') { + // $status['poll'] = PollService::get($status['id']); + // } + + return $status; + } +} diff --git a/app/Services/Groups/GroupsLikeService.php b/app/Services/Groups/GroupsLikeService.php new file mode 100644 index 000000000..e2daa1e71 --- /dev/null +++ b/app/Services/Groups/GroupsLikeService.php @@ -0,0 +1,85 @@ + 400) { + Redis::zpopmin(self::CACHE_SET_KEY . $profileId); + } + + return Redis::zadd(self::CACHE_SET_KEY . $profileId, $statusId, $statusId); + } + + public static function setCount($id) + { + return Redis::zcard(self::CACHE_SET_KEY . $id); + } + + public static function setRem($profileId, $val) + { + return Redis::zrem(self::CACHE_SET_KEY . $profileId, $val); + } + + public static function get($profileId, $start = 0, $stop = 10) + { + if($stop > 100) { + $stop = 100; + } + + return Redis::zrevrange(self::CACHE_SET_KEY . $profileId, $start, $stop); + } + + public static function remove($profileId, $statusId) + { + $key = self::CACHE_KEY . $profileId . ':' . $statusId; + Cache::decrement(self::CACHE_POST_KEY . $statusId); + //Cache::forget('pf:services:likes:liked_by:'.$statusId); + self::setRem($profileId, $statusId); + return Cache::put($key, false, 86400); + } + + public static function liked($profileId, $statusId) + { + $key = self::CACHE_KEY . $profileId . ':' . $statusId; + return Cache::remember($key, 900, function() use($profileId, $statusId) { + return GroupLike::whereProfileId($profileId)->whereStatusId($statusId)->exists(); + }); + } + + public static function likedBy($status) + { + $empty = [ + 'username' => null, + 'others' => false + ]; + + return $empty; + } + + public static function count($id) + { + return Cache::get(self::CACHE_POST_KEY . $id, 0); + } + +} diff --git a/app/Transformer/Api/GroupPostTransformer.php b/app/Transformer/Api/GroupPostTransformer.php new file mode 100644 index 000000000..0999b3fa4 --- /dev/null +++ b/app/Transformer/Api/GroupPostTransformer.php @@ -0,0 +1,59 @@ + (string) $status->id, + 'gid' => $status->group_id ? (string) $status->group_id : null, + 'url' => '/groups/' . $status->group_id . '/p/' . $status->id, + 'content' => $status->caption, + 'content_text' => $status->caption, + 'created_at' => str_replace('+00:00', 'Z', $status->created_at->format(DATE_RFC3339_EXTENDED)), + 'reblogs_count' => $status->reblogs_count ?? 0, + 'favourites_count' => $status->likes_count ?? 0, + 'reblogged' => null, + 'favourited' => null, + 'muted' => null, + 'sensitive' => (bool) $status->is_nsfw, + 'spoiler_text' => $status->cw_summary ?? '', + 'visibility' => $status->visibility, + 'application' => [ + 'name' => 'web', + 'website' => null + ], + 'language' => null, + 'pf_type' => $status->type, + 'reply_count' => (int) $status->reply_count ?? 0, + 'comments_disabled' => (bool) $status->comments_disabled, + 'thread' => false, + 'media_attachments' => GroupMediaService::get($status->id), + 'replies' => [], + 'parent' => [], + 'place' => null, + 'local' => (bool) !$status->remote_url, + 'account' => AccountService::get($status->profile_id, true), + 'poll' => [], + ]; + } +} diff --git a/app/Util/ActivityPub/Helpers.php b/app/Util/ActivityPub/Helpers.php index 2002a8967..9e03beef1 100644 --- a/app/Util/ActivityPub/Helpers.php +++ b/app/Util/ActivityPub/Helpers.php @@ -858,6 +858,11 @@ class Helpers return self::profileFirstOrNew($url); } + public static function getSignedFetch($url) + { + return ActivityPubFetchService::get($url); + } + public static function sendSignedObject($profile, $url, $body) { if (app()->environment() !== 'production') { diff --git a/config/groups.php b/config/groups.php new file mode 100644 index 000000000..24513e502 --- /dev/null +++ b/config/groups.php @@ -0,0 +1,13 @@ + env('GROUPS_ENABLED', false), + 'federation' => env('GROUPS_FEDERATION', true), + + 'acl' => [ + 'create_group' => [ + 'admins' => env('GROUPS_ACL_CREATE_ADMINS', true), + 'users' => env('GROUPS_ACL_CREATE_USERS', true), + ] + ] +]; diff --git a/database/migrations/2021_08_04_100435_create_group_roles_table.php b/database/migrations/2021_08_04_100435_create_group_roles_table.php new file mode 100644 index 000000000..c2b0d0ff4 --- /dev/null +++ b/database/migrations/2021_08_04_100435_create_group_roles_table.php @@ -0,0 +1,36 @@ +id(); + $table->bigInteger('group_id')->unsigned()->index(); + $table->string('name'); + $table->string('slug')->nullable(); + $table->text('abilities')->nullable(); + $table->unique(['group_id', 'slug']); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('group_roles'); + } +} diff --git a/database/migrations/2021_08_16_100034_create_group_interactions_table.php b/database/migrations/2021_08_16_100034_create_group_interactions_table.php new file mode 100644 index 000000000..adc32d1d1 --- /dev/null +++ b/database/migrations/2021_08_16_100034_create_group_interactions_table.php @@ -0,0 +1,37 @@ +bigIncrements('id'); + $table->bigInteger('group_id')->unsigned()->index(); + $table->bigInteger('profile_id')->unsigned()->index(); + $table->string('type')->nullable()->index(); + $table->string('item_type')->nullable()->index(); + $table->string('item_id')->nullable()->index(); + $table->json('metadata')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('group_interactions'); + } +} diff --git a/database/migrations/2021_08_17_073839_create_group_reports_table.php b/database/migrations/2021_08_17_073839_create_group_reports_table.php new file mode 100644 index 000000000..93ed00d63 --- /dev/null +++ b/database/migrations/2021_08_17_073839_create_group_reports_table.php @@ -0,0 +1,39 @@ +id(); + $table->bigInteger('group_id')->unsigned()->index(); + $table->bigInteger('profile_id')->unsigned()->index(); + $table->string('type')->nullable()->index(); + $table->string('item_type')->nullable()->index(); + $table->string('item_id')->nullable()->index(); + $table->json('metadata')->nullable(); + $table->boolean('open')->default(true)->index(); + $table->unique(['group_id', 'profile_id', 'item_type', 'item_id']); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('group_reports'); + } +} diff --git a/database/migrations/2021_09_26_112423_create_group_blocks_table.php b/database/migrations/2021_09_26_112423_create_group_blocks_table.php new file mode 100644 index 000000000..320fcf985 --- /dev/null +++ b/database/migrations/2021_09_26_112423_create_group_blocks_table.php @@ -0,0 +1,40 @@ +bigIncrements('id'); + $table->bigInteger('group_id')->unsigned()->index(); + $table->bigInteger('admin_id')->unsigned()->nullable(); + $table->bigInteger('profile_id')->nullable()->unsigned()->index(); + $table->bigInteger('instance_id')->nullable()->unsigned()->index(); + $table->string('name')->nullable()->index(); + $table->string('reason')->nullable(); + $table->boolean('is_user')->index(); + $table->boolean('moderated')->default(false)->index(); + $table->unique(['group_id', 'profile_id', 'instance_id']); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('group_blocks'); + } +} diff --git a/database/migrations/2021_09_29_023230_create_group_limits_table.php b/database/migrations/2021_09_29_023230_create_group_limits_table.php new file mode 100644 index 000000000..67ca7bec8 --- /dev/null +++ b/database/migrations/2021_09_29_023230_create_group_limits_table.php @@ -0,0 +1,36 @@ +id(); + $table->bigInteger('group_id')->unsigned()->index(); + $table->bigInteger('profile_id')->unsigned()->index(); + $table->json('limits')->nullable(); + $table->json('metadata')->nullable(); + $table->unique(['group_id', 'profile_id']); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('group_limits'); + } +} diff --git a/database/migrations/2021_10_01_083917_create_group_categories_table.php b/database/migrations/2021_10_01_083917_create_group_categories_table.php new file mode 100644 index 000000000..481ddf5ef --- /dev/null +++ b/database/migrations/2021_10_01_083917_create_group_categories_table.php @@ -0,0 +1,102 @@ +id(); + $table->string('name')->unique()->index(); + $table->string('slug')->unique()->index(); + $table->boolean('active')->default(true)->index(); + $table->tinyInteger('order')->unsigned()->nullable(); + $table->json('metadata')->nullable(); + $table->timestamps(); + }); + + $default = [ + 'General', + 'Photography', + 'Fediverse', + 'CompSci & Programming', + 'Causes & Movements', + 'Humor', + 'Science & Tech', + 'Travel', + 'Buy & Sell', + 'Business', + 'Style', + 'Animals', + 'Sports & Fitness', + 'Education', + 'Arts', + 'Entertainment', + 'Faith & Spirituality', + 'Relationships & Identity', + 'Parenting', + 'Hobbies & Interests', + 'Food & Drink', + 'Vehicles & Commutes', + 'Civics & Community', + ]; + + for ($i=1; $i <= 23; $i++) { + $cat = new GroupCategory; + $cat->name = $default[$i - 1]; + $cat->slug = str_slug($cat->name); + $cat->active = true; + $cat->order = $i; + $cat->save(); + } + + Schema::table('groups', function (Blueprint $table) { + $table->unsignedInteger('category_id')->default(1)->index()->after('id'); + $table->unsignedInteger('member_count')->nullable(); + $table->boolean('recommended')->default(false)->index(); + $table->boolean('discoverable')->default(false)->index(); + $table->boolean('activitypub')->default(false); + $table->boolean('is_nsfw')->default(false); + $table->boolean('dms')->default(false); + $table->boolean('autospam')->default(false); + $table->boolean('verified')->default(false); + $table->timestamp('last_active_at')->nullable(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('group_categories'); + + Schema::table('groups', function (Blueprint $table) { + $table->dropColumn('category_id'); + $table->dropColumn('member_count'); + $table->dropColumn('recommended'); + $table->dropColumn('activitypub'); + $table->dropColumn('is_nsfw'); + $table->dropColumn('discoverable'); + $table->dropColumn('dms'); + $table->dropColumn('autospam'); + $table->dropColumn('verified'); + $table->dropColumn('last_active_at'); + $table->dropColumn('deleted_at'); + }); + } +} diff --git a/database/migrations/2021_10_09_004230_create_group_hashtags_table.php b/database/migrations/2021_10_09_004230_create_group_hashtags_table.php new file mode 100644 index 000000000..1d05dabb9 --- /dev/null +++ b/database/migrations/2021_10_09_004230_create_group_hashtags_table.php @@ -0,0 +1,36 @@ +bigIncrements('id'); + $table->string('name')->unique()->index(); + $table->string('formatted')->nullable(); + $table->boolean('recommended')->default(false); + $table->boolean('sensitive')->default(false); + $table->boolean('banned')->default(false); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('group_hashtags'); + } +} diff --git a/database/migrations/2021_10_09_004436_create_group_post_hashtags_table.php b/database/migrations/2021_10_09_004436_create_group_post_hashtags_table.php new file mode 100644 index 000000000..08014e399 --- /dev/null +++ b/database/migrations/2021_10_09_004436_create_group_post_hashtags_table.php @@ -0,0 +1,41 @@ +bigIncrements('id'); + $table->bigInteger('hashtag_id')->unsigned()->index(); + $table->bigInteger('group_id')->unsigned()->index(); + $table->bigInteger('profile_id')->unsigned(); + $table->bigInteger('status_id')->unsigned()->nullable(); + $table->string('status_visibility')->nullable(); + $table->boolean('nsfw')->default(false); + $table->unique(['hashtag_id', 'group_id', 'profile_id', 'status_id'], 'group_post_hashtags_gda_unique'); + $table->foreign('group_id')->references('id')->on('groups')->onDelete('cascade'); + $table->foreign('profile_id')->references('id')->on('profiles')->onDelete('cascade'); + $table->foreign('hashtag_id')->references('id')->on('group_hashtags')->onDelete('cascade'); + $table->foreign('status_id')->references('id')->on('group_posts')->onDelete('cascade'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('group_post_hashtags'); + } +} diff --git a/database/migrations/2021_10_13_002033_create_group_stores_table.php b/database/migrations/2021_10_13_002033_create_group_stores_table.php new file mode 100644 index 000000000..efdf0a966 --- /dev/null +++ b/database/migrations/2021_10_13_002033_create_group_stores_table.php @@ -0,0 +1,37 @@ +bigIncrements('id'); + $table->bigInteger('group_id')->unsigned()->nullable()->index(); + $table->string('store_key')->index(); + $table->json('store_value')->nullable(); + $table->json('metadata')->nullable(); + $table->unique(['group_id', 'store_key']); + $table->foreign('group_id')->references('id')->on('groups')->onDelete('cascade'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('group_stores'); + } +} diff --git a/database/migrations/2021_10_13_002041_create_group_events_table.php b/database/migrations/2021_10_13_002041_create_group_events_table.php new file mode 100644 index 000000000..166c35cf0 --- /dev/null +++ b/database/migrations/2021_10_13_002041_create_group_events_table.php @@ -0,0 +1,44 @@ +bigIncrements('id'); + $table->bigInteger('group_id')->unsigned()->nullable()->index(); + $table->bigInteger('profile_id')->unsigned()->nullable()->index(); + $table->string('name')->nullable(); + $table->string('type')->index(); + $table->json('tags')->nullable(); + $table->json('location')->nullable(); + $table->text('description')->nullable(); + $table->json('metadata')->nullable(); + $table->boolean('open')->default(false)->index(); + $table->boolean('comments_open')->default(false); + $table->boolean('show_guest_list')->default(false); + $table->timestamp('start_at')->nullable(); + $table->timestamp('end_at')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('group_events'); + } +} diff --git a/database/migrations/2021_10_13_002124_create_group_activity_graphs_table.php b/database/migrations/2021_10_13_002124_create_group_activity_graphs_table.php new file mode 100644 index 000000000..13fef7240 --- /dev/null +++ b/database/migrations/2021_10_13_002124_create_group_activity_graphs_table.php @@ -0,0 +1,36 @@ +bigIncrements('id'); + $table->bigInteger('instance_id')->nullable()->index(); + $table->bigInteger('actor_id')->nullable()->index(); + $table->string('verb')->nullable()->index(); + $table->string('id_url')->nullable()->unique()->index(); + $table->json('payload')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('group_activity_graphs'); + } +} diff --git a/database/migrations/2024_05_20_062706_update_group_posts_table.php b/database/migrations/2024_05_20_062706_update_group_posts_table.php new file mode 100644 index 000000000..99f272be9 --- /dev/null +++ b/database/migrations/2024_05_20_062706_update_group_posts_table.php @@ -0,0 +1,48 @@ +dropColumn('status_id'); + $table->dropColumn('reply_child_id'); + $table->dropColumn('in_reply_to_id'); + $table->dropColumn('reblog_of_id'); + $table->text('caption')->nullable(); + $table->string('visibility')->nullable(); + $table->boolean('is_nsfw')->default(false); + $table->unsignedInteger('likes_count')->default(0); + $table->text('cw_summary')->nullable(); + $table->json('media_ids')->nullable(); + $table->boolean('comments_disabled')->default(false); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('group_posts', function (Blueprint $table) { + $table->bigInteger('status_id')->unsigned()->unique()->nullable(); + $table->bigInteger('reply_child_id')->unsigned()->nullable(); + $table->bigInteger('in_reply_to_id')->unsigned()->nullable(); + $table->bigInteger('reblog_of_id')->unsigned()->nullable(); + $table->dropColumn('caption'); + $table->dropColumn('is_nsfw'); + $table->dropColumn('visibility'); + $table->dropColumn('likes_count'); + $table->dropColumn('cw_summary'); + $table->dropColumn('media_ids'); + $table->dropColumn('comments_disabled'); + }); + } +}; diff --git a/database/migrations/2024_05_20_063638_create_group_comments_table.php b/database/migrations/2024_05_20_063638_create_group_comments_table.php new file mode 100644 index 000000000..ad49f58c8 --- /dev/null +++ b/database/migrations/2024_05_20_063638_create_group_comments_table.php @@ -0,0 +1,43 @@ +bigIncrements('id'); + $table->unsignedBigInteger('group_id')->index(); + $table->unsignedBigInteger('profile_id')->nullable(); + $table->unsignedBigInteger('status_id')->nullable()->index(); + $table->unsignedBigInteger('in_reply_to_id')->nullable()->index(); + $table->string('remote_url')->nullable()->unique()->index(); + $table->text('caption')->nullable(); + $table->boolean('is_nsfw')->default(false); + $table->string('visibility')->nullable(); + $table->unsignedInteger('likes_count')->default(0); + $table->unsignedInteger('replies_count')->default(0); + $table->text('cw_summary')->nullable(); + $table->json('media_ids')->nullable(); + $table->string('status')->nullable(); + $table->string('type')->default('text')->nullable(); + $table->boolean('local')->default(false); + $table->json('metadata')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('group_comments'); + } +}; diff --git a/database/migrations/2024_05_20_073054_create_group_likes_table.php b/database/migrations/2024_05_20_073054_create_group_likes_table.php new file mode 100644 index 000000000..162ef7458 --- /dev/null +++ b/database/migrations/2024_05_20_073054_create_group_likes_table.php @@ -0,0 +1,33 @@ +bigIncrements('id'); + $table->unsignedBigInteger('group_id'); + $table->unsignedBigInteger('profile_id')->index(); + $table->unsignedBigInteger('status_id')->nullable(); + $table->unsignedBigInteger('comment_id')->nullable(); + $table->boolean('local')->default(true); + $table->unique(['group_id', 'profile_id', 'status_id', 'comment_id'], 'group_likes_gpsc_unique'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('group_likes'); + } +}; diff --git a/database/migrations/2024_05_20_083159_create_group_media_table.php b/database/migrations/2024_05_20_083159_create_group_media_table.php new file mode 100644 index 000000000..732856097 --- /dev/null +++ b/database/migrations/2024_05_20_083159_create_group_media_table.php @@ -0,0 +1,50 @@ +bigIncrements('id'); + $table->unsignedBigInteger('group_id'); + $table->unsignedBigInteger('profile_id'); + $table->unsignedBigInteger('status_id')->nullable()->index(); + $table->string('media_path')->unique(); + $table->text('thumbnail_url')->nullable(); + $table->text('cdn_url')->nullable(); + $table->text('url')->nullable(); + $table->string('mime')->nullable(); + $table->unsignedInteger('size')->nullable(); + $table->text('cw_summary')->nullable(); + $table->string('license')->nullable(); + $table->string('blurhash')->nullable(); + $table->tinyInteger('order')->unsigned()->default(1); + $table->unsignedInteger('width')->nullable(); + $table->unsignedInteger('height')->nullable(); + $table->boolean('local_user')->default(true); + $table->boolean('is_cached')->default(false); + $table->boolean('is_comment')->default(false)->index(); + $table->json('metadata')->nullable(); + $table->string('version')->default(1); + $table->boolean('skip_optimize')->default(false); + $table->timestamp('processed_at')->nullable(); + $table->timestamp('thumbnail_generated')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('group_media'); + } +}; diff --git a/public/js/changelog.bundle.d5810c2672b6abc7.js b/public/js/changelog.bundle.72c44e46a0cc74f9.js similarity index 67% rename from public/js/changelog.bundle.d5810c2672b6abc7.js rename to public/js/changelog.bundle.72c44e46a0cc74f9.js index b0a083d76..143294298 100644 --- a/public/js/changelog.bundle.d5810c2672b6abc7.js +++ b/public/js/changelog.bundle.72c44e46a0cc74f9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[9919],{87583:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(5787),i=a(28772);const r={components:{drawer:s.default,sidebar:i.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}}},50371:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={data:function(){return{user:window._sharedData.user}}}},84154:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,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{a.r(e),a.d(e,{default:()=>l});var s=a(95353),i=a(90414);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function n(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,s)}return a}function o(t,e,a){var s;return s=function(t,e){if("object"!=r(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var s=a.call(t,e||"default");if("object"!=r(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==r(s)?s:s+"")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:{UpdateAvatar:i.default},computed:function(t){for(var e=1;e)?/g,(function(e){var a=e.slice(1,e.length-1),s=t.getCustomEmoji.filter((function(t){return t.shortcode==a}));return s.length?''.concat(s[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()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},90358:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"web-wrapper"},[e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-3 d-md-block"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),t._m(0),t._v(" "),t._m(1)])]),t._v(" "),e("drawer")],1)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-md-6"},[e("div",{staticClass:"jumbotron shadow-sm bg-white"},[e("div",{staticClass:"text-center"},[e("h1",{staticClass:"font-weight-bold"},[t._v("What's New")]),t._v(" "),e("p",{staticClass:"lead mb-0"},[t._v("A log of changes in our new UI (Metro 2.0)")])])]),t._v(" "),e("div",{staticClass:"mt-4 pb-3"},[e("p",{staticClass:"lead"},[t._v("Apr 3, 2022")]),t._v(" "),e("ul",[e("li",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\t\tDark Mode "),e("br"),t._v(" "),e("p",{staticClass:"small"},[t._v("To enable dark or light mode, click on the top nav menu and then select UI Settings")])]),t._v(" "),e("li",[t._v("Improved internationalization support with the addition of 7 new languages")])])]),t._v(" "),e("div",{staticClass:"mt-4 pb-3"},[e("p",{staticClass:"lead"},[t._v("March 2022")]),t._v(" "),e("ul",[e("li",{staticClass:"font-weight-bold"},[t._v("Full screen previews on photo albums")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Filter notifications by type on notifications tab")]),t._v(" "),e("li",[t._v('Add "Shared by" link to posts that opens a list of accounts that reblogged the post')]),t._v(" "),e("li",[t._v("Fix private profile feed not loading for owner")])])]),t._v(" "),e("div",{staticClass:"mt-4 pb-3"},[e("p",{staticClass:"lead"},[t._v("Febuary 2022")]),t._v(" "),e("ul",[e("li",{staticClass:"font-weight-bold"},[t._v("New Discover layout with My Hashtags, My Memories, Account Insights, Find Friends and Server Timelines")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Mobile app drawer menu")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Add Preferred Profile Layout UI setting")]),t._v(" "),e("li",[t._v("Add search bar to mobile breakpoints and adjust avatar size when necessary")]),t._v(" "),e("li",[t._v("Improved profile layout on mobile breakpoints")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Threaded Comments Beta")]),t._v(" "),e("li",[t._v("Changed default media preview setting to non-fixed height media")]),t._v(" "),e("li",[t._v("Improved Compose Location search, will display popular locations first")]),t._v(" "),e("li",[t._v('Added "Comment" button to comment reply form and changed textarea/multiline icon toggle')]),t._v(" "),e("li",[t._v("Fixed incorrect avatar in profile post comment drawers")]),t._v(" "),e("li",[t._v("Hashtags will now include remote/federated posts on hashtag feeds")]),t._v(" "),e("li",[t._v("Moved media license to post header")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Improved Media Previews - disable to restore original preview aspect ratios")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Comments + Hovercards - comment usernames now support hovercards")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Quick Avatar Updates - click the "),e("i",{staticClass:"far fa-cog"}),t._v(" button on your avatar. Supports drag-n-drop and updates without page refresh in most places.")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Follows You badge on hovercards when applicable")]),t._v(" "),e("li",[t._v("Add Hide Counts & Stats setting")]),t._v(" "),e("li",[t._v("Fix nsfw videos not displaying sensitive warning")]),t._v(" "),e("li",[t._v("Added mod tools button to posts for admin accounts")])])]),t._v(" "),e("div",{staticClass:"mt-4 pb-3"},[e("p",{staticClass:"lead"},[t._v("January 2022")]),t._v(" "),e("ul",[e("li",[t._v("Fixed comment deletion")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("New Reaction bar on posts - to disable toggle this option in UI Settings menu")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Fresher Comments - fixed bug that prevented new comments from appearing and added a Refresh button to do it manually in the event it's needed")]),t._v(" "),e("li",[t._v("Added Comment Autoloading setting, enabled by default, it loads the first 3 comments")]),t._v(" "),e("li",[t._v("Added Likes feed to your own profile to view posts you liked")]),t._v(" "),e("li",[t._v("Fixed custom emoji rendering on sidebar, profiles and hover cards")]),t._v(" "),e("li",[t._v("Fixed duplicate notifications on feeds")]),t._v(" "),e("li",[t._v("New onboarding home feed with 6 popular accounts to help newcomers find accounts to follow")]),t._v(" "),e("li",[t._v("Added pronouns to hovercards")]),t._v(" "),e("li",[t._v("Fixed custom emoji rendering on home timeline")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Added Hovercards to usernames on timelines")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Improved search bar, now resolves (and imports) remote accounts and posts, including webfinger addresses")]),t._v(" "),e("li",[t._v("Added full account usernames to notifications on hover")]),t._v(" "),e("li",[t._v("Discover page will default to the Yearly tab if Daily tab is empty")]),t._v(" "),e("li",[t._v("Hashtag feed improvements (fix pagination placeholders, use 4x4 grid on larger screens)")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("New report modal for posts & comments")]),t._v(" "),e("li",[t._v("Fixed profile "),e("i",{staticClass:"far fa-bars px-1"}),t._v(" feed status interactions")]),t._v(" "),e("li",[t._v("Improved profile mobile layout")])])]),t._v(" "),e("div",{staticClass:"pb-3"},[e("p",{staticClass:"lead"},[t._v("Older")]),t._v(" "),e("p",[t._v("To view the full list of changes, view the project changelog "),e("a",{attrs:{href:"https://raw.githubusercontent.com/pixelfed/pixelfed/dev/CHANGELOG.md"}},[t._v("here")]),t._v(".")])])])},function(){var t=this._self._c;return t("div",{staticClass:"col-md-3"},[t("div",{staticClass:"alert alert-primary"},[t("p",{staticClass:"mb-0 small"},[this._v("We know some of our UI changes are controversial. We value your feedback and are working hard to incorporate it. Your patience is greatly appreciated!")])])])}]},69831:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},67153:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},67725:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},35518:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const r=i},54788:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const r=i},96259:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),r=a(35518),n={insert:"head",singleton:!1};i()(r.default,n);const o=r.default.locals||{}},5323:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),r=a(54788),n={insert:"head",singleton:!1};i()(r.default,n);const o=r.default.locals||{}},97775:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(27083),i=a(52532),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);const n=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},5787:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(16286),i=a(80260),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);a(68840);const n=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},90414:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(82704),i=a(55597),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);const n=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},28772:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(75754),i=a(75223),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);a(68338);const n=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},52532:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(87583),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const r=s.default},80260:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(50371),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const r=s.default},55597:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(84154),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const r=s.default},75223:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(79318),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const r=s.default},27083:(t,e,a)=>{a.r(e);var s=a(90358),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},16286:(t,e,a)=>{a.r(e);var s=a(69831),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},82704:(t,e,a)=>{a.r(e);var s=a(67153),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},75754:(t,e,a)=>{a.r(e);var s=a(67725),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},68840:(t,e,a)=>{a.r(e);var s=a(96259),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},68338:(t,e,a)=>{a.r(e);var s=a(5323),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)}}]); \ No newline at end of file +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[9919],{87583:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(5787),i=a(28772);const r={components:{drawer:s.default,sidebar:i.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}}},50371:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={data:function(){return{user:window._sharedData.user}}}},84154:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,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{a.r(e),a.d(e,{default:()=>l});var s=a(95353),i=a(90414);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function n(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,s)}return a}function o(t,e,a){var s;return s=function(t,e){if("object"!=r(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var s=a.call(t,e||"default");if("object"!=r(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==r(s)?s:s+"")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:{UpdateAvatar:i.default},computed:function(t){for(var e=1;e)?/g,(function(e){var a=e.slice(1,e.length-1),s=t.getCustomEmoji.filter((function(t){return t.shortcode==a}));return s.length?''.concat(s[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()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},90358:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"web-wrapper"},[e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-3 d-md-block"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),t._m(0),t._v(" "),t._m(1)])]),t._v(" "),e("drawer")],1)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-md-6"},[e("div",{staticClass:"jumbotron shadow-sm bg-white"},[e("div",{staticClass:"text-center"},[e("h1",{staticClass:"font-weight-bold"},[t._v("What's New")]),t._v(" "),e("p",{staticClass:"lead mb-0"},[t._v("A log of changes in our new UI (Metro 2.0)")])])]),t._v(" "),e("div",{staticClass:"mt-4 pb-3"},[e("p",{staticClass:"lead"},[t._v("Apr 3, 2022")]),t._v(" "),e("ul",[e("li",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\t\tDark Mode "),e("br"),t._v(" "),e("p",{staticClass:"small"},[t._v("To enable dark or light mode, click on the top nav menu and then select UI Settings")])]),t._v(" "),e("li",[t._v("Improved internationalization support with the addition of 7 new languages")])])]),t._v(" "),e("div",{staticClass:"mt-4 pb-3"},[e("p",{staticClass:"lead"},[t._v("March 2022")]),t._v(" "),e("ul",[e("li",{staticClass:"font-weight-bold"},[t._v("Full screen previews on photo albums")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Filter notifications by type on notifications tab")]),t._v(" "),e("li",[t._v('Add "Shared by" link to posts that opens a list of accounts that reblogged the post')]),t._v(" "),e("li",[t._v("Fix private profile feed not loading for owner")])])]),t._v(" "),e("div",{staticClass:"mt-4 pb-3"},[e("p",{staticClass:"lead"},[t._v("Febuary 2022")]),t._v(" "),e("ul",[e("li",{staticClass:"font-weight-bold"},[t._v("New Discover layout with My Hashtags, My Memories, Account Insights, Find Friends and Server Timelines")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Mobile app drawer menu")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Add Preferred Profile Layout UI setting")]),t._v(" "),e("li",[t._v("Add search bar to mobile breakpoints and adjust avatar size when necessary")]),t._v(" "),e("li",[t._v("Improved profile layout on mobile breakpoints")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Threaded Comments Beta")]),t._v(" "),e("li",[t._v("Changed default media preview setting to non-fixed height media")]),t._v(" "),e("li",[t._v("Improved Compose Location search, will display popular locations first")]),t._v(" "),e("li",[t._v('Added "Comment" button to comment reply form and changed textarea/multiline icon toggle')]),t._v(" "),e("li",[t._v("Fixed incorrect avatar in profile post comment drawers")]),t._v(" "),e("li",[t._v("Hashtags will now include remote/federated posts on hashtag feeds")]),t._v(" "),e("li",[t._v("Moved media license to post header")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Improved Media Previews - disable to restore original preview aspect ratios")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Comments + Hovercards - comment usernames now support hovercards")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Quick Avatar Updates - click the "),e("i",{staticClass:"far fa-cog"}),t._v(" button on your avatar. Supports drag-n-drop and updates without page refresh in most places.")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Follows You badge on hovercards when applicable")]),t._v(" "),e("li",[t._v("Add Hide Counts & Stats setting")]),t._v(" "),e("li",[t._v("Fix nsfw videos not displaying sensitive warning")]),t._v(" "),e("li",[t._v("Added mod tools button to posts for admin accounts")])])]),t._v(" "),e("div",{staticClass:"mt-4 pb-3"},[e("p",{staticClass:"lead"},[t._v("January 2022")]),t._v(" "),e("ul",[e("li",[t._v("Fixed comment deletion")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("New Reaction bar on posts - to disable toggle this option in UI Settings menu")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Fresher Comments - fixed bug that prevented new comments from appearing and added a Refresh button to do it manually in the event it's needed")]),t._v(" "),e("li",[t._v("Added Comment Autoloading setting, enabled by default, it loads the first 3 comments")]),t._v(" "),e("li",[t._v("Added Likes feed to your own profile to view posts you liked")]),t._v(" "),e("li",[t._v("Fixed custom emoji rendering on sidebar, profiles and hover cards")]),t._v(" "),e("li",[t._v("Fixed duplicate notifications on feeds")]),t._v(" "),e("li",[t._v("New onboarding home feed with 6 popular accounts to help newcomers find accounts to follow")]),t._v(" "),e("li",[t._v("Added pronouns to hovercards")]),t._v(" "),e("li",[t._v("Fixed custom emoji rendering on home timeline")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Added Hovercards to usernames on timelines")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("Improved search bar, now resolves (and imports) remote accounts and posts, including webfinger addresses")]),t._v(" "),e("li",[t._v("Added full account usernames to notifications on hover")]),t._v(" "),e("li",[t._v("Discover page will default to the Yearly tab if Daily tab is empty")]),t._v(" "),e("li",[t._v("Hashtag feed improvements (fix pagination placeholders, use 4x4 grid on larger screens)")]),t._v(" "),e("li",{staticClass:"font-weight-bold"},[t._v("New report modal for posts & comments")]),t._v(" "),e("li",[t._v("Fixed profile "),e("i",{staticClass:"far fa-bars px-1"}),t._v(" feed status interactions")]),t._v(" "),e("li",[t._v("Improved profile mobile layout")])])]),t._v(" "),e("div",{staticClass:"pb-3"},[e("p",{staticClass:"lead"},[t._v("Older")]),t._v(" "),e("p",[t._v("To view the full list of changes, view the project changelog "),e("a",{attrs:{href:"https://raw.githubusercontent.com/pixelfed/pixelfed/dev/CHANGELOG.md"}},[t._v("here")]),t._v(".")])])])},function(){var t=this._self._c;return t("div",{staticClass:"col-md-3"},[t("div",{staticClass:"alert alert-primary"},[t("p",{staticClass:"mb-0 small"},[this._v("We know some of our UI changes are controversial. We value your feedback and are working hard to incorporate it. Your patience is greatly appreciated!")])])])}]},69831:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},67153:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},75274:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/groups/feed"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-layer-group"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.groups"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},35518:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const r=i},14185:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const r=i},96259:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),r=a(35518),n={insert:"head",singleton:!1};i()(r.default,n);const o=r.default.locals||{}},89598:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),r=a(14185),n={insert:"head",singleton:!1};i()(r.default,n);const o=r.default.locals||{}},97775:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(27083),i=a(52532),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);const n=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},5787:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(16286),i=a(80260),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);a(68840);const n=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},90414:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(82704),i=a(55597),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);const n=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},28772:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(54017),i=a(75223),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);a(99387);const n=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},52532:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(87583),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const r=s.default},80260:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(50371),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const r=s.default},55597:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(84154),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const r=s.default},75223:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(79318),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const r=s.default},27083:(t,e,a)=>{a.r(e);var s=a(90358),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},16286:(t,e,a)=>{a.r(e);var s=a(69831),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},82704:(t,e,a)=>{a.r(e);var s=a(67153),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},54017:(t,e,a)=>{a.r(e);var s=a(75274),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},68840:(t,e,a)=>{a.r(e);var s=a(96259),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},99387:(t,e,a)=>{a.r(e);var s=a(89598),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)}}]); \ No newline at end of file diff --git a/public/js/compose.chunk.28539d85e4c112c4.js b/public/js/compose.chunk.28539d85e4c112c4.js new file mode 100644 index 000000000..bd647b57f --- /dev/null +++ b/public/js/compose.chunk.28539d85e4c112c4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[9124],{66517:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(5787),s=a(28772),o=a(19324);const n={components:{drawer:i.default,sidebar:s.default,"compose-modal":o.default},data:function(){return{isLoaded:!1,profile:void 0}},mounted:function(){this.profile=window._sharedData.user,this.isLoaded=!0},methods:{closeModal:function(){this.$router.push("/i/web")}}}},50371:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={data:function(){return{user:window._sharedData.user}}}},84154:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={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{a.r(e),a.d(e,{default:()=>l});var i=a(95353),s=a(90414);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,e){var 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){var i;return i=function(t,e){if("object"!=o(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var i=a.call(t,e||"default");if("object"!=o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==o(i)?i:i+"")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:{UpdateAvatar:s.default},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},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()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},28320:(t,e,a)=>{a.r(e),a.d(e,{default:()=>c});var i=a(91584),s=(a(77333),a(2e4)),o=(a(87980),a(79288)),n=a(74692);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,i=new Array(e);a10&&(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)},formatBytes:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(!+t)return"0 Bytes";var a=e<0?0:e,i=Math.floor(Math.log(t)/Math.log(1024));return"".concat(parseFloat((t/Math.pow(1024,i)).toFixed(a))," ").concat(["Bytes","KB","MB","GB","TB"][i])},defineErrorMessage:function(t){if(t.response)t.response.data.message&&t.response.data.message;else t.message;return swal("Oops, something went wrong!",msg,"error")},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 a=this.composeSettings.default_scope;this.visibility=a,this.visibilityTag=e[a]}1==this.profile.locked&&(this.visibility="private",this.visibilityTag="Followers Only")}else axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(a){if(window._sharedData.currentUser=a.data,t.profile=a.data,t.composeSettings&&t.composeSettings.hasOwnProperty("default_scope")&&t.composeSettings.default_scope){var i=t.composeSettings.default_scope;t.visibility=i,t.visibilityTag=e[i]}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,a){if(t.media&&t.media.length+a>=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 i=e.type,s=t.config.uploader.media_types.split(",");if(-1==n.inArray(i,s))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 r={onUploadProgress:function(e){var a=Math.round(100*e.loaded/e.total);t.uploadProgress=a}};axios.post("/api/compose/v0/media/upload",o,r).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(a){switch(a.response.status){case 403:t.uploading=!1,e.value=null,swal("Account size limit reached","Contact your admin for assistance.","error"),t.page=2;break;case 413:t.uploading=!1,e.value=null,swal("File is too large","The file you uploaded has the size of "+t.formatBytes(e.size)+". Unfortunately, only images up to "+t.formatBytes(1024*t.config.uploader.max_photo_size)+" are supported.\nPlease resize the file and try again.","error"),t.page=2;break;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;case 500:t.uploading=!1,e.value=null,swal("Error",a.response.data.message,"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")}))}},mediaReorder:function(t){var e=this,a=this.media,i=this.carouselCursor,s=a[i],o=[],n=0;if("prev"==t)if(0==i){for(var r=n;r=0&&e=0&&athis.config.uploader.max_caption_length)swal("Error","Caption is too long","error");else switch(e){case"publish":if(this.isPosting=!0,this.media.filter((function(t){return t.filter_class&&!t.hasOwnProperty("is_filtered")})).length)return void this.applyFilterToMedia();if(!0===this.composeSettings.media_descriptions)if(this.media.filter((function(t){return!t.hasOwnProperty("alt")||t.alt.length<2})).length)return 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"),void(this.isPosting=!1);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 a={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&&(a.collections=this.collectionsSelected.map((function(e){return t.collections[e].id}))),void axios.post("/api/compose/v0/publish",a).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(e){if(400===e.response.status)"Must contain a single photo or video or multiple photos."==e.response.data.error?swal("Wrong types of mixed media","The album must contain a single photo or video or multiple photos.","error"):t.defineErrorMessage(e);else t.defineErrorMessage(e)}));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"filteringMedia":case"cropPhoto":case"editMedia":this.page=2;break;case"addText":case"video-2":this.page=1;break;case"textOptions":this.page="addText";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":if("filteringMedia"===this.page)this.page=2;else this.page="video-2";break;default:switch(this.page){case"addText":case"video-2":this.page=1;break;case"filteringMedia":case"cropPhoto":case"editMedia":this.page=2;break;case"textOptions":this.page="addText";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"filteringMedia":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 a=new FormData;a.append("file",e),a.append("id",t.ids[t.carouselCursor]);axios.post("/api/compose/v0/media/update",a).then((function(e){t.media[t.carouselCursor].url=e.data.url,t.pageLoading=!1,t.page=2})).catch((function(t){}))}));break;case 2: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=this,e=navigator.userAgent.toLowerCase();if(-1==e.indexOf("firefox")&&-1==e.indexOf("chrome"))return this.isPosting=!1,swal("Oops!","Your browser does not support the filter feature.","error"),void(this.page=3);var a=this.media.filter((function(t){return t.filter_class})).length;a?(this.page="filteringMedia",this.filteringRemainingCount=a,this.$nextTick((function(){t.isFilteringMedia=!0,t.media.forEach((function(e,a){return t.applyFilterToMediaSave(e,a)}))}))):this.page=3},applyFilterToMediaSave:function(t,e){if(t.filter_class){var a=this,i=null,s=document.createElement("canvas"),o=s.getContext("2d"),n=document.createElement("img");n.src=t.url,n.addEventListener("load",(function(r){s.width=n.width,s.height=n.height,o.filter=App.util.filterCss[t.filter_class],o.drawImage(n,0,0,n.width,n.height),o.save(),s.toBlob((function(s){(i=new FormData).append("file",s),i.append("id",t.id),axios.post("/api/compose/v0/media/update",i).then((function(t){a.media[e].is_filtered=!0,a.updateFilteringMedia()})).catch((function(t){}))}))}),t.mime,.9),o.clearRect(0,0,n.width,n.height)}},updateFilteringMedia:function(){var t=this;this.filteringRemainingCount--,this.filteringMediaTimeout=setTimeout((function(){return t.filteringMediaTimeoutJob()}),500)},filteringMediaTimeoutJob:function(){var t=this;0===this.filteringRemainingCount?(this.isFilteringMedia=!1,clearTimeout(this.filteringMediaTimeout),setTimeout((function(){return t.compose()}),500)):(clearTimeout(this.filteringMediaTimeout),this.filteringMediaTimeout=setTimeout((function(){return t.filteringMediaTimeoutJob()}),1e3))},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(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 a,i=t.collections.map((function(t){return t.id})),s=e.data.filter((function(t){return!i.includes(t.id)}));s&&s.length&&((a=t.collections).push.apply(a,r(s)),t.collectionsPage++,t.collectionsCanLoadMore=!0)}))}}}},32463:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"web-wrapper"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-3 d-md-block"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-8"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-8 offset-md-1"},[e("compose-modal",{on:{close:t.closeModal}})],1)])])]),t._v(" "),e("drawer")],1):t._e()])},s=[]},69831:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},s=[]},67153:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},s=[]},75274:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/groups/feed"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-layer-group"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.groups"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},s=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},2383:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"compose-modal-component"},[e("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(" "),e("canvas",{staticClass:"d-none",attrs:{id:"pr_canvas"}}),t._v(" "),e("img",{staticClass:"d-none",attrs:{id:"pr_img"}}),t._v(" "),e("div",{staticClass:"timeline"},[t.uploading?e("div",[e("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100 bg-light py-3",staticStyle:{"border-bottom":"1px solid #f1f1f1"}},[e("div",{staticClass:"p-5 mt-2"},[e("b-progress",{attrs:{value:t.uploadProgress,max:100,striped:"",animated:!0}}),t._v(" "),e("p",{staticClass:"text-center mb-0 font-weight-bold"},[t._v("Uploading ... ("+t._s(t.uploadProgress)+"%)")])],1)])]):"cameraRoll"==t.page?e("div",[e("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[t._m(0),t._v(" "),e("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[t.cameraRollMedia.length>0?e("div",{staticClass:"row p-0 m-0"},t._l(t.cameraRollMedia,(function(t,a){return e("div",{class:[0==a?"col-12 p-0":"col-3 p-0"]},[e("div",{staticClass:"card info-overlay p-0 rounded-0 shadow-none border"},[e("div",{staticClass:"square"},[e("img",{staticClass:"square-content",attrs:{src:t.preview_url}})])])])})),0):e("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center"},[e("span",{staticClass:"w-100 h-100"},[e("button",{staticClass:"btn btn-primary",attrs:{type:"button"}},[t._v("Upload")]),t._v(" "),e("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:function(e){return t.fetchCameraRollDrafts()}}},[t._v("Load Camera Roll")])])])])])]):"poll"==t.page?e("div",[e("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[e("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[t._m(1),t._v(" "),e("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?e("span",[t._m(2)]):!t.postingPoll&&t.pollOptions.length>1&&t.composeText.length?e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:t.postNewPoll}},[e("span",[t._v("Create Poll")])]):e("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(" "),e("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[e("div",{staticClass:"border-bottom mt-2"},[e("div",{staticClass:"media px-3"},[e("img",{staticClass:"rounded-circle",attrs:{src:t.profile.avatar,width:"42px",height:"42px"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.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(" "),e("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),e("div",{staticClass:"p-3"},[e("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?e("div",{staticClass:"form-group mb-4"},[e("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(a,i){return e("div",{staticClass:"form-group mb-4 d-flex align-items-center",staticStyle:{"max-width":"400px",position:"relative"}},[e("span",{staticClass:"font-weight-bold mr-2",staticStyle:{position:"absolute",left:"10px"}},[t._v(t._s(i+1)+".")]),t._v(" "),t.pollOptions[i].length<50?e("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[i],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[i]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,i,e.target.value)}}}):e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[i],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[i]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,i,e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-danger btn-sm rounded-pill font-weight-bold",staticStyle:{position:"absolute",right:"5px"},on:{click:function(e){return t.deletePollOption(i)}}},[e("i",{staticClass:"fas fa-trash"}),t._v(" Delete\n\t\t\t\t\t\t\t")])])})),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("div",[e("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(" "),e("div",{staticClass:"form-group"},[e("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 a=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?a:a[0]}}},[e("option",{attrs:{value:"60"}},[t._v("1 hour")]),t._v(" "),e("option",{attrs:{value:"360"}},[t._v("6 hours")]),t._v(" "),e("option",{attrs:{value:"1440",selected:""}},[t._v("24 hours")]),t._v(" "),e("option",{attrs:{value:"10080"}},[t._v("7 days")])])])]),t._v(" "),e("div",[e("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(" "),e("div",{staticClass:"form-group"},[e("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 a=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?a:a[0]}}},[e("option",{attrs:{value:"public"}},[t._v("Public")]),t._v(" "),e("option",{attrs:{value:"private"}},[t._v("Followers Only")])])])])])],2)])])]):e("div",[e("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100",staticStyle:{display:"flex"}},[e("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[e("div",[1==t.page?e("a",{staticClass:"font-weight-bold text-decoration-none text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeModal()}}},[e("i",{staticClass:"fas fa-times fa-lg"}),t._v(" "),e("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):2==t.page?e("span",[t.config.uploader.album_limit>t.media.length?e("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)}}},[e("i",{staticClass:"fas fa-plus"})]):e("button",{staticClass:"btn btn-outline-secondary btn-sm font-weight-bold",attrs:{disabled:""}},[e("i",{staticClass:"fas fa-plus"})]),t._v(" "),e("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?e("span",[e("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()}}},[e("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg mr-2"}),t._v(" "),e("span",{staticClass:"btn btn-outline-secondary btn-sm px-2 py-0 disabled",attrs:{disabled:""}},[t._v(t._s(t.media.length))])]),t._v(" "),e("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):e("span",[e("a",{staticClass:"text-lighter text-decoration-none mr-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goBack()}}},[e("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg"})])]),t._v(" "),e("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]),t._v(" "),2==t.page?e("div",[1==t.media.length?e("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)}}},[e("i",{staticClass:"fas fa-crop-alt fa-lg"})]):t._e(),t._v(" "),e("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(" "),e("div",[t.pageLoading?e("span",[t._m(3)]):e("span",[!t.pageLoading&&t.page>1&&t.page<=2||1==t.page&&0!=t.ids.length||"cropPhoto"==t.page?e("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():[t.isPosting?e("b-spinner",{attrs:{small:""}}):e("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():e("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():e("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||"filteringMedia"!=t.page?t._e():e("span",{staticClass:"font-weight-bold text-decoration-none text-muted"},[t._v("Next")])],2)])]),t._v(" "),e("div",{staticClass:"card-body p-0 border-top"},["licensePicker"==t.page?e("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[e("div",{staticClass:"list-group list-group-flush"},t._l(t.availableLicenses,(function(a,i){return e("div",{staticClass:"list-group-item cursor-pointer",class:{"text-primary":t.licenseId===a.id,"font-weight-bold":t.licenseId===a.id},on:{click:function(e){return t.toggleLicense(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(a.name)+"\n\t\t\t\t\t\t\t")])})),0)]):"textOptions"==t.page?e("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}}):"addText"==t.page?e("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[e("div",{staticClass:"mt-2"},[e("div",{staticClass:"media px-3"},[e("div",{staticClass:"media-body"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Body")]),t._v(" "),e("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(" "),e("div",{staticClass:"border-bottom"}),t._v(" "),e("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(" "),e("p",{staticClass:"mb-0 mt-2"},[e("a",{staticClass:"btn btn-primary rounded-pill mr-2",staticStyle:{height:"37px"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTextOptions()}}},[e("i",{staticClass:"fas fa-palette px-3 text-white"})]),t._v(" "),e("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}}},[e("i",{staticClass:"far fa-flag px-3"}),t._v(" "),e("span",{staticClass:"text-muted small font-weight-bold"})]),t._v(" "),e("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()}}},[e("i",{staticClass:"fas fa-eye mr-2"}),t._v(" "),e("span",{staticClass:"text-muted small font-weight-bold"},[t._v(t._s(t.visibilityTag))])])])])])])])]):1==t.page?e("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center",staticStyle:{"min-height":"400px"}},[e("div",{staticClass:"text-center"},[0==t.media.length?e("div",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark"},[e("div",{staticClass:"card-body py-2",on:{click:function(e){return e.preventDefault(),t.addMedia.apply(null,arguments)}}},[e("div",{staticClass:"media"},[t._m(4),t._v(" "),e("div",{staticClass:"media-body text-left"},[t._m(5),t._v(" "),e("p",{staticClass:"mb-0 text-muted"},[t._v("Share up to "+t._s(t.config.uploader.album_limit)+" photos or videos")]),t._v(" "),e("p",{staticClass:"mb-0 text-muted small"},[e("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 "),e("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?e("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)])]):"cropPhoto"==t.page?e("div",{staticClass:"w-100 h-100"},[t.ids.length>0?e("div",[e("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()]):2==t.page?e("div",{staticClass:"w-100 h-100"},[1==t.media.length?e("div",[e("div",{staticStyle:{display:"flex","min-height":"420px","align-items":"center"},attrs:{slot:"img"},slot:"img"},[e("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(" "),e("hr"),t._v(" "),t.ids.length>0&&"image"==t.media[t.carouselCursor].type?e("div",{staticClass:"align-items-center px-2 pt-2"},[e("ul",{staticClass:"nav media-drawer-filters text-center"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"p-1 pt-3"},[e("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(" "),e("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(a,i){return e("li",{staticClass:"nav-item"},[e("div",{staticClass:"p-1 pt-3"},[e("div",{staticClass:"rounded",class:a[1]},[e("img",{attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,a[1])}}})])]),t._v(" "),e("a",{class:[t.media[t.carouselCursor].filter_class==a[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,a[1])}}},[t._v(t._s(a[0]))])])}))],2)]):t._e()]):t.media.length>1?e("div",{staticClass:"d-flex-inline px-2 pt-2"},[e("ul",{staticClass:"nav media-drawer-filters text-center pb-3"},[e("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")]),t._v(" "),t._l(t.media,(function(a,i){return e("li",{key:a.id+":"+t.carouselCursor,staticClass:"nav-item mx-md-4"},[e("div",{staticClass:"nav-link",staticStyle:{display:"block",width:"300px",height:"300px"},on:{click:function(e){t.carouselCursor=i}}},[e("div",{class:[a.filter_class?a.filter_class:""],staticStyle:{width:"100%",height:"100%",display:"block"}},[e("div",{class:"rounded "+[i==t.carouselCursor?" border border-primary shadow":""],style:"display:block;width:100%;height:100%;background-image: url("+a.url+");background-size:cover;"})])]),t._v(" "),i==t.carouselCursor?e("div",{staticClass:"text-center mb-0 small text-lighter font-weight-bold pt-2"},[e("button",{staticClass:"btn btn-link",on:{click:function(e){return t.mediaReorder("prev")}}},[e("i",{staticClass:"far fa-chevron-circle-left"})]),t._v(" "),e("span",{staticClass:"cursor-pointer",on:{click:function(e){return e.preventDefault(),t.showCropPhotoCard.apply(null,arguments)}}},[t._v("Crop")]),t._v(" "),e("span",{staticClass:"cursor-pointer px-3",on:{click:function(e){return e.preventDefault(),t.showEditMediaCard()}}},[t._v("Edit")]),t._v(" "),e("span",{staticClass:"cursor-pointer",on:{click:function(e){return t.deleteMedia()}}},[t._v("Delete")]),t._v(" "),e("button",{staticClass:"btn btn-link",on:{click:function(e){return t.mediaReorder("next")}}},[e("i",{staticClass:"far fa-chevron-circle-right"})])]):t._e()])})),t._v(" "),e("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")])],2),t._v(" "),e("hr"),t._v(" "),t.ids.length>0&&"image"==t.media[t.carouselCursor].type?e("div",{staticClass:"align-items-center px-2 pt-2"},[e("ul",{staticClass:"nav media-drawer-filters text-center"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"p-1 pt-3"},[e("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(" "),e("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(a,i){return e("li",{staticClass:"nav-item"},[e("div",{staticClass:"p-1 pt-3"},[e("img",{class:a[1],attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,a[1])}}})]),t._v(" "),e("a",{class:[t.media[t.carouselCursor].filter_class==a[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,a[1])}}},[t._v(t._s(a[0]))])])}))],2)]):t._e()]):e("div",[e("p",{staticClass:"mb-0 p-5 text-center font-weight-bold"},[t._v("An error occured, please refresh the page.")])])]):3==t.page?e("div",{staticClass:"w-100 h-100"},[e("div",{staticClass:"border-bottom mt-2"},[e("div",{staticClass:"media px-3"},[e("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(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.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(" "),e("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),e("div",{staticClass:"border-bottom"},[e("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer d-flex justify-content-between",on:{click:function(e){return t.showMediaDescriptionsCard()}}},[e("span",[t._v("Alt Text")]),t._v(" "),e("span",[t.media&&t.media.filter((function(t){return t.alt})).length==t.media.length?e("i",{staticClass:"fas fa-check-circle fa-lg text-success"}):e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])]),t._v(" "),e("div",{staticClass:"border-bottom px-4 mb-0 py-2"},[e("div",{staticClass:"d-flex justify-content-between"},[t._m(11),t._v(" "),e("div",[e("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[e("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 a=t.nsfw,i=e.target,s=!!i.checked;if(Array.isArray(a)){var o=t._i(a,null);i.checked?o<0&&(t.nsfw=a.concat([null])):o>-1&&(t.nsfw=a.slice(0,o).concat(a.slice(o+1)))}else t.nsfw=s}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),t.nsfw?e("div",[e("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(" "),e("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.spoilerTextLength)+"/140")])]):t._e()]),t._v(" "),e("div",{staticClass:"border-bottom"},[e("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showTagCard()}}},[t._v("Tag people")])]),t._v(" "),e("div",{staticClass:"border-bottom"},[e("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showCollectionCard()}}},[t._m(12),t._v(" "),e("span",{staticClass:"float-right"},[t.collectionsSelected.length?e("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(" "),e("div",{staticClass:"border-bottom"},[e("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[e("span",[t._v("Add license")]),t._v(" "),e("span",{staticClass:"float-right"},[t.licenseTitle?e("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(" "),e("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLicenseCard()}}},[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),e("div",{staticClass:"border-bottom"},[t.place?e("p",{staticClass:"px-4 mb-0 py-2"},[e("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"),e("span",{staticClass:"float-right"},[e("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(" "),e("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")])])]):e("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLocationCard()}}},[t._v("Add location")])]),t._v(" "),e("div",{staticClass:"border-bottom"},[e("p",{staticClass:"px-4 mb-0 py-2"},[e("span",[t._v("Audience")]),t._v(" "),e("span",{staticClass:"float-right"},[e("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(" "),e("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),e("div",{staticStyle:{"min-height":"200px"}},[e("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")])])]):"tagPeople"==t.page?e("div",{staticClass:"w-100 h-100 p-3"},[e("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(" "),e("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(" "),e("p",{staticClass:"font-weight-bold text-center mt-3"},[t._v("Tagged People")]),t._v(" "),e("div",{staticClass:"list-group"},[t._l(t.taggedUsernames,(function(a,i){return e("div",{staticClass:"list-group-item d-flex justify-content-between"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-2 rounded-circle border",attrs:{src:a.avatar,width:"24px",height:"24px"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(a.name))])])]),t._v(" "),e("div",{staticClass:"custom-control custom-switch"},[e("input",{directives:[{name:"model",rawName:"v-model",value:a.privacy,expression:"tag.privacy"}],staticClass:"custom-control-input disabled",attrs:{type:"checkbox",id:"cci-tagged-privacy-switch"+i,disabled:""},domProps:{checked:Array.isArray(a.privacy)?t._i(a.privacy,null)>-1:a.privacy},on:{change:function(e){var i=a.privacy,s=e.target,o=!!s.checked;if(Array.isArray(i)){var n=t._i(i,null);s.checked?n<0&&t.$set(a,"privacy",i.concat([null])):n>-1&&t.$set(a,"privacy",i.slice(0,n).concat(i.slice(n+1)))}else t.$set(a,"privacy",o)}}}),t._v(" "),e("label",{staticClass:"custom-control-label font-weight-bold text-lighter",attrs:{for:"cci-tagged-privacy-switch"+i}},[t._v(t._s(a.privacy?"Public":"Private"))]),t._v(" "),e("a",{staticClass:"ml-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.untagUsername(i)}}},[e("i",{staticClass:"fas fa-times text-muted"})])])])})),t._v(" "),0==t.taggedUsernames.length?e("div",{staticClass:"list-group-item p-3"},[e("p",{staticClass:"text-center mb-0 font-weight-bold text-lighter"},[t._v("Search usernames to tag.")])]):t._e()],2),t._v(" "),e("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."),e("br"),t._v("For more information on tagging, "),e("a",{staticClass:"text-primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTagHelpCard()}}},[t._v("click here")]),t._v(".")])],1):"tagPeopleHelp"==t.page?e("div",{staticClass:"w-100 h-100 p-3"},[e("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(" "),e("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")])]):"addLocation"==t.page?e("div",{staticClass:"w-100 h-100 p-3"},[e("p",{staticClass:"mb-0"},[t._v("Add Location")]),t._v(" "),e("autocomplete",{attrs:{search:t.locationSearch,placeholder:"Search locations ...","aria-label":"Search locations ...","get-result-value":t.getResultValue},on:{submit:t.onSubmitLocation}})],1):"advancedSettings"==t.page?e("div",{staticClass:"w-100 h-100"},[e("div",{staticClass:"list-group list-group-flush"},[e("div",{staticClass:"list-group-item d-flex justify-content-between"},[t._m(14),t._v(" "),e("div",[e("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[e("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 a=t.commentsDisabled,i=e.target,s=!!i.checked;if(Array.isArray(a)){var o=t._i(a,null);i.checked?o<0&&(t.commentsDisabled=a.concat([null])):o>-1&&(t.commentsDisabled=a.slice(0,o).concat(a.slice(o+1)))}else t.commentsDisabled=s}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"asdisablecomments"}})])])]),t._v(" "),e("a",{staticClass:"list-group-item",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showMediaDescriptionsCard()}}},[t._m(15)])])]):"visibility"==t.page?e("div",{staticClass:"w-100 h-100"},[e("div",{staticClass:"list-group list-group-flush"},[t.profile.locked?t._e():e("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():e("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(" "),e("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")])])]):"altText"==t.page?e("div",{staticClass:"w-100 h-100 p-3"},[t._l(t.media,(function(a,i){return e("div",[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3",attrs:{src:a.preview_url,width:"50px",height:"50px"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:a.alt,expression:"m.alt"}],staticClass:"form-control",attrs:{placeholder:"Add a media description here...",maxlength:t.maxAltTextLength,rows:"4"},domProps:{value:a.alt},on:{input:function(e){e.target.composing||t.$set(a,"alt",e.target.value)}}}),t._v(" "),e("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(a.alt?a.alt.length:0)+"/"+t._s(t.maxAltTextLength))])])]),t._v(" "),e("hr")])})),t._v(" "),e("p",{staticClass:"d-flex justify-content-between mb-0"},[e("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(" "),e("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])],2):"addToCollection"==t.page?e("div",{staticClass:"w-100 h-100 p-3"},[t.collectionsLoaded&&t.collections.length?e("div",{staticClass:"list-group mb-3 collections-list-group"},[t._l(t.collections,(function(a,i){return e("div",{staticClass:"list-group-item cursor-pointer compose-action border",class:{active:t.collectionsSelected.includes(i)},on:{click:function(e){return t.toggleCollectionItem(i)}}},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3",attrs:{src:a.thumb,alt:"",width:"50px",height:"50px"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("h5",{staticClass:"mt-0"},[t._v(t._s(a.title))]),t._v(" "),e("p",{staticClass:"mb-0 text-muted small"},[t._v(t._s(a.post_count)+" Posts - Created "+t._s(t.timeAgo(a.published_at))+" ago")])])])])})),t._v(" "),t.collectionsCanLoadMore?e("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(" "),e("p",{staticClass:"d-flex justify-content-between mb-0"},[e("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(" "),e("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):"schedulePost"==t.page||"mediaMetadata"==t.page||"addToStory"==t.page?e("div",{staticClass:"w-100 h-100 p-3"},[e("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):"editMedia"==t.page?e("div",{staticClass:"w-100 h-100 p-3"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3",attrs:{src:t.media[t.carouselCursor].preview_url,width:"50px",height:"50px"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted small"},[t._v("Media Description")]),t._v(" "),e("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(" "),e("p",{staticClass:"help-text small text-muted mb-0 d-flex justify-content-between"},[e("span",[t._v("Describe your photo for people with visual impairments.")]),t._v(" "),e("span",[t._v(t._s(t.media[t.carouselCursor].alt?t.media[t.carouselCursor].alt.length:0)+"/140")])])]),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted small"},[t._v("License")]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.licenseId,expression:"licenseId"}],staticClass:"form-control",on:{change:function(e){var a=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?a:a[0]}}},t._l(t.availableLicenses,(function(a,i){return e("option",{domProps:{value:a.id,selected:a.id==t.licenseId}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(a.name)+"\n\t\t\t\t\t\t\t\t\t\t")])})),0)])])]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"d-flex justify-content-between mb-0"},[e("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(" "),e("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):"video-2"==t.page?e("div",{staticClass:"w-100 h-100"},[t.video.title.length?e("div",{staticClass:"border-bottom"},[e("div",{staticClass:"media p-3"},[e("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(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold mb-1"},[t._v(t._s(t.video.title?t.video.title.slice(0,70):"Untitled"))]),t._v(" "),e("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(" "),e("div",{staticClass:"border-bottom d-flex justify-content-between px-4 mb-0 py-2"},[t._m(16),t._v(" "),e("div",[e("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[e("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 a=t.nsfw,i=e.target,s=!!i.checked;if(Array.isArray(a)){var o=t._i(a,null);i.checked?o<0&&(t.nsfw=a.concat([null])):o>-1&&(t.nsfw=a.slice(0,o).concat(a.slice(o+1)))}else t.nsfw=s}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),e("div",{staticClass:"border-bottom"},[e("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[t._v("Add license")])]),t._v(" "),e("div",{staticClass:"border-bottom"},[e("p",{staticClass:"px-4 mb-0 py-2"},[e("span",[t._v("Audience")]),t._v(" "),e("span",{staticClass:"float-right"},[e("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(" "),e("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),e("div",{staticClass:"p-3"},[e("div",{staticClass:"form-group"},[e("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Title")]),t._v(" "),e("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(" "),e("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.title.length)+"/70")])]),t._v(" "),e("div",{staticClass:"form-group mb-0"},[e("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Description")]),t._v(" "),e("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(" "),e("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.description.length)+"/5000")])])])]):"filteringMedia"==t.page?e("div",{staticClass:"w-100 h-100 py-5"},[e("div",{staticClass:"d-flex flex-column align-items-center justify-content-center py-5"},[e("b-spinner",{attrs:{small:""}}),t._v(" "),e("p",{staticClass:"font-weight-bold mt-3"},[t._v("Applying filters...")])],1)]):t._e()]),t._v(" "),"cropPhoto"==t.page?e("div",{staticClass:"card-footer bg-white d-flex justify-content-between"},[e("div",[e("button",{staticClass:"btn btn-outline-secondary",attrs:{type:"button"},on:{click:t.rotate}},[e("i",{staticClass:"fas fa-redo"})])]),t._v(" "),e("div",[e("div",{staticClass:"d-inline-block button-group"},[e("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(" "),e("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(" "),e("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(" "),e("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(" "),e("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()])])])])},s=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[e("span",{staticClass:"pr-3"},[e("i",{staticClass:"fas fa-cog fa-lg text-muted"})]),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tCamera Roll\n\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"text-primary font-weight-bold"},[t._v("Upload")])])},function(){var t=this._self._c;return t("span",{staticClass:"pr-3"},[t("i",{staticClass:"fas fa-info-circle fa-lg text-primary"})])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])},function(){var t=this._self._c;return t("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%","background-color":"#008DF5"}},[t("i",{staticClass:"fal fa-bolt text-white fa-lg"})])},function(){var t=this._self._c;return t("p",{staticClass:"mb-0"},[t("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[this._v("New Post")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"media"},[e("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"}},[e("i",{staticClass:"far fa-edit text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"media-body text-left"},[e("p",{staticClass:"mb-0"},[e("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Text Post")]),t._v(" "),e("sup",{staticClass:"float-right mt-2"},[e("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(" "),e("p",{staticClass:"mb-0 text-muted"},[t._v("Share a text only post")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-body py-2"},[e("div",{staticClass:"media"},[e("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"}},[e("i",{staticClass:"fas fa-history text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"media-body text-left"},[e("p",{staticClass:"mb-0"},[e("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Story")]),t._v(" "),e("sup",{staticClass:"float-right mt-2"},[e("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(" "),e("p",{staticClass:"mb-0 text-muted"},[t._v("Add to your story")])])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-body py-2"},[e("div",{staticClass:"media"},[e("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"}},[e("i",{staticClass:"fas fa-poll-h text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"media-body text-left"},[e("p",{staticClass:"mb-0"},[e("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Poll")]),t._v(" "),e("sup",{staticClass:"float-right mt-2"},[e("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(" "),e("p",{staticClass:"mb-0 text-muted"},[t._v("Create a poll")])])])])},function(){var t=this,e=t._self._c;return e("a",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark",attrs:{href:"/i/collections/create"}},[e("div",{staticClass:"card-body py-2"},[e("div",{staticClass:"media"},[e("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"}},[e("i",{staticClass:"fal fa-images text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"media-body text-left"},[e("p",{staticClass:"mb-0"},[e("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Collection")]),t._v(" "),e("sup",{staticClass:"float-right mt-2"},[e("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(" "),e("p",{staticClass:"mb-0 text-muted"},[t._v("New collection of posts")])])])])])},function(){var t=this._self._c;return t("p",{staticClass:"py-3"},[t("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[this._v("Help")])])},function(){var t=this._self._c;return t("div",[t("div",{staticClass:"text-dark"},[this._v("Sensitive/NSFW Media")])])},function(){var t=this,e=t._self._c;return e("span",[t._v("Add to Collection "),e("span",{staticClass:"ml-2 badge badge-primary"},[t._v("NEW")])])},function(){var t=this._self._c;return t("span",{staticClass:"text-decoration-none"},[t("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])},function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"text-dark"},[t._v("Turn off commenting")]),t._v(" "),e("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._self._c;return e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",[e("div",{staticClass:"text-dark"},[t._v("Media Descriptions")]),t._v(" "),e("p",{staticClass:"text-muted small mb-0"},[t._v("Describe your photos for people with visual impairments.")])]),t._v(" "),e("div",[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])},function(){var t=this._self._c;return t("div",[t("div",{staticClass:"text-dark"},[this._v("Contains NSFW Media")])])}]},35518:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(76798),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const o=s},14185:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(76798),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const o=s},63996:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(76798),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".compose-modal-component .media-drawer-filters{flex-wrap:unset;overflow-x:auto}.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=s},96259:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(85072),s=a.n(i),o=a(35518),n={insert:"head",singleton:!1};s()(o.default,n);const r=o.default.locals||{}},89598:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(85072),s=a.n(i),o=a(14185),n={insert:"head",singleton:!1};s()(o.default,n);const r=o.default.locals||{}},57893:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(85072),s=a.n(i),o=a(63996),n={insert:"head",singleton:!1};s()(o.default,n);const r=o.default.locals||{}},46537:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(22358),s=a(6422),o={};for(const t in s)"default"!==t&&(o[t]=()=>s[t]);a.d(e,o);const n=(0,a(14486).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},5787:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(16286),s=a(80260),o={};for(const t in s)"default"!==t&&(o[t]=()=>s[t]);a.d(e,o);a(68840);const n=(0,a(14486).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},90414:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(82704),s=a(55597),o={};for(const t in s)"default"!==t&&(o[t]=()=>s[t]);a.d(e,o);const n=(0,a(14486).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},28772:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(54017),s=a(75223),o={};for(const t in s)"default"!==t&&(o[t]=()=>s[t]);a.d(e,o);a(99387);const n=(0,a(14486).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},19324:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(87310),s=a(50427),o={};for(const t in s)"default"!==t&&(o[t]=()=>s[t]);a.d(e,o);a(17774);const n=(0,a(14486).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},6422:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(66517),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const o=i.default},80260:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(50371),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const o=i.default},55597:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(84154),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const o=i.default},75223:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(79318),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const o=i.default},50427:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(28320),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const o=i.default},22358:(t,e,a)=>{a.r(e);var i=a(32463),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},16286:(t,e,a)=>{a.r(e);var i=a(69831),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},82704:(t,e,a)=>{a.r(e);var i=a(67153),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},54017:(t,e,a)=>{a.r(e);var i=a(75274),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},87310:(t,e,a)=>{a.r(e);var i=a(2383),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},68840:(t,e,a)=>{a.r(e);var i=a(96259),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},99387:(t,e,a)=>{a.r(e);var i=a(89598),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},17774:(t,e,a)=>{a.r(e);var i=a(57893),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)}}]); \ No newline at end of file diff --git a/public/js/compose.chunk.47ba00abaa827b26.js b/public/js/compose.chunk.47ba00abaa827b26.js deleted file mode 100644 index 0ef32d80d..000000000 --- a/public/js/compose.chunk.47ba00abaa827b26.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[9124],{66517:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(5787),s=a(28772),o=a(19324);const n={components:{drawer:i.default,sidebar:s.default,"compose-modal":o.default},data:function(){return{isLoaded:!1,profile:void 0}},mounted:function(){this.profile=window._sharedData.user,this.isLoaded=!0},methods:{closeModal:function(){this.$router.push("/i/web")}}}},50371:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={data:function(){return{user:window._sharedData.user}}}},84154:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={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{a.r(e),a.d(e,{default:()=>l});var i=a(95353),s=a(90414);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,e){var 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){var i;return i=function(t,e){if("object"!=o(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var i=a.call(t,e||"default");if("object"!=o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==o(i)?i:i+"")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:{UpdateAvatar:s.default},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},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()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},28320:(t,e,a)=>{a.r(e),a.d(e,{default:()=>c});var i=a(91584),s=(a(77333),a(2e4)),o=(a(87980),a(79288)),n=a(74692);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,i=new Array(e);a10&&(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)},formatBytes:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;if(!+t)return"0 Bytes";var a=e<0?0:e,i=Math.floor(Math.log(t)/Math.log(1024));return"".concat(parseFloat((t/Math.pow(1024,i)).toFixed(a))," ").concat(["Bytes","KB","MB","GB","TB"][i])},defineErrorMessage:function(t){if(t.response)t.response.data.message&&t.response.data.message;else t.message;return swal("Oops, something went wrong!",msg,"error")},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 a=this.composeSettings.default_scope;this.visibility=a,this.visibilityTag=e[a]}1==this.profile.locked&&(this.visibility="private",this.visibilityTag="Followers Only")}else axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(a){if(window._sharedData.currentUser=a.data,t.profile=a.data,t.composeSettings&&t.composeSettings.hasOwnProperty("default_scope")&&t.composeSettings.default_scope){var i=t.composeSettings.default_scope;t.visibility=i,t.visibilityTag=e[i]}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,a){if(t.media&&t.media.length+a>=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 i=e.type,s=t.config.uploader.media_types.split(",");if(-1==n.inArray(i,s))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 r={onUploadProgress:function(e){var a=Math.round(100*e.loaded/e.total);t.uploadProgress=a}};axios.post("/api/compose/v0/media/upload",o,r).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(a){switch(a.response.status){case 403:t.uploading=!1,e.value=null,swal("Account size limit reached","Contact your admin for assistance.","error"),t.page=2;break;case 413:t.uploading=!1,e.value=null,swal("File is too large","The file you uploaded has the size of "+t.formatBytes(e.size)+". Unfortunately, only images up to "+t.formatBytes(1024*t.config.uploader.max_photo_size)+" are supported.\nPlease resize the file and try again.","error"),t.page=2;break;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;case 500:t.uploading=!1,e.value=null,swal("Error",a.response.data.message,"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")}))}},mediaReorder:function(t){var e=this,a=this.media,i=this.carouselCursor,s=a[i],o=[],n=0;if("prev"==t)if(0==i){for(var r=n;r=0&&e=0&&athis.config.uploader.max_caption_length)swal("Error","Caption is too long","error");else switch(e){case"publish":if(this.isPosting=!0,this.media.filter((function(t){return t.filter_class&&!t.hasOwnProperty("is_filtered")})).length)return void this.applyFilterToMedia();if(!0===this.composeSettings.media_descriptions)if(this.media.filter((function(t){return!t.hasOwnProperty("alt")||t.alt.length<2})).length)return 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"),void(this.isPosting=!1);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 a={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&&(a.collections=this.collectionsSelected.map((function(e){return t.collections[e].id}))),void axios.post("/api/compose/v0/publish",a).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(e){if(400===e.response.status)"Must contain a single photo or video or multiple photos."==e.response.data.error?swal("Wrong types of mixed media","The album must contain a single photo or video or multiple photos.","error"):t.defineErrorMessage(e);else t.defineErrorMessage(e)}));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"filteringMedia":case"cropPhoto":case"editMedia":this.page=2;break;case"addText":case"video-2":this.page=1;break;case"textOptions":this.page="addText";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":if("filteringMedia"===this.page)this.page=2;else this.page="video-2";break;default:switch(this.page){case"addText":case"video-2":this.page=1;break;case"filteringMedia":case"cropPhoto":case"editMedia":this.page=2;break;case"textOptions":this.page="addText";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"filteringMedia":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 a=new FormData;a.append("file",e),a.append("id",t.ids[t.carouselCursor]);axios.post("/api/compose/v0/media/update",a).then((function(e){t.media[t.carouselCursor].url=e.data.url,t.pageLoading=!1,t.page=2})).catch((function(t){}))}));break;case 2: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=this,e=navigator.userAgent.toLowerCase();if(-1==e.indexOf("firefox")&&-1==e.indexOf("chrome"))return this.isPosting=!1,swal("Oops!","Your browser does not support the filter feature.","error"),void(this.page=3);var a=this.media.filter((function(t){return t.filter_class})).length;a?(this.page="filteringMedia",this.filteringRemainingCount=a,this.$nextTick((function(){t.isFilteringMedia=!0,t.media.forEach((function(e,a){return t.applyFilterToMediaSave(e,a)}))}))):this.page=3},applyFilterToMediaSave:function(t,e){if(t.filter_class){var a=this,i=null,s=document.createElement("canvas"),o=s.getContext("2d"),n=document.createElement("img");n.src=t.url,n.addEventListener("load",(function(r){s.width=n.width,s.height=n.height,o.filter=App.util.filterCss[t.filter_class],o.drawImage(n,0,0,n.width,n.height),o.save(),s.toBlob((function(s){(i=new FormData).append("file",s),i.append("id",t.id),axios.post("/api/compose/v0/media/update",i).then((function(t){a.media[e].is_filtered=!0,a.updateFilteringMedia()})).catch((function(t){}))}))}),t.mime,.9),o.clearRect(0,0,n.width,n.height)}},updateFilteringMedia:function(){var t=this;this.filteringRemainingCount--,this.filteringMediaTimeout=setTimeout((function(){return t.filteringMediaTimeoutJob()}),500)},filteringMediaTimeoutJob:function(){var t=this;0===this.filteringRemainingCount?(this.isFilteringMedia=!1,clearTimeout(this.filteringMediaTimeout),setTimeout((function(){return t.compose()}),500)):(clearTimeout(this.filteringMediaTimeout),this.filteringMediaTimeout=setTimeout((function(){return t.filteringMediaTimeoutJob()}),1e3))},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(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 a,i=t.collections.map((function(t){return t.id})),s=e.data.filter((function(t){return!i.includes(t.id)}));s&&s.length&&((a=t.collections).push.apply(a,r(s)),t.collectionsPage++,t.collectionsCanLoadMore=!0)}))}}}},32463:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"web-wrapper"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-3 d-md-block"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-8"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-8 offset-md-1"},[e("compose-modal",{on:{close:t.closeModal}})],1)])])]),t._v(" "),e("drawer")],1):t._e()])},s=[]},69831:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},s=[]},67153:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},s=[]},67725:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},s=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},2383:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"compose-modal-component"},[e("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(" "),e("canvas",{staticClass:"d-none",attrs:{id:"pr_canvas"}}),t._v(" "),e("img",{staticClass:"d-none",attrs:{id:"pr_img"}}),t._v(" "),e("div",{staticClass:"timeline"},[t.uploading?e("div",[e("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100 bg-light py-3",staticStyle:{"border-bottom":"1px solid #f1f1f1"}},[e("div",{staticClass:"p-5 mt-2"},[e("b-progress",{attrs:{value:t.uploadProgress,max:100,striped:"",animated:!0}}),t._v(" "),e("p",{staticClass:"text-center mb-0 font-weight-bold"},[t._v("Uploading ... ("+t._s(t.uploadProgress)+"%)")])],1)])]):"cameraRoll"==t.page?e("div",[e("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[t._m(0),t._v(" "),e("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[t.cameraRollMedia.length>0?e("div",{staticClass:"row p-0 m-0"},t._l(t.cameraRollMedia,(function(t,a){return e("div",{class:[0==a?"col-12 p-0":"col-3 p-0"]},[e("div",{staticClass:"card info-overlay p-0 rounded-0 shadow-none border"},[e("div",{staticClass:"square"},[e("img",{staticClass:"square-content",attrs:{src:t.preview_url}})])])])})),0):e("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center"},[e("span",{staticClass:"w-100 h-100"},[e("button",{staticClass:"btn btn-primary",attrs:{type:"button"}},[t._v("Upload")]),t._v(" "),e("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:function(e){return t.fetchCameraRollDrafts()}}},[t._v("Load Camera Roll")])])])])])]):"poll"==t.page?e("div",[e("div",{staticClass:"card status-card card-md-rounded-0",staticStyle:{display:"flex"}},[e("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[t._m(1),t._v(" "),e("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?e("span",[t._m(2)]):!t.postingPoll&&t.pollOptions.length>1&&t.composeText.length?e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:t.postNewPoll}},[e("span",[t._v("Create Poll")])]):e("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(" "),e("div",{staticClass:"h-100 card-body p-0 border-top",staticStyle:{width:"100%","min-height":"400px"}},[e("div",{staticClass:"border-bottom mt-2"},[e("div",{staticClass:"media px-3"},[e("img",{staticClass:"rounded-circle",attrs:{src:t.profile.avatar,width:"42px",height:"42px"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.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(" "),e("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),e("div",{staticClass:"p-3"},[e("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?e("div",{staticClass:"form-group mb-4"},[e("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(a,i){return e("div",{staticClass:"form-group mb-4 d-flex align-items-center",staticStyle:{"max-width":"400px",position:"relative"}},[e("span",{staticClass:"font-weight-bold mr-2",staticStyle:{position:"absolute",left:"10px"}},[t._v(t._s(i+1)+".")]),t._v(" "),t.pollOptions[i].length<50?e("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[i],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[i]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,i,e.target.value)}}}):e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[i],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[i]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,i,e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-danger btn-sm rounded-pill font-weight-bold",staticStyle:{position:"absolute",right:"5px"},on:{click:function(e){return t.deletePollOption(i)}}},[e("i",{staticClass:"fas fa-trash"}),t._v(" Delete\n\t\t\t\t\t\t\t")])])})),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("div",[e("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(" "),e("div",{staticClass:"form-group"},[e("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 a=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?a:a[0]}}},[e("option",{attrs:{value:"60"}},[t._v("1 hour")]),t._v(" "),e("option",{attrs:{value:"360"}},[t._v("6 hours")]),t._v(" "),e("option",{attrs:{value:"1440",selected:""}},[t._v("24 hours")]),t._v(" "),e("option",{attrs:{value:"10080"}},[t._v("7 days")])])])]),t._v(" "),e("div",[e("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(" "),e("div",{staticClass:"form-group"},[e("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 a=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?a:a[0]}}},[e("option",{attrs:{value:"public"}},[t._v("Public")]),t._v(" "),e("option",{attrs:{value:"private"}},[t._v("Followers Only")])])])])])],2)])])]):e("div",[e("div",{staticClass:"card status-card card-md-rounded-0 w-100 h-100",staticStyle:{display:"flex"}},[e("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[e("div",[1==t.page?e("a",{staticClass:"font-weight-bold text-decoration-none text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeModal()}}},[e("i",{staticClass:"fas fa-times fa-lg"}),t._v(" "),e("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):2==t.page?e("span",[t.config.uploader.album_limit>t.media.length?e("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)}}},[e("i",{staticClass:"fas fa-plus"})]):e("button",{staticClass:"btn btn-outline-secondary btn-sm font-weight-bold",attrs:{disabled:""}},[e("i",{staticClass:"fas fa-plus"})]),t._v(" "),e("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?e("span",[e("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()}}},[e("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg mr-2"}),t._v(" "),e("span",{staticClass:"btn btn-outline-secondary btn-sm px-2 py-0 disabled",attrs:{disabled:""}},[t._v(t._s(t.media.length))])]),t._v(" "),e("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]):e("span",[e("a",{staticClass:"text-lighter text-decoration-none mr-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goBack()}}},[e("i",{staticClass:"fas fa-long-arrow-alt-left fa-lg"})])]),t._v(" "),e("span",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.pageTitle))])]),t._v(" "),2==t.page?e("div",[1==t.media.length?e("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)}}},[e("i",{staticClass:"fas fa-crop-alt fa-lg"})]):t._e(),t._v(" "),e("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(" "),e("div",[t.pageLoading?e("span",[t._m(3)]):e("span",[!t.pageLoading&&t.page>1&&t.page<=2||1==t.page&&0!=t.ids.length||"cropPhoto"==t.page?e("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():[t.isPosting?e("b-spinner",{attrs:{small:""}}):e("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():e("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():e("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||"filteringMedia"!=t.page?t._e():e("span",{staticClass:"font-weight-bold text-decoration-none text-muted"},[t._v("Next")])],2)])]),t._v(" "),e("div",{staticClass:"card-body p-0 border-top"},["licensePicker"==t.page?e("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[e("div",{staticClass:"list-group list-group-flush"},t._l(t.availableLicenses,(function(a,i){return e("div",{staticClass:"list-group-item cursor-pointer",class:{"text-primary":t.licenseId===a.id,"font-weight-bold":t.licenseId===a.id},on:{click:function(e){return t.toggleLicense(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(a.name)+"\n\t\t\t\t\t\t\t")])})),0)]):"textOptions"==t.page?e("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}}):"addText"==t.page?e("div",{staticClass:"w-100 h-100",staticStyle:{"min-height":"280px"}},[e("div",{staticClass:"mt-2"},[e("div",{staticClass:"media px-3"},[e("div",{staticClass:"media-body"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Body")]),t._v(" "),e("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(" "),e("div",{staticClass:"border-bottom"}),t._v(" "),e("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(" "),e("p",{staticClass:"mb-0 mt-2"},[e("a",{staticClass:"btn btn-primary rounded-pill mr-2",staticStyle:{height:"37px"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTextOptions()}}},[e("i",{staticClass:"fas fa-palette px-3 text-white"})]),t._v(" "),e("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}}},[e("i",{staticClass:"far fa-flag px-3"}),t._v(" "),e("span",{staticClass:"text-muted small font-weight-bold"})]),t._v(" "),e("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()}}},[e("i",{staticClass:"fas fa-eye mr-2"}),t._v(" "),e("span",{staticClass:"text-muted small font-weight-bold"},[t._v(t._s(t.visibilityTag))])])])])])])])]):1==t.page?e("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center",staticStyle:{"min-height":"400px"}},[e("div",{staticClass:"text-center"},[0==t.media.length?e("div",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark"},[e("div",{staticClass:"card-body py-2",on:{click:function(e){return e.preventDefault(),t.addMedia.apply(null,arguments)}}},[e("div",{staticClass:"media"},[t._m(4),t._v(" "),e("div",{staticClass:"media-body text-left"},[t._m(5),t._v(" "),e("p",{staticClass:"mb-0 text-muted"},[t._v("Share up to "+t._s(t.config.uploader.album_limit)+" photos or videos")]),t._v(" "),e("p",{staticClass:"mb-0 text-muted small"},[e("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 "),e("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?e("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)])]):"cropPhoto"==t.page?e("div",{staticClass:"w-100 h-100"},[t.ids.length>0?e("div",[e("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()]):2==t.page?e("div",{staticClass:"w-100 h-100"},[1==t.media.length?e("div",[e("div",{staticStyle:{display:"flex","min-height":"420px","align-items":"center"},attrs:{slot:"img"},slot:"img"},[e("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(" "),e("hr"),t._v(" "),t.ids.length>0&&"image"==t.media[t.carouselCursor].type?e("div",{staticClass:"align-items-center px-2 pt-2"},[e("ul",{staticClass:"nav media-drawer-filters text-center"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"p-1 pt-3"},[e("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(" "),e("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(a,i){return e("li",{staticClass:"nav-item"},[e("div",{staticClass:"p-1 pt-3"},[e("div",{staticClass:"rounded",class:a[1]},[e("img",{attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,a[1])}}})])]),t._v(" "),e("a",{class:[t.media[t.carouselCursor].filter_class==a[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,a[1])}}},[t._v(t._s(a[0]))])])}))],2)]):t._e()]):t.media.length>1?e("div",{staticClass:"d-flex-inline px-2 pt-2"},[e("ul",{staticClass:"nav media-drawer-filters text-center pb-3"},[e("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")]),t._v(" "),t._l(t.media,(function(a,i){return e("li",{key:a.id+":"+t.carouselCursor,staticClass:"nav-item mx-md-4"},[e("div",{staticClass:"nav-link",staticStyle:{display:"block",width:"300px",height:"300px"},on:{click:function(e){t.carouselCursor=i}}},[e("div",{class:[a.filter_class?a.filter_class:""],staticStyle:{width:"100%",height:"100%",display:"block"}},[e("div",{class:"rounded "+[i==t.carouselCursor?" border border-primary shadow":""],style:"display:block;width:100%;height:100%;background-image: url("+a.url+");background-size:cover;"})])]),t._v(" "),i==t.carouselCursor?e("div",{staticClass:"text-center mb-0 small text-lighter font-weight-bold pt-2"},[e("button",{staticClass:"btn btn-link",on:{click:function(e){return t.mediaReorder("prev")}}},[e("i",{staticClass:"far fa-chevron-circle-left"})]),t._v(" "),e("span",{staticClass:"cursor-pointer",on:{click:function(e){return e.preventDefault(),t.showCropPhotoCard.apply(null,arguments)}}},[t._v("Crop")]),t._v(" "),e("span",{staticClass:"cursor-pointer px-3",on:{click:function(e){return e.preventDefault(),t.showEditMediaCard()}}},[t._v("Edit")]),t._v(" "),e("span",{staticClass:"cursor-pointer",on:{click:function(e){return t.deleteMedia()}}},[t._v("Delete")]),t._v(" "),e("button",{staticClass:"btn btn-link",on:{click:function(e){return t.mediaReorder("next")}}},[e("i",{staticClass:"far fa-chevron-circle-right"})])]):t._e()])})),t._v(" "),e("li",{staticClass:"nav-item mx-md-4"},[t._v(" ")])],2),t._v(" "),e("hr"),t._v(" "),t.ids.length>0&&"image"==t.media[t.carouselCursor].type?e("div",{staticClass:"align-items-center px-2 pt-2"},[e("ul",{staticClass:"nav media-drawer-filters text-center"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"p-1 pt-3"},[e("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(" "),e("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(a,i){return e("li",{staticClass:"nav-item"},[e("div",{staticClass:"p-1 pt-3"},[e("img",{class:a[1],attrs:{src:t.media[t.carouselCursor].url,width:"100px",height:"60px"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,a[1])}}})]),t._v(" "),e("a",{class:[t.media[t.carouselCursor].filter_class==a[1]?"nav-link text-primary active":"nav-link text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleFilter(e,a[1])}}},[t._v(t._s(a[0]))])])}))],2)]):t._e()]):e("div",[e("p",{staticClass:"mb-0 p-5 text-center font-weight-bold"},[t._v("An error occured, please refresh the page.")])])]):3==t.page?e("div",{staticClass:"w-100 h-100"},[e("div",{staticClass:"border-bottom mt-2"},[e("div",{staticClass:"media px-3"},[e("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(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.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(" "),e("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])])]),t._v(" "),e("div",{staticClass:"border-bottom"},[e("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer d-flex justify-content-between",on:{click:function(e){return t.showMediaDescriptionsCard()}}},[e("span",[t._v("Alt Text")]),t._v(" "),e("span",[t.media&&t.media.filter((function(t){return t.alt})).length==t.media.length?e("i",{staticClass:"fas fa-check-circle fa-lg text-success"}):e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])]),t._v(" "),e("div",{staticClass:"border-bottom px-4 mb-0 py-2"},[e("div",{staticClass:"d-flex justify-content-between"},[t._m(11),t._v(" "),e("div",[e("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[e("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 a=t.nsfw,i=e.target,s=!!i.checked;if(Array.isArray(a)){var o=t._i(a,null);i.checked?o<0&&(t.nsfw=a.concat([null])):o>-1&&(t.nsfw=a.slice(0,o).concat(a.slice(o+1)))}else t.nsfw=s}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),t.nsfw?e("div",[e("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(" "),e("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.spoilerTextLength)+"/140")])]):t._e()]),t._v(" "),e("div",{staticClass:"border-bottom"},[e("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showTagCard()}}},[t._v("Tag people")])]),t._v(" "),e("div",{staticClass:"border-bottom"},[e("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showCollectionCard()}}},[t._m(12),t._v(" "),e("span",{staticClass:"float-right"},[t.collectionsSelected.length?e("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(" "),e("div",{staticClass:"border-bottom"},[e("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[e("span",[t._v("Add license")]),t._v(" "),e("span",{staticClass:"float-right"},[t.licenseTitle?e("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(" "),e("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLicenseCard()}}},[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),e("div",{staticClass:"border-bottom"},[t.place?e("p",{staticClass:"px-4 mb-0 py-2"},[e("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"),e("span",{staticClass:"float-right"},[e("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(" "),e("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")])])]):e("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLocationCard()}}},[t._v("Add location")])]),t._v(" "),e("div",{staticClass:"border-bottom"},[e("p",{staticClass:"px-4 mb-0 py-2"},[e("span",[t._v("Audience")]),t._v(" "),e("span",{staticClass:"float-right"},[e("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(" "),e("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),e("div",{staticStyle:{"min-height":"200px"}},[e("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")])])]):"tagPeople"==t.page?e("div",{staticClass:"w-100 h-100 p-3"},[e("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(" "),e("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(" "),e("p",{staticClass:"font-weight-bold text-center mt-3"},[t._v("Tagged People")]),t._v(" "),e("div",{staticClass:"list-group"},[t._l(t.taggedUsernames,(function(a,i){return e("div",{staticClass:"list-group-item d-flex justify-content-between"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-2 rounded-circle border",attrs:{src:a.avatar,width:"24px",height:"24px"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(a.name))])])]),t._v(" "),e("div",{staticClass:"custom-control custom-switch"},[e("input",{directives:[{name:"model",rawName:"v-model",value:a.privacy,expression:"tag.privacy"}],staticClass:"custom-control-input disabled",attrs:{type:"checkbox",id:"cci-tagged-privacy-switch"+i,disabled:""},domProps:{checked:Array.isArray(a.privacy)?t._i(a.privacy,null)>-1:a.privacy},on:{change:function(e){var i=a.privacy,s=e.target,o=!!s.checked;if(Array.isArray(i)){var n=t._i(i,null);s.checked?n<0&&t.$set(a,"privacy",i.concat([null])):n>-1&&t.$set(a,"privacy",i.slice(0,n).concat(i.slice(n+1)))}else t.$set(a,"privacy",o)}}}),t._v(" "),e("label",{staticClass:"custom-control-label font-weight-bold text-lighter",attrs:{for:"cci-tagged-privacy-switch"+i}},[t._v(t._s(a.privacy?"Public":"Private"))]),t._v(" "),e("a",{staticClass:"ml-3",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.untagUsername(i)}}},[e("i",{staticClass:"fas fa-times text-muted"})])])])})),t._v(" "),0==t.taggedUsernames.length?e("div",{staticClass:"list-group-item p-3"},[e("p",{staticClass:"text-center mb-0 font-weight-bold text-lighter"},[t._v("Search usernames to tag.")])]):t._e()],2),t._v(" "),e("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."),e("br"),t._v("For more information on tagging, "),e("a",{staticClass:"text-primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showTagHelpCard()}}},[t._v("click here")]),t._v(".")])],1):"tagPeopleHelp"==t.page?e("div",{staticClass:"w-100 h-100 p-3"},[e("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(" "),e("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")])]):"addLocation"==t.page?e("div",{staticClass:"w-100 h-100 p-3"},[e("p",{staticClass:"mb-0"},[t._v("Add Location")]),t._v(" "),e("autocomplete",{attrs:{search:t.locationSearch,placeholder:"Search locations ...","aria-label":"Search locations ...","get-result-value":t.getResultValue},on:{submit:t.onSubmitLocation}})],1):"advancedSettings"==t.page?e("div",{staticClass:"w-100 h-100"},[e("div",{staticClass:"list-group list-group-flush"},[e("div",{staticClass:"list-group-item d-flex justify-content-between"},[t._m(14),t._v(" "),e("div",[e("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[e("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 a=t.commentsDisabled,i=e.target,s=!!i.checked;if(Array.isArray(a)){var o=t._i(a,null);i.checked?o<0&&(t.commentsDisabled=a.concat([null])):o>-1&&(t.commentsDisabled=a.slice(0,o).concat(a.slice(o+1)))}else t.commentsDisabled=s}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"asdisablecomments"}})])])]),t._v(" "),e("a",{staticClass:"list-group-item",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showMediaDescriptionsCard()}}},[t._m(15)])])]):"visibility"==t.page?e("div",{staticClass:"w-100 h-100"},[e("div",{staticClass:"list-group list-group-flush"},[t.profile.locked?t._e():e("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():e("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(" "),e("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")])])]):"altText"==t.page?e("div",{staticClass:"w-100 h-100 p-3"},[t._l(t.media,(function(a,i){return e("div",[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3",attrs:{src:a.preview_url,width:"50px",height:"50px"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:a.alt,expression:"m.alt"}],staticClass:"form-control",attrs:{placeholder:"Add a media description here...",maxlength:t.maxAltTextLength,rows:"4"},domProps:{value:a.alt},on:{input:function(e){e.target.composing||t.$set(a,"alt",e.target.value)}}}),t._v(" "),e("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(a.alt?a.alt.length:0)+"/"+t._s(t.maxAltTextLength))])])]),t._v(" "),e("hr")])})),t._v(" "),e("p",{staticClass:"d-flex justify-content-between mb-0"},[e("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(" "),e("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])],2):"addToCollection"==t.page?e("div",{staticClass:"w-100 h-100 p-3"},[t.collectionsLoaded&&t.collections.length?e("div",{staticClass:"list-group mb-3 collections-list-group"},[t._l(t.collections,(function(a,i){return e("div",{staticClass:"list-group-item cursor-pointer compose-action border",class:{active:t.collectionsSelected.includes(i)},on:{click:function(e){return t.toggleCollectionItem(i)}}},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3",attrs:{src:a.thumb,alt:"",width:"50px",height:"50px"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("h5",{staticClass:"mt-0"},[t._v(t._s(a.title))]),t._v(" "),e("p",{staticClass:"mb-0 text-muted small"},[t._v(t._s(a.post_count)+" Posts - Created "+t._s(t.timeAgo(a.published_at))+" ago")])])])])})),t._v(" "),t.collectionsCanLoadMore?e("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(" "),e("p",{staticClass:"d-flex justify-content-between mb-0"},[e("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(" "),e("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):"schedulePost"==t.page||"mediaMetadata"==t.page||"addToStory"==t.page?e("div",{staticClass:"w-100 h-100 p-3"},[e("p",{staticClass:"text-center lead text-muted mb-0 py-5"},[t._v("This feature is not available yet.")])]):"editMedia"==t.page?e("div",{staticClass:"w-100 h-100 p-3"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3",attrs:{src:t.media[t.carouselCursor].preview_url,width:"50px",height:"50px"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted small"},[t._v("Media Description")]),t._v(" "),e("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(" "),e("p",{staticClass:"help-text small text-muted mb-0 d-flex justify-content-between"},[e("span",[t._v("Describe your photo for people with visual impairments.")]),t._v(" "),e("span",[t._v(t._s(t.media[t.carouselCursor].alt?t.media[t.carouselCursor].alt.length:0)+"/140")])])]),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted small"},[t._v("License")]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.licenseId,expression:"licenseId"}],staticClass:"form-control",on:{change:function(e){var a=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?a:a[0]}}},t._l(t.availableLicenses,(function(a,i){return e("option",{domProps:{value:a.id,selected:a.id==t.licenseId}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(a.name)+"\n\t\t\t\t\t\t\t\t\t\t")])})),0)])])]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"d-flex justify-content-between mb-0"},[e("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(" "),e("button",{staticClass:"btn btn-primary font-weight-bold",attrs:{type:"button"},on:{click:function(e){return t.goBack()}}},[t._v("Save")])])]):"video-2"==t.page?e("div",{staticClass:"w-100 h-100"},[t.video.title.length?e("div",{staticClass:"border-bottom"},[e("div",{staticClass:"media p-3"},[e("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(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold mb-1"},[t._v(t._s(t.video.title?t.video.title.slice(0,70):"Untitled"))]),t._v(" "),e("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(" "),e("div",{staticClass:"border-bottom d-flex justify-content-between px-4 mb-0 py-2"},[t._m(16),t._v(" "),e("div",[e("div",{staticClass:"custom-control custom-switch",staticStyle:{"z-index":"9999"}},[e("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 a=t.nsfw,i=e.target,s=!!i.checked;if(Array.isArray(a)){var o=t._i(a,null);i.checked?o<0&&(t.nsfw=a.concat([null])):o>-1&&(t.nsfw=a.slice(0,o).concat(a.slice(o+1)))}else t.nsfw=s}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"asnsfw"}})])])]),t._v(" "),e("div",{staticClass:"border-bottom"},[e("p",{staticClass:"px-4 mb-0 py-2 cursor-pointer",on:{click:function(e){return t.showLicenseCard()}}},[t._v("Add license")])]),t._v(" "),e("div",{staticClass:"border-bottom"},[e("p",{staticClass:"px-4 mb-0 py-2"},[e("span",[t._v("Audience")]),t._v(" "),e("span",{staticClass:"float-right"},[e("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(" "),e("a",{staticClass:"text-decoration-none",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showVisibilityCard()}}},[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])])]),t._v(" "),e("div",{staticClass:"p-3"},[e("div",{staticClass:"form-group"},[e("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Title")]),t._v(" "),e("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(" "),e("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.title.length)+"/70")])]),t._v(" "),e("div",{staticClass:"form-group mb-0"},[e("p",{staticClass:"small font-weight-bold text-muted mb-0"},[t._v("Description")]),t._v(" "),e("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(" "),e("p",{staticClass:"help-text mb-0 small text-muted"},[t._v(t._s(t.video.description.length)+"/5000")])])])]):"filteringMedia"==t.page?e("div",{staticClass:"w-100 h-100 py-5"},[e("div",{staticClass:"d-flex flex-column align-items-center justify-content-center py-5"},[e("b-spinner",{attrs:{small:""}}),t._v(" "),e("p",{staticClass:"font-weight-bold mt-3"},[t._v("Applying filters...")])],1)]):t._e()]),t._v(" "),"cropPhoto"==t.page?e("div",{staticClass:"card-footer bg-white d-flex justify-content-between"},[e("div",[e("button",{staticClass:"btn btn-outline-secondary",attrs:{type:"button"},on:{click:t.rotate}},[e("i",{staticClass:"fas fa-redo"})])]),t._v(" "),e("div",[e("div",{staticClass:"d-inline-block button-group"},[e("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(" "),e("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(" "),e("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(" "),e("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(" "),e("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()])])])])},s=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-header d-inline-flex align-items-center justify-content-between bg-white"},[e("span",{staticClass:"pr-3"},[e("i",{staticClass:"fas fa-cog fa-lg text-muted"})]),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tCamera Roll\n\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"text-primary font-weight-bold"},[t._v("Upload")])])},function(){var t=this._self._c;return t("span",{staticClass:"pr-3"},[t("i",{staticClass:"fas fa-info-circle fa-lg text-primary"})])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])},function(){var t=this._self._c;return t("div",{staticClass:"mr-3 align-items-center justify-content-center",staticStyle:{display:"inline-flex",width:"40px",height:"40px","border-radius":"100%","background-color":"#008DF5"}},[t("i",{staticClass:"fal fa-bolt text-white fa-lg"})])},function(){var t=this._self._c;return t("p",{staticClass:"mb-0"},[t("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[this._v("New Post")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"media"},[e("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"}},[e("i",{staticClass:"far fa-edit text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"media-body text-left"},[e("p",{staticClass:"mb-0"},[e("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Text Post")]),t._v(" "),e("sup",{staticClass:"float-right mt-2"},[e("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(" "),e("p",{staticClass:"mb-0 text-muted"},[t._v("Share a text only post")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-body py-2"},[e("div",{staticClass:"media"},[e("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"}},[e("i",{staticClass:"fas fa-history text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"media-body text-left"},[e("p",{staticClass:"mb-0"},[e("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Story")]),t._v(" "),e("sup",{staticClass:"float-right mt-2"},[e("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(" "),e("p",{staticClass:"mb-0 text-muted"},[t._v("Add to your story")])])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-body py-2"},[e("div",{staticClass:"media"},[e("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"}},[e("i",{staticClass:"fas fa-poll-h text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"media-body text-left"},[e("p",{staticClass:"mb-0"},[e("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Poll")]),t._v(" "),e("sup",{staticClass:"float-right mt-2"},[e("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(" "),e("p",{staticClass:"mb-0 text-muted"},[t._v("Create a poll")])])])])},function(){var t=this,e=t._self._c;return e("a",{staticClass:"card my-md-3 shadow-none border compose-action text-decoration-none text-dark",attrs:{href:"/i/collections/create"}},[e("div",{staticClass:"card-body py-2"},[e("div",{staticClass:"media"},[e("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"}},[e("i",{staticClass:"fal fa-images text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"media-body text-left"},[e("p",{staticClass:"mb-0"},[e("span",{staticClass:"h5 mt-0 font-weight-bold text-primary"},[t._v("New Collection")]),t._v(" "),e("sup",{staticClass:"float-right mt-2"},[e("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(" "),e("p",{staticClass:"mb-0 text-muted"},[t._v("New collection of posts")])])])])])},function(){var t=this._self._c;return t("p",{staticClass:"py-3"},[t("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[this._v("Help")])])},function(){var t=this._self._c;return t("div",[t("div",{staticClass:"text-dark"},[this._v("Sensitive/NSFW Media")])])},function(){var t=this,e=t._self._c;return e("span",[t._v("Add to Collection "),e("span",{staticClass:"ml-2 badge badge-primary"},[t._v("NEW")])])},function(){var t=this._self._c;return t("span",{staticClass:"text-decoration-none"},[t("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])},function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"text-dark"},[t._v("Turn off commenting")]),t._v(" "),e("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._self._c;return e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",[e("div",{staticClass:"text-dark"},[t._v("Media Descriptions")]),t._v(" "),e("p",{staticClass:"text-muted small mb-0"},[t._v("Describe your photos for people with visual impairments.")])]),t._v(" "),e("div",[e("i",{staticClass:"fas fa-chevron-right fa-lg text-lighter"})])])},function(){var t=this._self._c;return t("div",[t("div",{staticClass:"text-dark"},[this._v("Contains NSFW Media")])])}]},35518:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(76798),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const o=s},54788:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(76798),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const o=s},63996:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(76798),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".compose-modal-component .media-drawer-filters{flex-wrap:unset;overflow-x:auto}.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=s},96259:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(85072),s=a.n(i),o=a(35518),n={insert:"head",singleton:!1};s()(o.default,n);const r=o.default.locals||{}},5323:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(85072),s=a.n(i),o=a(54788),n={insert:"head",singleton:!1};s()(o.default,n);const r=o.default.locals||{}},57893:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(85072),s=a.n(i),o=a(63996),n={insert:"head",singleton:!1};s()(o.default,n);const r=o.default.locals||{}},46537:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(22358),s=a(6422),o={};for(const t in s)"default"!==t&&(o[t]=()=>s[t]);a.d(e,o);const n=(0,a(14486).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},5787:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(16286),s=a(80260),o={};for(const t in s)"default"!==t&&(o[t]=()=>s[t]);a.d(e,o);a(68840);const n=(0,a(14486).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},90414:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(82704),s=a(55597),o={};for(const t in s)"default"!==t&&(o[t]=()=>s[t]);a.d(e,o);const n=(0,a(14486).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},28772:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(75754),s=a(75223),o={};for(const t in s)"default"!==t&&(o[t]=()=>s[t]);a.d(e,o);a(68338);const n=(0,a(14486).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},19324:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(87310),s=a(50427),o={};for(const t in s)"default"!==t&&(o[t]=()=>s[t]);a.d(e,o);a(17774);const n=(0,a(14486).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},6422:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(66517),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const o=i.default},80260:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(50371),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const o=i.default},55597:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(84154),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const o=i.default},75223:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(79318),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const o=i.default},50427:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(28320),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const o=i.default},22358:(t,e,a)=>{a.r(e);var i=a(32463),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},16286:(t,e,a)=>{a.r(e);var i=a(69831),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},82704:(t,e,a)=>{a.r(e);var i=a(67153),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},75754:(t,e,a)=>{a.r(e);var i=a(67725),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},87310:(t,e,a)=>{a.r(e);var i=a(2383),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},68840:(t,e,a)=>{a.r(e);var i=a(96259),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},68338:(t,e,a)=>{a.r(e);var i=a(5323),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},17774:(t,e,a)=>{a.r(e);var i=a(57893),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)}}]); \ No newline at end of file diff --git a/public/js/daci.chunk.e49239579f174211.js b/public/js/daci.chunk.8a381f0a227e6ed5.js similarity index 75% rename from public/js/daci.chunk.e49239579f174211.js rename to public/js/daci.chunk.8a381f0a227e6ed5.js index da02a4351..b85761a86 100644 --- a/public/js/daci.chunk.e49239579f174211.js +++ b/public/js/daci.chunk.8a381f0a227e6ed5.js @@ -1 +1 @@ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[1179],{79714:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(5787),i=s(28772),n=s(35547);const o={components:{drawer:a.default,sidebar:i.default,"status-card":n.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}})}}}},56987:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(20243),i=s(84800),n=s(79110),o=s(27821);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"post-content":n.default,"post-header":i.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.shadowStatus.media_attachments||!this.shadowStatus.media_attachments.length)&&this.shadowStatus.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.shadowStatus.account.id==window._sharedData.user.id,this.shadowStatus.reply_count&&this.autoloadComments&&!1===this.shadowStatus.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},isReblog:{get:function(){return null!=this.status.reblog}},reblogAccount:{get:function(){return this.status.reblog?this.status.account:null}},shadowStatus:{get:function(){return this.status.reblog?this.status.reblog:this.status}}},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")}}}},50371:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:window._sharedData.user}}}},84154:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(79288),i=s(50294),n=s(34719),o=s(72028),r=s(19138);const l={props:{status:{type:Object}},components:{VueTribute:a.default,ReadMore:i.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,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},24758:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(50294);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:a.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},85100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},37844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},getDiff:function(t){if(t==this.allHistory.length-1)return this.allHistory[this.allHistory.length-1].content;var e=document.createElement("div");return r.forEach((function(t){var s=t.added?"green":t.removed?"red":"grey",a=document.createElement("span");(a.style.color=s,console.log(t.value,t.value.length),t.added)?t.value.trim().length?a.appendChild(document.createTextNode(t.value)):a.appendChild(document.createTextNode("·")):a.appendChild(document.createTextNode(t.value));e.appendChild(a)})),e.innerHTML},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),a=Math.floor(s/63072e3);return a<0?"0s":a>=1?a+(1==a?" year":" years")+" ago":(a=Math.floor(s/604800))>=1?a+(1==a?" week":" weeks")+" ago":(a=Math.floor(s/86400))>=1?a+(1==a?" day":" days")+" ago":(a=Math.floor(s/3600))>=1?a+(1==a?" hour":" hours")+" ago":(a=Math.floor(s/60))>=1?a+(1==a?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},61746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(18634),i=s(50294),n=s(75938);const o={props:["status"],components:{"read-more":i.default,"video-player":n.default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},22434:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(34719),i=s(49986);const n={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1},isReblog:{type:Boolean,default:!1},reblogAccount:{type:Object}},components:{"profile-hover-card":a.default,"edit-history-modal":i.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfileById:function(t){var e=this;this.$nextTick((function(){e.$router.push({name:"profile",path:"/i/web/profile/".concat(t),params:{id:t,cachedUser:e.profile}})}))},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")},openEditModal:function(){this.$refs.editModal.open()}}}},99397:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(20243),i=s(34719);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},6140:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var a=document.createElement("a");a.href=e.getAttribute("href"),s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},3223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(50294),i=s(95353);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:a.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[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 a=document.createElement("a");a.href=t.profile.url,s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},79318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(95353),i=s(90414);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,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:{UpdateAvatar:i.default},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},68910:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(64945),i=(s(34076),s(34330)),n=s.n(i),o=(s(10706),s(71241));const r={props:["status","fixedHeight"],data:function(){return{shouldPlay:!1,hasHls:void 0,hlsConfig:window.App.config.features.hls,liveSyncDurationCount:7,isHlsSupported:!1,isP2PSupported:!1,engine:void 0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{handleShouldPlay:function(){var t=this;this.shouldPlay=!0,this.isHlsSupported=this.hlsConfig.enabled&&a.default.isSupported(),this.isP2PSupported=this.hlsConfig.enabled&&this.hlsConfig.p2p&&o.Engine.isSupported(),this.$nextTick((function(){t.init()}))},init:function(){var t,e=this;!this.status.sensitive&&null!==(t=this.status.media_attachments[0])&&void 0!==t&&t.hls_manifest&&this.isHlsSupported?(this.hasHls=!0,this.$nextTick((function(){e.initHls()}))):this.hasHls=!1},initHls:function(){var t;if(this.isP2PSupported){var e={loader:{trackerAnnounce:[this.hlsConfig.tracker],rtcConfig:{iceServers:[{urls:[this.hlsConfig.ice]}]}}},s=new o.Engine(e);this.hlsConfig.p2p_debug&&(s.on("peer_connect",(function(t){return console.log("peer_connect",t.id,t.remoteAddress)})),s.on("peer_close",(function(t){return console.log("peer_close",t)})),s.on("segment_loaded",(function(t,e){return console.log("segment_loaded from",e?"peer ".concat(e):"HTTP",t.url)}))),t=s.createLoaderClass()}else t=a.default.DefaultConfig.loader;var i=this.$refs.video,r=this.status.media_attachments[0].hls_manifest,l=(new(n())(i,{captions:{active:!0,update:!0}}),new a.default({liveSyncDurationCount:this.liveSyncDurationCount,loader:t})),c=this;(0,o.initHlsJsPlayer)(l),l.loadSource(r),l.attachMedia(i),l.on(a.default.Events.MANIFEST_PARSED,(function(t,e){this.hlsConfig.debug&&(console.log(t),console.log(e));var s={},o=l.levels.map((function(t){return t.height}));this.hlsConfig.debug&&console.log(o),o.unshift(0),s.quality={default:0,options:o,forced:!0,onChange:function(t){return c.updateQuality(t)}},s.i18n={qualityLabel:{0:"Auto"}},l.on(a.default.Events.LEVEL_SWITCHED,(function(t,e){var s=document.querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");l.autoLevelEnabled?s.innerHTML="Auto (".concat(l.levels[e.level].height,"p)"):s.innerHTML="Auto"}));new(n())(i,s)}))},updateQuality:function(t){var e=this;0===t?window.hls.currentLevel=-1:window.hls.levels.forEach((function(s,a){s.height===t&&(e.hlsConfig.debug&&console.log("Found quality match with "+t),window.hls.currentLevel=a)}))},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},70887:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-insights-component"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-6 col-lg-6"},[e("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),e("h1",{staticClass:"font-default"},[t._v("Account Insights")]),t._v(" "),e("p",{staticClass:"font-default lead"},[t._v("A brief overview of your account")]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6 mb-3"},[e("div",{staticClass:"card bg-midnight"},[e("div",{staticClass:"card-body font-default text-white"},[e("h1",{staticClass:"display-4 mb-n2"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),e("p",{staticClass:"primary lead mb-0 font-weight-bold"},[t._v("Posts")])])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-6 mb-3"},[e("div",{staticClass:"card bg-midnight"},[e("div",{staticClass:"card-body font-default text-white"},[e("h1",{staticClass:"display-4 mb-n2"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),e("p",{staticClass:"primary lead mb-0 font-weight-bold"},[t._v("Followers")])])])])]),t._v(" "),t.profile.statuses_count?e("div",{staticClass:"card my-3 bg-midnight"},[e("div",{staticClass:"card-header bg-dark border-bottom border-primary text-white font-default lead"},[t._v("Popular Posts")]),t._v(" "),t.popularLoaded?e("ul",{staticClass:"list-group list-group-flush font-default text-white"},t._l(t.popular,(function(s){return e("li",{staticClass:"list-group-item bg-midnight"},[e("div",{staticClass:"media align-items-center"},[s.media_attachments.length?e("img",{staticClass:"media-photo shadow",attrs:{src:s.media_attachments[0].url,onerror:"this.onerror=null;this.src='/storage/no-preview.png?v=0'"}}):t._e(),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"media-caption mb-0"},[t._v(t._s(s.content_text.slice(0,40)))]),t._v(" "),e("p",{staticClass:"mb-0"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.favourites_count)+" Likes")]),t._v(" "),e("span",{staticClass:"mx-2"},[t._v("·")]),t._v(" "),e("span",{staticClass:"text-muted"},[t._v("Posted "+t._s(t.timeago(s.created_at))+" ago")])])]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold rounded-pill",on:{click:function(e){return t.gotoPost(s)}}},[t._v("View")])])])})),0):e("div",{staticClass:"card-body text-white"},[e("b-spinner")],1)]):t._e()],1)])]):t._e()])},i=[]},70201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.shadowStatus,"is-reblog":t.isReblog,"reblog-account":t.reblogAccount},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.shadowStatus}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.shadowStatus,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.shadowStatus,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=[]},69831:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},67153:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},55318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===a?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(a,i){return e("div",{on:{click:function(e){return t.lightbox(s,i)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[i].blurhash,src:t.getMediaSource(s,i)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===a?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===a?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===a?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[a].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[a].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[a].replies},on:{"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==a&&t.feed[a].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==a?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(a,e)},"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},i=[]},54309:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},82285:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},i=[]},27934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var a=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,a){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(a==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=a}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},i=[]},79911:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight}}):"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div",[t.status.sensitive?e("div",{staticClass:"border m-3 p-5 rounded-lg"},[t._m(1),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold mb-0"},[t._v("Sensitive Content")]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.status.spoiler_text&&t.status.spoiler_text.length?t.status.spoiler_text:"This post may contain sensitive content"))]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See post")])])]):t._e()]):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],1):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},44516:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[t.isReblog?e("div",{staticClass:"card-header bg-light border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center",staticStyle:{height:"10px"}},[e("a",{staticClass:"mx-2",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[e("img",{staticStyle:{"border-radius":"10px"},attrs:{src:t.reblogAccount.avatar,width:"24",height:"24",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticStyle:{"font-size":"12px","font-weight":"bold"}},[e("i",{staticClass:"far fa-retweet text-warning mr-1"}),t._v(" Reblogged by "),e("a",{staticClass:"text-dark",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[t._v("@"+t._s(t.reblogAccount.acct))])])])]):t._e(),t._v(" "),e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n "+t._s(t.status.account.acct)+"\n ")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n "+t._s(t.timeago(t.status.created_at))+"\n ")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)])},i=[]},51992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},16331:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},53577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}})]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},67725:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},21146:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n Sensitive Content\n ")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n "+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n ")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):[t.shouldPlay?[t.hasHls?e("video",{ref:"video",class:{fixedHeight:t.fixedHeight},staticStyle:{margin:"0"},attrs:{playsinline:"","webkit-playsinline":"",controls:"",autoplay:"false",poster:t.getPoster(t.status)}}):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{autoplay:"false",playsinline:"","webkit-playsinline":"",controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:e("div",{staticClass:"content-label-wrapper",style:{background:"linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.8)),url(".concat(t.getPoster(t.status),")"),backgroundSize:"cover"}},[e("div",{staticClass:"text-light content-label"},[e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-link btn-block btn-sm font-weight-bold",on:{click:function(e){return e.preventDefault(),t.handleShouldPlay.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-play fa-5x text-white"})])])])])]],2)},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},96938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.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 n=i},35296:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},35518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=i},34857:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},49777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const n=i},93100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},54788:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const n=i},68339:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(96938),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},209:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(35296),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},96259:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(35518),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},48432:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(34857),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},22626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(49777),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},67621:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(93100),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},5323:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(54788),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},71610:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(57806),i=s(50837),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(8860);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,"65e1644a",null).exports},35547:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(59028),i=s(52548),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(86546);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},5787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(16286),i=s(80260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(68840);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},90414:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(82704),i=s(55597),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},20243:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(34727),i=s(88012),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(21883);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},72028:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(46098),i=s(93843),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},19138:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(44982),i=s(43509),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},49986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(32785),i=s(79577),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(67011);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},79110:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(5458),i=s(99369),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},84800:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(43047),i=s(6119),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},27821:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(99421),i=s(28934),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},50294:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(95728),i=s(33417),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},34719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(38888),i=s(42260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(88814);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},28772:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(75754),i=s(75223),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(68338);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},75938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(86943),i=s(42909),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},50837:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(79714),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},52548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(56987),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},80260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(50371),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},55597:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(84154),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},88012:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(3211),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},93843:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(24758),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},43509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85100),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},79577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(37844),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},99369:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(61746),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},6119:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(22434),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},28934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(99397),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},33417:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(6140),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},42260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(3223),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},75223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(79318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},42909:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(68910),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},57806:(t,e,s)=>{"use strict";s.r(e);var a=s(70887),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},59028:(t,e,s)=>{"use strict";s.r(e);var a=s(70201),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},16286:(t,e,s)=>{"use strict";s.r(e);var a=s(69831),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},82704:(t,e,s)=>{"use strict";s.r(e);var a=s(67153),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},34727:(t,e,s)=>{"use strict";s.r(e);var a=s(55318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},46098:(t,e,s)=>{"use strict";s.r(e);var a=s(54309),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},44982:(t,e,s)=>{"use strict";s.r(e);var a=s(82285),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},32785:(t,e,s)=>{"use strict";s.r(e);var a=s(27934),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},5458:(t,e,s)=>{"use strict";s.r(e);var a=s(79911),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},43047:(t,e,s)=>{"use strict";s.r(e);var a=s(44516),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},99421:(t,e,s)=>{"use strict";s.r(e);var a=s(51992),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},95728:(t,e,s)=>{"use strict";s.r(e);var a=s(16331),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},38888:(t,e,s)=>{"use strict";s.r(e);var a=s(53577),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},75754:(t,e,s)=>{"use strict";s.r(e);var a=s(67725),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86943:(t,e,s)=>{"use strict";s.r(e);var a=s(21146),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},8860:(t,e,s)=>{"use strict";s.r(e);var a=s(68339),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86546:(t,e,s)=>{"use strict";s.r(e);var a=s(209),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68840:(t,e,s)=>{"use strict";s.r(e);var a=s(96259),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},21883:(t,e,s)=>{"use strict";s.r(e);var a=s(48432),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},67011:(t,e,s)=>{"use strict";s.r(e);var a=s(22626),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},88814:(t,e,s)=>{"use strict";s.r(e);var a=s(67621),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68338:(t,e,s)=>{"use strict";s.r(e);var a=s(5323),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},11220:()=>{},16052:()=>{},40295:()=>{},89858:()=>{},45187:()=>{},87919:()=>{},40264:()=>{},80434:()=>{},18053:()=>{}}]); \ No newline at end of file +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[1179],{79714:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(5787),i=s(28772),n=s(35547);const o={components:{drawer:a.default,sidebar:i.default,"status-card":n.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}})}}}},56987:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(20243),i=s(84800),n=s(79110),o=s(27821);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"post-content":n.default,"post-header":i.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.shadowStatus.media_attachments||!this.shadowStatus.media_attachments.length)&&this.shadowStatus.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.shadowStatus.account.id==window._sharedData.user.id,this.shadowStatus.reply_count&&this.autoloadComments&&!1===this.shadowStatus.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},isReblog:{get:function(){return null!=this.status.reblog}},reblogAccount:{get:function(){return this.status.reblog?this.status.account:null}},shadowStatus:{get:function(){return this.status.reblog?this.status.reblog:this.status}}},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")}}}},50371:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:window._sharedData.user}}}},84154:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(79288),i=s(50294),n=s(34719),o=s(72028),r=s(19138);const l={props:{status:{type:Object}},components:{VueTribute:a.default,ReadMore:i.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,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},24758:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(50294);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:a.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},85100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},37844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},getDiff:function(t){if(t==this.allHistory.length-1)return this.allHistory[this.allHistory.length-1].content;var e=document.createElement("div");return r.forEach((function(t){var s=t.added?"green":t.removed?"red":"grey",a=document.createElement("span");(a.style.color=s,console.log(t.value,t.value.length),t.added)?t.value.trim().length?a.appendChild(document.createTextNode(t.value)):a.appendChild(document.createTextNode("·")):a.appendChild(document.createTextNode(t.value));e.appendChild(a)})),e.innerHTML},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),a=Math.floor(s/63072e3);return a<0?"0s":a>=1?a+(1==a?" year":" years")+" ago":(a=Math.floor(s/604800))>=1?a+(1==a?" week":" weeks")+" ago":(a=Math.floor(s/86400))>=1?a+(1==a?" day":" days")+" ago":(a=Math.floor(s/3600))>=1?a+(1==a?" hour":" hours")+" ago":(a=Math.floor(s/60))>=1?a+(1==a?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},61746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(18634),i=s(50294),n=s(75938);const o={props:["status"],components:{"read-more":i.default,"video-player":n.default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},22434:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(34719),i=s(49986);const n={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1},isReblog:{type:Boolean,default:!1},reblogAccount:{type:Object}},components:{"profile-hover-card":a.default,"edit-history-modal":i.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfileById:function(t){var e=this;this.$nextTick((function(){e.$router.push({name:"profile",path:"/i/web/profile/".concat(t),params:{id:t,cachedUser:e.profile}})}))},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")},openEditModal:function(){this.$refs.editModal.open()}}}},99397:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(20243),i=s(34719);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},6140:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var a=document.createElement("a");a.href=e.getAttribute("href"),s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},3223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(50294),i=s(95353);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:a.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[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 a=document.createElement("a");a.href=t.profile.url,s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},79318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(95353),i=s(90414);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,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:{UpdateAvatar:i.default},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},68910:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(64945),i=(s(34076),s(34330)),n=s.n(i),o=(s(10706),s(71241));const r={props:["status","fixedHeight"],data:function(){return{shouldPlay:!1,hasHls:void 0,hlsConfig:window.App.config.features.hls,liveSyncDurationCount:7,isHlsSupported:!1,isP2PSupported:!1,engine:void 0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{handleShouldPlay:function(){var t=this;this.shouldPlay=!0,this.isHlsSupported=this.hlsConfig.enabled&&a.default.isSupported(),this.isP2PSupported=this.hlsConfig.enabled&&this.hlsConfig.p2p&&o.Engine.isSupported(),this.$nextTick((function(){t.init()}))},init:function(){var t,e=this;!this.status.sensitive&&null!==(t=this.status.media_attachments[0])&&void 0!==t&&t.hls_manifest&&this.isHlsSupported?(this.hasHls=!0,this.$nextTick((function(){e.initHls()}))):this.hasHls=!1},initHls:function(){var t;if(this.isP2PSupported){var e={loader:{trackerAnnounce:[this.hlsConfig.tracker],rtcConfig:{iceServers:[{urls:[this.hlsConfig.ice]}]}}},s=new o.Engine(e);this.hlsConfig.p2p_debug&&(s.on("peer_connect",(function(t){return console.log("peer_connect",t.id,t.remoteAddress)})),s.on("peer_close",(function(t){return console.log("peer_close",t)})),s.on("segment_loaded",(function(t,e){return console.log("segment_loaded from",e?"peer ".concat(e):"HTTP",t.url)}))),t=s.createLoaderClass()}else t=a.default.DefaultConfig.loader;var i=this.$refs.video,r=this.status.media_attachments[0].hls_manifest,l=(new(n())(i,{captions:{active:!0,update:!0}}),new a.default({liveSyncDurationCount:this.liveSyncDurationCount,loader:t})),c=this;(0,o.initHlsJsPlayer)(l),l.loadSource(r),l.attachMedia(i),l.on(a.default.Events.MANIFEST_PARSED,(function(t,e){this.hlsConfig.debug&&(console.log(t),console.log(e));var s={},o=l.levels.map((function(t){return t.height}));this.hlsConfig.debug&&console.log(o),o.unshift(0),s.quality={default:0,options:o,forced:!0,onChange:function(t){return c.updateQuality(t)}},s.i18n={qualityLabel:{0:"Auto"}},l.on(a.default.Events.LEVEL_SWITCHED,(function(t,e){var s=document.querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");l.autoLevelEnabled?s.innerHTML="Auto (".concat(l.levels[e.level].height,"p)"):s.innerHTML="Auto"}));new(n())(i,s)}))},updateQuality:function(t){var e=this;0===t?window.hls.currentLevel=-1:window.hls.levels.forEach((function(s,a){s.height===t&&(e.hlsConfig.debug&&console.log("Found quality match with "+t),window.hls.currentLevel=a)}))},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},70887:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-insights-component"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-6 col-lg-6"},[e("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),e("h1",{staticClass:"font-default"},[t._v("Account Insights")]),t._v(" "),e("p",{staticClass:"font-default lead"},[t._v("A brief overview of your account")]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6 mb-3"},[e("div",{staticClass:"card bg-midnight"},[e("div",{staticClass:"card-body font-default text-white"},[e("h1",{staticClass:"display-4 mb-n2"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),e("p",{staticClass:"primary lead mb-0 font-weight-bold"},[t._v("Posts")])])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-6 mb-3"},[e("div",{staticClass:"card bg-midnight"},[e("div",{staticClass:"card-body font-default text-white"},[e("h1",{staticClass:"display-4 mb-n2"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),e("p",{staticClass:"primary lead mb-0 font-weight-bold"},[t._v("Followers")])])])])]),t._v(" "),t.profile.statuses_count?e("div",{staticClass:"card my-3 bg-midnight"},[e("div",{staticClass:"card-header bg-dark border-bottom border-primary text-white font-default lead"},[t._v("Popular Posts")]),t._v(" "),t.popularLoaded?e("ul",{staticClass:"list-group list-group-flush font-default text-white"},t._l(t.popular,(function(s){return e("li",{staticClass:"list-group-item bg-midnight"},[e("div",{staticClass:"media align-items-center"},[s.media_attachments.length?e("img",{staticClass:"media-photo shadow",attrs:{src:s.media_attachments[0].url,onerror:"this.onerror=null;this.src='/storage/no-preview.png?v=0'"}}):t._e(),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"media-caption mb-0"},[t._v(t._s(s.content_text.slice(0,40)))]),t._v(" "),e("p",{staticClass:"mb-0"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.favourites_count)+" Likes")]),t._v(" "),e("span",{staticClass:"mx-2"},[t._v("·")]),t._v(" "),e("span",{staticClass:"text-muted"},[t._v("Posted "+t._s(t.timeago(s.created_at))+" ago")])])]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold rounded-pill",on:{click:function(e){return t.gotoPost(s)}}},[t._v("View")])])])})),0):e("div",{staticClass:"card-body text-white"},[e("b-spinner")],1)]):t._e()],1)])]):t._e()])},i=[]},70201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.shadowStatus,"is-reblog":t.isReblog,"reblog-account":t.reblogAccount},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.shadowStatus}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.shadowStatus,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.shadowStatus,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=[]},69831:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},67153:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},55318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===a?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(a,i){return e("div",{on:{click:function(e){return t.lightbox(s,i)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[i].blurhash,src:t.getMediaSource(s,i)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===a?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===a?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===a?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[a].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[a].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[a].replies},on:{"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==a&&t.feed[a].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==a?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(a,e)},"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},i=[]},54309:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},82285:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},i=[]},27934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var a=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,a){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(a==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=a}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},i=[]},64394:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight}}):"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div",[t.status.sensitive?e("div",{staticClass:"border m-3 p-5 rounded-lg"},[t._m(1),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold mb-0"},[t._v("Sensitive Content")]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.status.spoiler_text&&t.status.spoiler_text.length?t.status.spoiler_text:"This post may contain sensitive content"))]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See post")])])]):t._e()]):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],1):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},44516:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[t.isReblog?e("div",{staticClass:"card-header bg-light border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center",staticStyle:{height:"10px"}},[e("a",{staticClass:"mx-2",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[e("img",{staticStyle:{"border-radius":"10px"},attrs:{src:t.reblogAccount.avatar,width:"24",height:"24",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticStyle:{"font-size":"12px","font-weight":"bold"}},[e("i",{staticClass:"far fa-retweet text-warning mr-1"}),t._v(" Reblogged by "),e("a",{staticClass:"text-dark",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[t._v("@"+t._s(t.reblogAccount.acct))])])])]):t._e(),t._v(" "),e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n "+t._s(t.status.account.acct)+"\n ")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n "+t._s(t.timeago(t.status.created_at))+"\n ")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)])},i=[]},51992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},16331:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},53577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}})]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},75274:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/groups/feed"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-layer-group"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.groups"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},21146:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n Sensitive Content\n ")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n "+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n ")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):[t.shouldPlay?[t.hasHls?e("video",{ref:"video",class:{fixedHeight:t.fixedHeight},staticStyle:{margin:"0"},attrs:{playsinline:"","webkit-playsinline":"",controls:"",autoplay:"false",poster:t.getPoster(t.status)}}):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{autoplay:"false",playsinline:"","webkit-playsinline":"",controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:e("div",{staticClass:"content-label-wrapper",style:{background:"linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.8)),url(".concat(t.getPoster(t.status),")"),backgroundSize:"cover"}},[e("div",{staticClass:"text-light content-label"},[e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-link btn-block btn-sm font-weight-bold",on:{click:function(e){return e.preventDefault(),t.handleShouldPlay.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-play fa-5x text-white"})])])])])]],2)},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},96938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.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 n=i},35296:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},35518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=i},34857:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},49777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const n=i},93100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},14185:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const n=i},68339:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(96938),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},209:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(35296),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},96259:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(35518),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},48432:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(34857),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},22626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(49777),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},67621:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(93100),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},89598:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(14185),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},71610:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(57806),i=s(50837),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(8860);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,"65e1644a",null).exports},35547:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(59028),i=s(52548),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(86546);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},5787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(16286),i=s(80260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(68840);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},90414:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(82704),i=s(55597),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},20243:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(34727),i=s(88012),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(21883);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},72028:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(46098),i=s(93843),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},19138:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(44982),i=s(43509),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},49986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(32785),i=s(79577),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(67011);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},79110:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(74259),i=s(99369),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},84800:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(43047),i=s(6119),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},27821:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(99421),i=s(28934),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},50294:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(95728),i=s(33417),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},34719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(38888),i=s(42260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(88814);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},28772:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(54017),i=s(75223),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(99387);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},75938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(86943),i=s(42909),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},50837:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(79714),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},52548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(56987),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},80260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(50371),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},55597:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(84154),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},88012:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(3211),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},93843:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(24758),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},43509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85100),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},79577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(37844),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},99369:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(61746),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},6119:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(22434),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},28934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(99397),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},33417:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(6140),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},42260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(3223),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},75223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(79318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},42909:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(68910),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},57806:(t,e,s)=>{"use strict";s.r(e);var a=s(70887),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},59028:(t,e,s)=>{"use strict";s.r(e);var a=s(70201),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},16286:(t,e,s)=>{"use strict";s.r(e);var a=s(69831),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},82704:(t,e,s)=>{"use strict";s.r(e);var a=s(67153),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},34727:(t,e,s)=>{"use strict";s.r(e);var a=s(55318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},46098:(t,e,s)=>{"use strict";s.r(e);var a=s(54309),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},44982:(t,e,s)=>{"use strict";s.r(e);var a=s(82285),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},32785:(t,e,s)=>{"use strict";s.r(e);var a=s(27934),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},74259:(t,e,s)=>{"use strict";s.r(e);var a=s(64394),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},43047:(t,e,s)=>{"use strict";s.r(e);var a=s(44516),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},99421:(t,e,s)=>{"use strict";s.r(e);var a=s(51992),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},95728:(t,e,s)=>{"use strict";s.r(e);var a=s(16331),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},38888:(t,e,s)=>{"use strict";s.r(e);var a=s(53577),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},54017:(t,e,s)=>{"use strict";s.r(e);var a=s(75274),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86943:(t,e,s)=>{"use strict";s.r(e);var a=s(21146),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},8860:(t,e,s)=>{"use strict";s.r(e);var a=s(68339),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86546:(t,e,s)=>{"use strict";s.r(e);var a=s(209),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68840:(t,e,s)=>{"use strict";s.r(e);var a=s(96259),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},21883:(t,e,s)=>{"use strict";s.r(e);var a=s(48432),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},67011:(t,e,s)=>{"use strict";s.r(e);var a=s(22626),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},88814:(t,e,s)=>{"use strict";s.r(e);var a=s(67621),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},99387:(t,e,s)=>{"use strict";s.r(e);var a=s(89598),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},11220:()=>{},16052:()=>{},40295:()=>{},89858:()=>{},45187:()=>{},87919:()=>{},40264:()=>{},80434:()=>{},18053:()=>{}}]); \ No newline at end of file diff --git a/public/js/discover.chunk.1404d3172761023b.js b/public/js/discover.chunk.fbb3e76aabb32be2.js similarity index 51% rename from public/js/discover.chunk.1404d3172761023b.js rename to public/js/discover.chunk.fbb3e76aabb32be2.js index 03313d4ee..b6ad4beed 100644 --- a/public/js/discover.chunk.1404d3172761023b.js +++ b/public/js/discover.chunk.fbb3e76aabb32be2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[6535],{28724:(t,e,a)=>{a.r(e),a.d(e,{default:()=>f});var s=a(5787),i=a(28772),n=a(59993),r=a(88675),o=a(32653),l=a(46130),c=a(6555),d=a(25027);const f={components:{drawer:s.default,sidebar:i.default,rightbar:n.default,discover:r.default,"news-slider":o.default,"discover-spotlight":l.default,"daily-trending":c.default,"grid-card":d.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")}}}},83085:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={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")}}}},72328:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={data:function(){return{isLoaded:!1}},mounted:function(){var t=this;setTimeout((function(){t.isLoaded=!0}),1e3)}}},6455:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={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")}}}},37737:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={}},50371:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={data:function(){return{user:window._sharedData.user}}}},84154:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,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{a.r(e),a.d(e,{default:()=>s});const s={props:{small:{type:Boolean,default:!1}}}},28413:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={components:{notifications:a(76830).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},79318:(t,e,a)=>{a.r(e),a.d(e,{default:()=>l});var s=a(95353),i=a(90414);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,s)}return a}function o(t,e,a){var s;return s=function(t,e){if("object"!=n(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var s=a.call(t,e||"default");if("object"!=n(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(s)?s:s+"")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:{UpdateAvatar:i.default},computed:function(t){for(var e=1;e)?/g,(function(e){var a=e.slice(1,e.length-1),s=t.getCustomEmoji.filter((function(t){return t.shortcode==a}));return s.length?''.concat(s[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()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},16595:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={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()}}}},91360:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(71687),i=a(25100);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 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 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 a=0,s=new Array(e);aWe use automated systems to help detect potential abuse and spam. Your recent post was flagged for review.

Don\'t worry! Your post will be reviewed by a human, and they will restore your post if they determine it appropriate.

Once a human approves your post, any posts you create after will not be marked as unlisted. If you delete this post and share more posts before a human can approve any of them, you will need to wait for at least one unlisted post to be reviewed by a human.';var a=document.createElement("div");a.appendChild(e),swal({title:"Why was my post unlisted?",content:a,icon:"warning"})}}}},5138:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"web-wrapper"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),"index"==t.tab?e("div",{staticClass:"col-md-8 col-lg-9 mt-n4"},[t.profile.is_admin?e("div",{staticClass:"d-md-flex my-md-3"},[e("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(" "),e("daily-trending",{on:{"btn-click":function(e){return t.toggleTab("trending")}}}),t._v(" "),e("div",{staticClass:"d-md-flex my-md-3"},[t.config.hashtags.enabled?e("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?e("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(" "),e("div",{staticClass:"d-md-flex my-md-3"},[t.config.insights.enabled?e("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?e("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(" "),e("div",{staticClass:"d-md-flex my-md-3"},[t.config.server.enabled&&t.config.server.domains&&t.config.server.domains.length?e("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?e("div",{staticClass:"col-md-8 col-lg-9 mt-n4"},[e("discover",{attrs:{profile:t.profile}})],1):"popular-places"==t.tab?e("div",{staticClass:"col-md-8 col-lg-9 mt-n4"},[t._m(0)]):t._e()]),t._v(" "),e("drawer")],1):t._e()])},i=[function(){var t=this,e=t._self._c;return e("section",{staticClass:"mt-3 mb-5 section-explore"},[e("div",{staticClass:"profile-timeline"},[e("div",{staticClass:"row p-0 mt-5"},[e("div",{staticClass:"col-12 mb-4 d-flex justify-content-between align-items-center"},[e("p",{staticClass:"d-block d-md-none h1 font-weight-bold mb-0 font-default"},[t._v("Popular Places")]),t._v(" "),e("p",{staticClass:"d-none d-md-block display-4 font-weight-bold mb-0 font-default"},[t._v("Popular Places")])])])]),t._v(" "),e("div",{staticClass:"row mt-5"},[e("div",{staticClass:"col-12 col-md-12 mb-3"},[e("div",{staticClass:"card-img big"},[e("img",{attrs:{src:"/img/places/nyc.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("New York City")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-6 mb-3"},[e("div",{staticClass:"card-img"},[e("img",{attrs:{src:"/img/places/edmonton.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("Edmonton")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-6 mb-3"},[e("div",{staticClass:"card-img"},[e("img",{attrs:{src:"/img/places/paris.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("Paris")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4 mb-3"},[e("div",{staticClass:"card-img"},[e("img",{attrs:{src:"/img/places/london.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("London")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4 mb-3"},[e("div",{staticClass:"card-img"},[e("img",{attrs:{src:"/img/places/vancouver.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("Vancouver")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4 mb-3"},[e("div",{staticClass:"card-img"},[e("img",{attrs:{src:"/img/places/toronto.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("Toronto")])])])])])}]},92146:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-daily-trending"},[e("div",{staticClass:"card bg-stellar"},[e("div",{staticClass:"card-body m-5"},[e("div",{staticClass:"row d-flex align-items-center"},[e("div",{staticClass:"col-12 col-md-5"},[e("p",{staticClass:"font-default text-light mb-0"},[t._v("Popular and trending posts")]),t._v(" "),e("h1",{staticClass:"display-4 font-default text-white",staticStyle:{"font-weight":"700"}},[t._v("Daily Trending")]),t._v(" "),e("button",{staticClass:"btn btn-outline-light rounded-pill",on:{click:function(e){return t.viewMore()}}},[t._v("View more trending posts")])]),t._v(" "),e("div",{staticClass:"col-12 col-md-7"},[t.isLoaded?e("div",{staticClass:"row"},t._l(t.trending,(function(a,s){return e("div",{staticClass:"col-4"},[e("a",{attrs:{href:a.url},on:{click:function(e){return e.preventDefault(),t.gotoPost(a.id)}}},[e("img",{staticClass:"shadow m-1",staticStyle:{"object-fit":"cover","border-radius":"8px"},attrs:{src:a.media_attachments[0].url,width:"170",height:"170"}})])])})),0):e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 d-flex justify-content-center"},[e("b-spinner",{attrs:{type:"grow",variant:"light"}})],1)])])])])])])},i=[]},45529:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-spotlight"},[e("div",{staticClass:"card bg-dark text-white"},[e("div",{staticClass:"card-body my-5 p-5 w-100 h-100 d-flex justify-content-center align-items-center"},[e("transition",{attrs:{"enter-active-class":"animate__animated animate__fadeInDownBig","leave-active-class":"animate__animated animate__fadeOutDownBig",mode:"out-in"}},[t.isLoaded?e("div",{staticClass:"row"},[e("div",{staticClass:"col-5"},[e("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(" "),e("h1",{staticClass:"display-5 font-default",staticStyle:{"line-height":"1"}},[e("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(" "),e("p",{staticClass:"lead font-default mt-4"},[t._v("This weeks collection is curated by "),e("span",{staticClass:"primary"},[t._v("@dansup")])])]),t._v(" "),e("div",{staticClass:"col-7 d-flex justify-content-between"},[e("div",{staticClass:"text-center mr-4"},[e("h5",{staticClass:"font-default mb-2"},[t._v("@dansup")]),t._v(" "),e("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(" "),e("button",{staticClass:"btn btn-outline-light btn-sm rounded-pill py-1 mt-2 font-default"},[t._v("View Profile")])]),t._v(" "),e("div",{staticClass:"text-center mr-4"},[e("h5",{staticClass:"font-default mb-2"},[t._v("@dansup")]),t._v(" "),e("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(" "),e("button",{staticClass:"btn btn-outline-light btn-sm rounded-pill py-1 mt-2 font-default"},[t._v("View Profile")])]),t._v(" "),e("div",{staticClass:"text-center"},[e("h5",{staticClass:"font-default mb-2"},[t._v("@dansup")]),t._v(" "),e("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(" "),e("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():e("div",{},[e("b-spinner",{attrs:{type:"grow"}})],1)],1)])])},i=[]},22239:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-grid-card"},[e("div",{staticClass:"discover-grid-card-body",class:{dark:t.dark,small:t.small}},[e("div",{staticClass:"section-copy"},[e("p",{staticClass:"subtitle"},[t._v(t._s(t.subtitle))]),t._v(" "),e("h1",{staticClass:"title"},[t._v(t._s(t.title))]),t._v(" "),t.buttonText?e("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(" "),e("div",{staticClass:"section-icon"},[e("i",{class:t.iconClass})])])])},i=[]},59773:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"rounded-3 overflow-hidden discover-news-slider"},[e("div",{staticClass:"row align-items-center"},[t._m(0),t._v(" "),e("div",{staticClass:"col-lg-6 col-md-7 offset-xl-1"},[e("div",{staticClass:"position-relative d-flex flex-column align-items-center justify-content-center h-100"},[e("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"}},[e("circle",{attrs:{opacity:"0.15",cx:"434",cy:"434",r:"434",fill:"#7dd3fc"}})]),t._v(" "),t._m(1)])])]),t._v(" "),t._m(2)])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-xl-4 col-md-5 offset-lg-1"},[e("div",{staticClass:"pt-5 pb-3 pb-md-5 px-4 px-lg-0"},[e("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(" "),e("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 "),e("span",{staticClass:"primary"},[t._v("Reactions")])]),t._v(" "),e("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,"),e("br"),t._v(" now available!\n\t\t\t\t")]),t._v(" "),e("a",{staticClass:"btn btn-primary primary btn-sm",attrs:{href:"#"}},[t._v("Learn more "),e("i",{staticClass:"far fa-chevron-right fa-sm ml-2"})])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex"},[e("img",{staticClass:"position-relative zindex-3 mb-2 my-lg-4",attrs:{src:"/img/remoji/hushed_face.gif",width:"100",alt:"Illustration"}}),t._v(" "),e("img",{staticClass:"position-relative zindex-3 mb-2 my-lg-4",attrs:{src:"/img/remoji/thumbs_up.gif",width:"100",alt:"Illustration"}}),t._v(" "),e("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._self._c;return e("div",{staticStyle:{position:"absolute",left:"50%",transform:"translateX(-50%)",bottom:"10px"}},[e("div",{staticClass:"d-flex"},[e("button",{staticClass:"btn btn-link p-0"},[e("i",{staticClass:"far fa-dot-circle"})]),t._v(" "),e("button",{staticClass:"btn btn-link p-0 mx-2"},[e("i",{staticClass:"far fa-circle"})]),t._v(" "),e("button",{staticClass:"btn btn-link p-0"},[e("i",{staticClass:"far fa-circle"})])])])}]},69831:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},67153:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},11526:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return t.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},55201:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},i=[]},67725:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},89083:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-feed-component"},[e("section",{staticClass:"mt-3 mb-5 section-explore"},[e("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),e("div",{staticClass:"profile-timeline"},[e("div",{staticClass:"row p-0 mt-5"},[e("div",{staticClass:"col-12 mb-4 d-flex justify-content-between align-items-center"},[e("p",{staticClass:"d-block d-md-none h1 font-weight-bold mb-0 font-default"},[t._v("Trending")]),t._v(" "),e("p",{staticClass:"d-none d-md-block display-4 font-weight-bold mb-0 font-default"},[t._v("Trending")]),t._v(" "),e("div",[e("div",{staticClass:"btn-group trending-range"},[e("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(" "),e("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(" "),e("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?e("div",{staticClass:"row p-0 px-lg-3"},[e("div",{staticClass:"col-12 d-flex align-items-center justify-content-center",staticStyle:{"min-height":"40vh"}},[e("b-spinner",{attrs:{size:"lg"}})],1)]):e("div",{staticClass:"row p-0 px-lg-3"},t._l(t.trending,(function(a,s){return t.trending.length?e("div",{staticClass:"col-6 col-lg-4 col-xl-3 p-1"},[e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:a.url},on:{click:function(e){return e.preventDefault(),t.goToPost(a)}}},[e("div",{staticClass:"square square-next"},[a.sensitive?e("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),e("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:a.media_attachments[0].blurhash}})],1):e("div",{staticClass:"square-content"},[e("blur-hash-image",{attrs:{width:"32",height:"32",hash:a.media_attachments[0].blurhash,src:a.media_attachments[0].preview_url}})],1),t._v(" "),e("div",{staticClass:"info-overlay-text"},[e("div",{staticClass:"text-white m-auto"},[e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(a.favourites_count)))])]),t._v(" "),e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(a.reply_count)))])]),t._v(" "),e("p",{staticClass:"mb-0 info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-sync fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(a.reblogs_count)))])])])])])])]):e("div",{staticClass:"col-12 d-flex align-items-center justify-content-center bg-light border",staticStyle:{"min-height":"40vh"}},[e("div",{staticClass:"h2"},[t._v("No posts found :(")])])})),0)])],1)])},i=[function(){var t=this._self._c;return t("div",{staticClass:"info-overlay-text-label"},[t("h5",{staticClass:"text-white m-auto font-weight-bold"},[t("span",[t("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])}]},18865:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"notifications-component"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[e("div",{staticClass:"card-body pb-0"},[e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?e("div",[e("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[e("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?e("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[e("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?e("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),e("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(a,s){return e("div",{staticClass:"mb-2"},[e("div",{staticClass:"media align-items-center"},["autospam.warning"===a.type?e("img",{staticClass:"mr-2 rounded-circle shadow-sm p-1",staticStyle:{border:"2px solid var(--danger)"},attrs:{src:"/img/pixelfed-icon-color.svg",width:"32",height:"32"}}):e("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:a.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),e("div",{staticClass:"media-body font-weight-light small"},["favourite"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),a.status&&a.status.hasOwnProperty("media_attachments")?e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(a.status),id:"fvn-"+a.id},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),e("b-popover",{attrs:{target:"fvn-"+a.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(a),width:"100px",height:"100px"}})])],1):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(a.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"autospam.warning"==a.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour recent "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(a.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("post")]),t._v(" has been unlisted.\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mt-n1 mb-0"},[e("span",{staticClass:"small text-muted"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showAutospamInfo(a.status)}}},[t._v("Click here")]),t._v(" for more info.")])])]):"comment"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(a.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:a.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" reacted to your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/i/web/direct/thread/"+a.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/i/web/direct/thread/"+a.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(a.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" shared your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(a.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(t.truncate(a.account.username)))]),t._v(" updated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:a.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" tagged you in a "),e("a",{staticClass:"font-weight-bold",attrs:{href:a.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" sent a "),e("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+a.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==a.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:a.group.url,title:a.group.name}},[t._v(t._s(t.truncate(a.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==a.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:a.group.url,title:a.group.name}},[t._v(t._s(t.truncate(a.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" invited you to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:a.group.url+"/invite/claim",title:a.group.name}},[t._v(t._s(a.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:a.created_at}},[t._v(t._s(t.timeAgo(a.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?e("div",[e("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):e("div",[t.hasLoaded&&t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}})],1):e("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):e("div",{staticClass:"notifications-component-feed"},[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},i=[]},56507:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.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=i},62015:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.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=i},36496:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.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=i},31718:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.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=i},72600:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".discover-news-slider{background-color:#e0f2fe;position:relative}",""]);const n=i},35518:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=i},15822:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const n=i},54788:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const n=i},71806:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.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=i},91748:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const n=i},80356:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(56507),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},54108:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(62015),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},36439:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(36496),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},23015:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(31718),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},58053:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(72600),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},96259:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(35518),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},82851:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(15822),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},5323:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(54788),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},88375:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(71806),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},53639:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(91748),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},57330:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(56345),i=a(68989),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(54053);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,"b270da6e",null).exports},6555:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(26817),i=a(85316),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(5513);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},46130:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(51802),i=a(16181),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(31734);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},25027:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(59206),i=a(57096),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(76728);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},32653:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(85008),i=a(60050),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(25358);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},5787:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(16286),i=a(80260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(68840);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},90414:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(82704),i=a(55597),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},71687:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(24871),i=a(11308),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},59993:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(60848),i=a(88626),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(74148);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,"c5fe4fd2",null).exports},28772:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(75754),i=a(75223),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(68338);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},88675:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(22926),i=a(2428),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(35464);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},76830:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(65358),i=a(93953),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(85082);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},68989:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(28724),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},85316:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(83085),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},16181:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(72328),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},57096:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(6455),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},60050:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(37737),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},80260:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(50371),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},55597:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(84154),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},11308:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(51651),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},88626:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(28413),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},75223:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(79318),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},2428:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(16595),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},93953:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(91360),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},56345:(t,e,a)=>{a.r(e);var s=a(5138),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},26817:(t,e,a)=>{a.r(e);var s=a(92146),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},51802:(t,e,a)=>{a.r(e);var s=a(45529),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},59206:(t,e,a)=>{a.r(e);var s=a(22239),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},85008:(t,e,a)=>{a.r(e);var s=a(59773),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},16286:(t,e,a)=>{a.r(e);var s=a(69831),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},82704:(t,e,a)=>{a.r(e);var s=a(67153),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},24871:(t,e,a)=>{a.r(e);var s=a(11526),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},60848:(t,e,a)=>{a.r(e);var s=a(55201),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},75754:(t,e,a)=>{a.r(e);var s=a(67725),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},22926:(t,e,a)=>{a.r(e);var s=a(89083),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},65358:(t,e,a)=>{a.r(e);var s=a(18865),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},54053:(t,e,a)=>{a.r(e);var s=a(80356),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},5513:(t,e,a)=>{a.r(e);var s=a(54108),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},31734:(t,e,a)=>{a.r(e);var s=a(36439),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},76728:(t,e,a)=>{a.r(e);var s=a(23015),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},25358:(t,e,a)=>{a.r(e);var s=a(58053),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},68840:(t,e,a)=>{a.r(e);var s=a(96259),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},74148:(t,e,a)=>{a.r(e);var s=a(82851),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},68338:(t,e,a)=>{a.r(e);var s=a(5323),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},35464:(t,e,a)=>{a.r(e);var s=a(88375),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},85082:(t,e,a)=>{a.r(e);var s=a(53639),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)}}]); \ No newline at end of file +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[6535],{28724:(t,e,a)=>{a.r(e),a.d(e,{default:()=>f});var s=a(5787),i=a(28772),n=a(59993),r=a(88675),o=a(32653),l=a(46130),c=a(6555),d=a(25027);const f={components:{drawer:s.default,sidebar:i.default,rightbar:n.default,discover:r.default,"news-slider":o.default,"discover-spotlight":l.default,"daily-trending":c.default,"grid-card":d.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")}}}},83085:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={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")}}}},72328:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={data:function(){return{isLoaded:!1}},mounted:function(){var t=this;setTimeout((function(){t.isLoaded=!0}),1e3)}}},6455:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={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")}}}},37737:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={}},50371:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={data:function(){return{user:window._sharedData.user}}}},84154:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,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{a.r(e),a.d(e,{default:()=>s});const s={props:{small:{type:Boolean,default:!1}}}},28413:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={components:{notifications:a(76830).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},79318:(t,e,a)=>{a.r(e),a.d(e,{default:()=>l});var s=a(95353),i=a(90414);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,s)}return a}function o(t,e,a){var s;return s=function(t,e){if("object"!=n(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var s=a.call(t,e||"default");if("object"!=n(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(s)?s:s+"")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:{UpdateAvatar:i.default},computed:function(t){for(var e=1;e)?/g,(function(e){var a=e.slice(1,e.length-1),s=t.getCustomEmoji.filter((function(t){return t.shortcode==a}));return s.length?''.concat(s[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()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},16595:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={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()}}}},91360:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(71687),i=a(25100);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 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 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 a=0,s=new Array(e);aWe use automated systems to help detect potential abuse and spam. Your recent post was flagged for review.

Don\'t worry! Your post will be reviewed by a human, and they will restore your post if they determine it appropriate.

Once a human approves your post, any posts you create after will not be marked as unlisted. If you delete this post and share more posts before a human can approve any of them, you will need to wait for at least one unlisted post to be reviewed by a human.';var a=document.createElement("div");a.appendChild(e),swal({title:"Why was my post unlisted?",content:a,icon:"warning"})}}}},5138:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"web-wrapper"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),"index"==t.tab?e("div",{staticClass:"col-md-8 col-lg-9 mt-n4"},[t.profile.is_admin?e("div",{staticClass:"d-md-flex my-md-3"},[e("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(" "),e("daily-trending",{on:{"btn-click":function(e){return t.toggleTab("trending")}}}),t._v(" "),e("div",{staticClass:"d-md-flex my-md-3"},[t.config.hashtags.enabled?e("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?e("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(" "),e("div",{staticClass:"d-md-flex my-md-3"},[t.config.insights.enabled?e("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?e("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(" "),e("div",{staticClass:"d-md-flex my-md-3"},[t.config.server.enabled&&t.config.server.domains&&t.config.server.domains.length?e("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?e("div",{staticClass:"col-md-8 col-lg-9 mt-n4"},[e("discover",{attrs:{profile:t.profile}})],1):"popular-places"==t.tab?e("div",{staticClass:"col-md-8 col-lg-9 mt-n4"},[t._m(0)]):t._e()]),t._v(" "),e("drawer")],1):t._e()])},i=[function(){var t=this,e=t._self._c;return e("section",{staticClass:"mt-3 mb-5 section-explore"},[e("div",{staticClass:"profile-timeline"},[e("div",{staticClass:"row p-0 mt-5"},[e("div",{staticClass:"col-12 mb-4 d-flex justify-content-between align-items-center"},[e("p",{staticClass:"d-block d-md-none h1 font-weight-bold mb-0 font-default"},[t._v("Popular Places")]),t._v(" "),e("p",{staticClass:"d-none d-md-block display-4 font-weight-bold mb-0 font-default"},[t._v("Popular Places")])])])]),t._v(" "),e("div",{staticClass:"row mt-5"},[e("div",{staticClass:"col-12 col-md-12 mb-3"},[e("div",{staticClass:"card-img big"},[e("img",{attrs:{src:"/img/places/nyc.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("New York City")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-6 mb-3"},[e("div",{staticClass:"card-img"},[e("img",{attrs:{src:"/img/places/edmonton.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("Edmonton")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-6 mb-3"},[e("div",{staticClass:"card-img"},[e("img",{attrs:{src:"/img/places/paris.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("Paris")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4 mb-3"},[e("div",{staticClass:"card-img"},[e("img",{attrs:{src:"/img/places/london.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("London")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4 mb-3"},[e("div",{staticClass:"card-img"},[e("img",{attrs:{src:"/img/places/vancouver.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("Vancouver")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4 mb-3"},[e("div",{staticClass:"card-img"},[e("img",{attrs:{src:"/img/places/toronto.jpg"}}),t._v(" "),e("div",{staticClass:"title font-default"},[t._v("Toronto")])])])])])}]},92146:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-daily-trending"},[e("div",{staticClass:"card bg-stellar"},[e("div",{staticClass:"card-body m-5"},[e("div",{staticClass:"row d-flex align-items-center"},[e("div",{staticClass:"col-12 col-md-5"},[e("p",{staticClass:"font-default text-light mb-0"},[t._v("Popular and trending posts")]),t._v(" "),e("h1",{staticClass:"display-4 font-default text-white",staticStyle:{"font-weight":"700"}},[t._v("Daily Trending")]),t._v(" "),e("button",{staticClass:"btn btn-outline-light rounded-pill",on:{click:function(e){return t.viewMore()}}},[t._v("View more trending posts")])]),t._v(" "),e("div",{staticClass:"col-12 col-md-7"},[t.isLoaded?e("div",{staticClass:"row"},t._l(t.trending,(function(a,s){return e("div",{staticClass:"col-4"},[e("a",{attrs:{href:a.url},on:{click:function(e){return e.preventDefault(),t.gotoPost(a.id)}}},[e("img",{staticClass:"shadow m-1",staticStyle:{"object-fit":"cover","border-radius":"8px"},attrs:{src:a.media_attachments[0].url,width:"170",height:"170"}})])])})),0):e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 d-flex justify-content-center"},[e("b-spinner",{attrs:{type:"grow",variant:"light"}})],1)])])])])])])},i=[]},45529:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-spotlight"},[e("div",{staticClass:"card bg-dark text-white"},[e("div",{staticClass:"card-body my-5 p-5 w-100 h-100 d-flex justify-content-center align-items-center"},[e("transition",{attrs:{"enter-active-class":"animate__animated animate__fadeInDownBig","leave-active-class":"animate__animated animate__fadeOutDownBig",mode:"out-in"}},[t.isLoaded?e("div",{staticClass:"row"},[e("div",{staticClass:"col-5"},[e("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(" "),e("h1",{staticClass:"display-5 font-default",staticStyle:{"line-height":"1"}},[e("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(" "),e("p",{staticClass:"lead font-default mt-4"},[t._v("This weeks collection is curated by "),e("span",{staticClass:"primary"},[t._v("@dansup")])])]),t._v(" "),e("div",{staticClass:"col-7 d-flex justify-content-between"},[e("div",{staticClass:"text-center mr-4"},[e("h5",{staticClass:"font-default mb-2"},[t._v("@dansup")]),t._v(" "),e("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(" "),e("button",{staticClass:"btn btn-outline-light btn-sm rounded-pill py-1 mt-2 font-default"},[t._v("View Profile")])]),t._v(" "),e("div",{staticClass:"text-center mr-4"},[e("h5",{staticClass:"font-default mb-2"},[t._v("@dansup")]),t._v(" "),e("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(" "),e("button",{staticClass:"btn btn-outline-light btn-sm rounded-pill py-1 mt-2 font-default"},[t._v("View Profile")])]),t._v(" "),e("div",{staticClass:"text-center"},[e("h5",{staticClass:"font-default mb-2"},[t._v("@dansup")]),t._v(" "),e("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(" "),e("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():e("div",{},[e("b-spinner",{attrs:{type:"grow"}})],1)],1)])])},i=[]},22239:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-grid-card"},[e("div",{staticClass:"discover-grid-card-body",class:{dark:t.dark,small:t.small}},[e("div",{staticClass:"section-copy"},[e("p",{staticClass:"subtitle"},[t._v(t._s(t.subtitle))]),t._v(" "),e("h1",{staticClass:"title"},[t._v(t._s(t.title))]),t._v(" "),t.buttonText?e("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(" "),e("div",{staticClass:"section-icon"},[e("i",{class:t.iconClass})])])])},i=[]},59773:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"rounded-3 overflow-hidden discover-news-slider"},[e("div",{staticClass:"row align-items-center"},[t._m(0),t._v(" "),e("div",{staticClass:"col-lg-6 col-md-7 offset-xl-1"},[e("div",{staticClass:"position-relative d-flex flex-column align-items-center justify-content-center h-100"},[e("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"}},[e("circle",{attrs:{opacity:"0.15",cx:"434",cy:"434",r:"434",fill:"#7dd3fc"}})]),t._v(" "),t._m(1)])])]),t._v(" "),t._m(2)])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-xl-4 col-md-5 offset-lg-1"},[e("div",{staticClass:"pt-5 pb-3 pb-md-5 px-4 px-lg-0"},[e("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(" "),e("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 "),e("span",{staticClass:"primary"},[t._v("Reactions")])]),t._v(" "),e("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,"),e("br"),t._v(" now available!\n\t\t\t\t")]),t._v(" "),e("a",{staticClass:"btn btn-primary primary btn-sm",attrs:{href:"#"}},[t._v("Learn more "),e("i",{staticClass:"far fa-chevron-right fa-sm ml-2"})])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex"},[e("img",{staticClass:"position-relative zindex-3 mb-2 my-lg-4",attrs:{src:"/img/remoji/hushed_face.gif",width:"100",alt:"Illustration"}}),t._v(" "),e("img",{staticClass:"position-relative zindex-3 mb-2 my-lg-4",attrs:{src:"/img/remoji/thumbs_up.gif",width:"100",alt:"Illustration"}}),t._v(" "),e("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._self._c;return e("div",{staticStyle:{position:"absolute",left:"50%",transform:"translateX(-50%)",bottom:"10px"}},[e("div",{staticClass:"d-flex"},[e("button",{staticClass:"btn btn-link p-0"},[e("i",{staticClass:"far fa-dot-circle"})]),t._v(" "),e("button",{staticClass:"btn btn-link p-0 mx-2"},[e("i",{staticClass:"far fa-circle"})]),t._v(" "),e("button",{staticClass:"btn btn-link p-0"},[e("i",{staticClass:"far fa-circle"})])])])}]},69831:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},67153:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},11526:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return t.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},55201:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},i=[]},75274:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/groups/feed"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-layer-group"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.groups"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},89083:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-feed-component"},[e("section",{staticClass:"mt-3 mb-5 section-explore"},[e("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),e("div",{staticClass:"profile-timeline"},[e("div",{staticClass:"row p-0 mt-5"},[e("div",{staticClass:"col-12 mb-4 d-flex justify-content-between align-items-center"},[e("p",{staticClass:"d-block d-md-none h1 font-weight-bold mb-0 font-default"},[t._v("Trending")]),t._v(" "),e("p",{staticClass:"d-none d-md-block display-4 font-weight-bold mb-0 font-default"},[t._v("Trending")]),t._v(" "),e("div",[e("div",{staticClass:"btn-group trending-range"},[e("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(" "),e("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(" "),e("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?e("div",{staticClass:"row p-0 px-lg-3"},[e("div",{staticClass:"col-12 d-flex align-items-center justify-content-center",staticStyle:{"min-height":"40vh"}},[e("b-spinner",{attrs:{size:"lg"}})],1)]):e("div",{staticClass:"row p-0 px-lg-3"},t._l(t.trending,(function(a,s){return t.trending.length?e("div",{staticClass:"col-6 col-lg-4 col-xl-3 p-1"},[e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:a.url},on:{click:function(e){return e.preventDefault(),t.goToPost(a)}}},[e("div",{staticClass:"square square-next"},[a.sensitive?e("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),e("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:a.media_attachments[0].blurhash}})],1):e("div",{staticClass:"square-content"},[e("blur-hash-image",{attrs:{width:"32",height:"32",hash:a.media_attachments[0].blurhash,src:a.media_attachments[0].preview_url}})],1),t._v(" "),e("div",{staticClass:"info-overlay-text"},[e("div",{staticClass:"text-white m-auto"},[e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(a.favourites_count)))])]),t._v(" "),e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(a.reply_count)))])]),t._v(" "),e("p",{staticClass:"mb-0 info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-sync fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(a.reblogs_count)))])])])])])])]):e("div",{staticClass:"col-12 d-flex align-items-center justify-content-center bg-light border",staticStyle:{"min-height":"40vh"}},[e("div",{staticClass:"h2"},[t._v("No posts found :(")])])})),0)])],1)])},i=[function(){var t=this._self._c;return t("div",{staticClass:"info-overlay-text-label"},[t("h5",{staticClass:"text-white m-auto font-weight-bold"},[t("span",[t("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])}]},18865:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"notifications-component"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[e("div",{staticClass:"card-body pb-0"},[e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?e("div",[e("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[e("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?e("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[e("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?e("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),e("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(a,s){return e("div",{staticClass:"mb-2"},[e("div",{staticClass:"media align-items-center"},["autospam.warning"===a.type?e("img",{staticClass:"mr-2 rounded-circle shadow-sm p-1",staticStyle:{border:"2px solid var(--danger)"},attrs:{src:"/img/pixelfed-icon-color.svg",width:"32",height:"32"}}):e("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:a.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),e("div",{staticClass:"media-body font-weight-light small"},["favourite"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),a.status&&a.status.hasOwnProperty("media_attachments")?e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(a.status),id:"fvn-"+a.id},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),e("b-popover",{attrs:{target:"fvn-"+a.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(a),width:"100px",height:"100px"}})])],1):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(a.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"autospam.warning"==a.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour recent "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(a.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("post")]),t._v(" has been unlisted.\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mt-n1 mb-0"},[e("span",{staticClass:"small text-muted"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showAutospamInfo(a.status)}}},[t._v("Click here")]),t._v(" for more info.")])])]):"comment"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(a.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:a.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" reacted to your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/i/web/direct/thread/"+a.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/i/web/direct/thread/"+a.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(a.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" shared your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(a.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(a.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(t.truncate(a.account.username)))]),t._v(" updated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:a.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" tagged you in a "),e("a",{staticClass:"font-weight-bold",attrs:{href:a.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" sent a "),e("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+a.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==a.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:a.group.url,title:a.group.name}},[t._v(t._s(t.truncate(a.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==a.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:a.group.url,title:a.group.name}},[t._v(t._s(t.truncate(a.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==a.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(a.account),title:a.account.acct}},[t._v(t._s(0==a.account.local?"@":"")+t._s(t.truncate(a.account.username)))]),t._v(" invited you to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:a.group.url+"/invite/claim",title:a.group.name}},[t._v(t._s(a.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:a.created_at}},[t._v(t._s(t.timeAgo(a.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?e("div",[e("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):e("div",[t.hasLoaded&&t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}})],1):e("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):e("div",{staticClass:"notifications-component-feed"},[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},i=[]},56507:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.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=i},62015:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.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=i},36496:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.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=i},31718:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.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=i},72600:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".discover-news-slider{background-color:#e0f2fe;position:relative}",""]);const n=i},35518:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=i},15822:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const n=i},14185:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const n=i},71806:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.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=i},91748:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const n=i},80356:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(56507),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},54108:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(62015),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},36439:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(36496),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},23015:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(31718),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},58053:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(72600),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},96259:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(35518),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},82851:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(15822),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},89598:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(14185),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},88375:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(71806),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},53639:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(91748),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},57330:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(56345),i=a(68989),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(54053);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,"b270da6e",null).exports},6555:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(26817),i=a(85316),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(5513);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},46130:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(51802),i=a(16181),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(31734);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},25027:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(59206),i=a(57096),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(76728);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},32653:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(85008),i=a(60050),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(25358);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},5787:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(16286),i=a(80260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(68840);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},90414:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(82704),i=a(55597),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},71687:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(24871),i=a(11308),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},59993:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(60848),i=a(88626),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(74148);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,"c5fe4fd2",null).exports},28772:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(54017),i=a(75223),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(99387);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},88675:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(22926),i=a(2428),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(35464);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},76830:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(65358),i=a(93953),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(85082);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},68989:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(28724),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},85316:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(83085),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},16181:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(72328),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},57096:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(6455),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},60050:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(37737),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},80260:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(50371),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},55597:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(84154),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},11308:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(51651),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},88626:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(28413),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},75223:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(79318),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},2428:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(16595),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},93953:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(91360),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},56345:(t,e,a)=>{a.r(e);var s=a(5138),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},26817:(t,e,a)=>{a.r(e);var s=a(92146),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},51802:(t,e,a)=>{a.r(e);var s=a(45529),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},59206:(t,e,a)=>{a.r(e);var s=a(22239),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},85008:(t,e,a)=>{a.r(e);var s=a(59773),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},16286:(t,e,a)=>{a.r(e);var s=a(69831),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},82704:(t,e,a)=>{a.r(e);var s=a(67153),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},24871:(t,e,a)=>{a.r(e);var s=a(11526),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},60848:(t,e,a)=>{a.r(e);var s=a(55201),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},54017:(t,e,a)=>{a.r(e);var s=a(75274),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},22926:(t,e,a)=>{a.r(e);var s=a(89083),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},65358:(t,e,a)=>{a.r(e);var s=a(18865),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},54053:(t,e,a)=>{a.r(e);var s=a(80356),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},5513:(t,e,a)=>{a.r(e);var s=a(54108),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},31734:(t,e,a)=>{a.r(e);var s=a(36439),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},76728:(t,e,a)=>{a.r(e);var s=a(23015),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},25358:(t,e,a)=>{a.r(e);var s=a(58053),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},68840:(t,e,a)=>{a.r(e);var s=a(96259),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},74148:(t,e,a)=>{a.r(e);var s=a(82851),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},99387:(t,e,a)=>{a.r(e);var s=a(89598),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},35464:(t,e,a)=>{a.r(e);var s=a(88375),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},85082:(t,e,a)=>{a.r(e);var s=a(53639),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)}}]); \ No newline at end of file diff --git a/public/js/discover~findfriends.chunk.d0e638a697f821b4.js b/public/js/discover~findfriends.chunk.37adc9959baa51ea.js similarity index 75% rename from public/js/discover~findfriends.chunk.d0e638a697f821b4.js rename to public/js/discover~findfriends.chunk.37adc9959baa51ea.js index f56741b41..819c38903 100644 --- a/public/js/discover~findfriends.chunk.d0e638a697f821b4.js +++ b/public/js/discover~findfriends.chunk.37adc9959baa51ea.js @@ -1 +1 @@ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[7521],{93577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(5787),i=s(28772),n=s(35547),o=s(34719);const r={components:{drawer:a.default,sidebar:i.default,"status-card":n.default,"profile-card":o.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})}))}}}},56987:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(20243),i=s(84800),n=s(79110),o=s(27821);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"post-content":n.default,"post-header":i.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.shadowStatus.media_attachments||!this.shadowStatus.media_attachments.length)&&this.shadowStatus.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.shadowStatus.account.id==window._sharedData.user.id,this.shadowStatus.reply_count&&this.autoloadComments&&!1===this.shadowStatus.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},isReblog:{get:function(){return null!=this.status.reblog}},reblogAccount:{get:function(){return this.status.reblog?this.status.account:null}},shadowStatus:{get:function(){return this.status.reblog?this.status.reblog:this.status}}},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")}}}},50371:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:window._sharedData.user}}}},84154:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(79288),i=s(50294),n=s(34719),o=s(72028),r=s(19138);const l={props:{status:{type:Object}},components:{VueTribute:a.default,ReadMore:i.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,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},24758:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(50294);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:a.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},85100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},37844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},getDiff:function(t){if(t==this.allHistory.length-1)return this.allHistory[this.allHistory.length-1].content;var e=document.createElement("div");return r.forEach((function(t){var s=t.added?"green":t.removed?"red":"grey",a=document.createElement("span");(a.style.color=s,console.log(t.value,t.value.length),t.added)?t.value.trim().length?a.appendChild(document.createTextNode(t.value)):a.appendChild(document.createTextNode("·")):a.appendChild(document.createTextNode(t.value));e.appendChild(a)})),e.innerHTML},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),a=Math.floor(s/63072e3);return a<0?"0s":a>=1?a+(1==a?" year":" years")+" ago":(a=Math.floor(s/604800))>=1?a+(1==a?" week":" weeks")+" ago":(a=Math.floor(s/86400))>=1?a+(1==a?" day":" days")+" ago":(a=Math.floor(s/3600))>=1?a+(1==a?" hour":" hours")+" ago":(a=Math.floor(s/60))>=1?a+(1==a?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},61746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(18634),i=s(50294),n=s(75938);const o={props:["status"],components:{"read-more":i.default,"video-player":n.default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},22434:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(34719),i=s(49986);const n={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1},isReblog:{type:Boolean,default:!1},reblogAccount:{type:Object}},components:{"profile-hover-card":a.default,"edit-history-modal":i.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfileById:function(t){var e=this;this.$nextTick((function(){e.$router.push({name:"profile",path:"/i/web/profile/".concat(t),params:{id:t,cachedUser:e.profile}})}))},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")},openEditModal:function(){this.$refs.editModal.open()}}}},99397:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(20243),i=s(34719);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},6140:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var a=document.createElement("a");a.href=e.getAttribute("href"),s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},3223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(50294),i=s(95353);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:a.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[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 a=document.createElement("a");a.href=t.profile.url,s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},79318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(95353),i=s(90414);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,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:{UpdateAvatar:i.default},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},68910:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(64945),i=(s(34076),s(34330)),n=s.n(i),o=(s(10706),s(71241));const r={props:["status","fixedHeight"],data:function(){return{shouldPlay:!1,hasHls:void 0,hlsConfig:window.App.config.features.hls,liveSyncDurationCount:7,isHlsSupported:!1,isP2PSupported:!1,engine:void 0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{handleShouldPlay:function(){var t=this;this.shouldPlay=!0,this.isHlsSupported=this.hlsConfig.enabled&&a.default.isSupported(),this.isP2PSupported=this.hlsConfig.enabled&&this.hlsConfig.p2p&&o.Engine.isSupported(),this.$nextTick((function(){t.init()}))},init:function(){var t,e=this;!this.status.sensitive&&null!==(t=this.status.media_attachments[0])&&void 0!==t&&t.hls_manifest&&this.isHlsSupported?(this.hasHls=!0,this.$nextTick((function(){e.initHls()}))):this.hasHls=!1},initHls:function(){var t;if(this.isP2PSupported){var e={loader:{trackerAnnounce:[this.hlsConfig.tracker],rtcConfig:{iceServers:[{urls:[this.hlsConfig.ice]}]}}},s=new o.Engine(e);this.hlsConfig.p2p_debug&&(s.on("peer_connect",(function(t){return console.log("peer_connect",t.id,t.remoteAddress)})),s.on("peer_close",(function(t){return console.log("peer_close",t)})),s.on("segment_loaded",(function(t,e){return console.log("segment_loaded from",e?"peer ".concat(e):"HTTP",t.url)}))),t=s.createLoaderClass()}else t=a.default.DefaultConfig.loader;var i=this.$refs.video,r=this.status.media_attachments[0].hls_manifest,l=(new(n())(i,{captions:{active:!0,update:!0}}),new a.default({liveSyncDurationCount:this.liveSyncDurationCount,loader:t})),c=this;(0,o.initHlsJsPlayer)(l),l.loadSource(r),l.attachMedia(i),l.on(a.default.Events.MANIFEST_PARSED,(function(t,e){this.hlsConfig.debug&&(console.log(t),console.log(e));var s={},o=l.levels.map((function(t){return t.height}));this.hlsConfig.debug&&console.log(o),o.unshift(0),s.quality={default:0,options:o,forced:!0,onChange:function(t){return c.updateQuality(t)}},s.i18n={qualityLabel:{0:"Auto"}},l.on(a.default.Events.LEVEL_SWITCHED,(function(t,e){var s=document.querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");l.autoLevelEnabled?s.innerHTML="Auto (".concat(l.levels[e.level].height,"p)"):s.innerHTML="Auto"}));new(n())(i,s)}))},updateQuality:function(t){var e=this;0===t?window.hls.currentLevel=-1:window.hls.levels.forEach((function(s,a){s.height===t&&(e.hlsConfig.debug&&console.log("Found quality match with "+t),window.hls.currentLevel=a)}))},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},37615:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-find-friends-component"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-6 col-lg-6"},[e("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),e("h1",{staticClass:"font-default"},[t._v("Find Friends")]),t._v(" "),e("hr"),t._v(" "),t.isLoading?e("b-spinner"):t._e(),t._v(" "),t.isLoading?t._e():e("div",{staticClass:"row justify-content-center"},t._l(t.popularAccounts,(function(s,a){return e("div",{staticClass:"col-12 col-lg-10 mb-3"},[e("div",{staticClass:"card shadow-sm border-0 rounded-px"},[e("div",{staticClass:"card-body p-2"},[e("profile-card",{key:"pfc"+a,staticClass:"w-100",attrs:{profile:s},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)])])})),0)],1)])]):t._e()])},i=[]},70201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.shadowStatus,"is-reblog":t.isReblog,"reblog-account":t.reblogAccount},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.shadowStatus}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.shadowStatus,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.shadowStatus,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=[]},69831:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},67153:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},55318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===a?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(a,i){return e("div",{on:{click:function(e){return t.lightbox(s,i)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[i].blurhash,src:t.getMediaSource(s,i)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===a?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===a?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===a?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[a].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[a].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[a].replies},on:{"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==a&&t.feed[a].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==a?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(a,e)},"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},i=[]},54309:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},82285:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},i=[]},27934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var a=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,a){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(a==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=a}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},i=[]},79911:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight}}):"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div",[t.status.sensitive?e("div",{staticClass:"border m-3 p-5 rounded-lg"},[t._m(1),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold mb-0"},[t._v("Sensitive Content")]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.status.spoiler_text&&t.status.spoiler_text.length?t.status.spoiler_text:"This post may contain sensitive content"))]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See post")])])]):t._e()]):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],1):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},44516:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[t.isReblog?e("div",{staticClass:"card-header bg-light border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center",staticStyle:{height:"10px"}},[e("a",{staticClass:"mx-2",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[e("img",{staticStyle:{"border-radius":"10px"},attrs:{src:t.reblogAccount.avatar,width:"24",height:"24",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticStyle:{"font-size":"12px","font-weight":"bold"}},[e("i",{staticClass:"far fa-retweet text-warning mr-1"}),t._v(" Reblogged by "),e("a",{staticClass:"text-dark",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[t._v("@"+t._s(t.reblogAccount.acct))])])])]):t._e(),t._v(" "),e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n "+t._s(t.status.account.acct)+"\n ")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n "+t._s(t.timeago(t.status.created_at))+"\n ")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)])},i=[]},51992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},16331:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},53577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}})]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},67725:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},21146:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n Sensitive Content\n ")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n "+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n ")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):[t.shouldPlay?[t.hasHls?e("video",{ref:"video",class:{fixedHeight:t.fixedHeight},staticStyle:{margin:"0"},attrs:{playsinline:"","webkit-playsinline":"",controls:"",autoplay:"false",poster:t.getPoster(t.status)}}):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{autoplay:"false",playsinline:"","webkit-playsinline":"",controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:e("div",{staticClass:"content-label-wrapper",style:{background:"linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.8)),url(".concat(t.getPoster(t.status),")"),backgroundSize:"cover"}},[e("div",{staticClass:"text-light content-label"},[e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-link btn-block btn-sm font-weight-bold",on:{click:function(e){return e.preventDefault(),t.handleShouldPlay.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-play fa-5x text-white"})])])])])]],2)},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},54452:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.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=i},35296:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},35518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=i},34857:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},49777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const n=i},93100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},54788:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const n=i},68791:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(54452),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},209:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(35296),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},96259:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(35518),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},48432:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(34857),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},22626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(49777),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},67621:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(93100),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},5323:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(54788),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},96663:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(15756),i=s(90580),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(84026);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},35547:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(59028),i=s(52548),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(86546);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},5787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(16286),i=s(80260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(68840);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},90414:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(82704),i=s(55597),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},20243:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(34727),i=s(88012),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(21883);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},72028:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(46098),i=s(93843),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},19138:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(44982),i=s(43509),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},49986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(32785),i=s(79577),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(67011);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},79110:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(5458),i=s(99369),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},84800:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(43047),i=s(6119),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},27821:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(99421),i=s(28934),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},50294:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(95728),i=s(33417),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},34719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(38888),i=s(42260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(88814);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},28772:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(75754),i=s(75223),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(68338);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},75938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(86943),i=s(42909),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},90580:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(93577),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},52548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(56987),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},80260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(50371),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},55597:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(84154),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},88012:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(3211),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},93843:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(24758),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},43509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85100),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},79577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(37844),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},99369:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(61746),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},6119:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(22434),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},28934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(99397),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},33417:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(6140),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},42260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(3223),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},75223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(79318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},42909:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(68910),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},15756:(t,e,s)=>{"use strict";s.r(e);var a=s(37615),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},59028:(t,e,s)=>{"use strict";s.r(e);var a=s(70201),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},16286:(t,e,s)=>{"use strict";s.r(e);var a=s(69831),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},82704:(t,e,s)=>{"use strict";s.r(e);var a=s(67153),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},34727:(t,e,s)=>{"use strict";s.r(e);var a=s(55318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},46098:(t,e,s)=>{"use strict";s.r(e);var a=s(54309),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},44982:(t,e,s)=>{"use strict";s.r(e);var a=s(82285),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},32785:(t,e,s)=>{"use strict";s.r(e);var a=s(27934),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},5458:(t,e,s)=>{"use strict";s.r(e);var a=s(79911),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},43047:(t,e,s)=>{"use strict";s.r(e);var a=s(44516),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},99421:(t,e,s)=>{"use strict";s.r(e);var a=s(51992),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},95728:(t,e,s)=>{"use strict";s.r(e);var a=s(16331),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},38888:(t,e,s)=>{"use strict";s.r(e);var a=s(53577),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},75754:(t,e,s)=>{"use strict";s.r(e);var a=s(67725),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86943:(t,e,s)=>{"use strict";s.r(e);var a=s(21146),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},84026:(t,e,s)=>{"use strict";s.r(e);var a=s(68791),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86546:(t,e,s)=>{"use strict";s.r(e);var a=s(209),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68840:(t,e,s)=>{"use strict";s.r(e);var a=s(96259),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},21883:(t,e,s)=>{"use strict";s.r(e);var a=s(48432),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},67011:(t,e,s)=>{"use strict";s.r(e);var a=s(22626),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},88814:(t,e,s)=>{"use strict";s.r(e);var a=s(67621),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68338:(t,e,s)=>{"use strict";s.r(e);var a=s(5323),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},11220:()=>{},16052:()=>{},40295:()=>{},89858:()=>{},45187:()=>{},87919:()=>{},40264:()=>{},80434:()=>{},18053:()=>{}}]); \ No newline at end of file +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[7521],{93577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(5787),i=s(28772),n=s(35547),o=s(34719);const r={components:{drawer:a.default,sidebar:i.default,"status-card":n.default,"profile-card":o.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})}))}}}},56987:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(20243),i=s(84800),n=s(79110),o=s(27821);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"post-content":n.default,"post-header":i.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.shadowStatus.media_attachments||!this.shadowStatus.media_attachments.length)&&this.shadowStatus.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.shadowStatus.account.id==window._sharedData.user.id,this.shadowStatus.reply_count&&this.autoloadComments&&!1===this.shadowStatus.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},isReblog:{get:function(){return null!=this.status.reblog}},reblogAccount:{get:function(){return this.status.reblog?this.status.account:null}},shadowStatus:{get:function(){return this.status.reblog?this.status.reblog:this.status}}},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")}}}},50371:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:window._sharedData.user}}}},84154:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(79288),i=s(50294),n=s(34719),o=s(72028),r=s(19138);const l={props:{status:{type:Object}},components:{VueTribute:a.default,ReadMore:i.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,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},24758:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(50294);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:a.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},85100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},37844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},getDiff:function(t){if(t==this.allHistory.length-1)return this.allHistory[this.allHistory.length-1].content;var e=document.createElement("div");return r.forEach((function(t){var s=t.added?"green":t.removed?"red":"grey",a=document.createElement("span");(a.style.color=s,console.log(t.value,t.value.length),t.added)?t.value.trim().length?a.appendChild(document.createTextNode(t.value)):a.appendChild(document.createTextNode("·")):a.appendChild(document.createTextNode(t.value));e.appendChild(a)})),e.innerHTML},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),a=Math.floor(s/63072e3);return a<0?"0s":a>=1?a+(1==a?" year":" years")+" ago":(a=Math.floor(s/604800))>=1?a+(1==a?" week":" weeks")+" ago":(a=Math.floor(s/86400))>=1?a+(1==a?" day":" days")+" ago":(a=Math.floor(s/3600))>=1?a+(1==a?" hour":" hours")+" ago":(a=Math.floor(s/60))>=1?a+(1==a?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},61746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(18634),i=s(50294),n=s(75938);const o={props:["status"],components:{"read-more":i.default,"video-player":n.default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},22434:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(34719),i=s(49986);const n={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1},isReblog:{type:Boolean,default:!1},reblogAccount:{type:Object}},components:{"profile-hover-card":a.default,"edit-history-modal":i.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfileById:function(t){var e=this;this.$nextTick((function(){e.$router.push({name:"profile",path:"/i/web/profile/".concat(t),params:{id:t,cachedUser:e.profile}})}))},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")},openEditModal:function(){this.$refs.editModal.open()}}}},99397:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(20243),i=s(34719);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},6140:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var a=document.createElement("a");a.href=e.getAttribute("href"),s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},3223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(50294),i=s(95353);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:a.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[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 a=document.createElement("a");a.href=t.profile.url,s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},79318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(95353),i=s(90414);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,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:{UpdateAvatar:i.default},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},68910:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(64945),i=(s(34076),s(34330)),n=s.n(i),o=(s(10706),s(71241));const r={props:["status","fixedHeight"],data:function(){return{shouldPlay:!1,hasHls:void 0,hlsConfig:window.App.config.features.hls,liveSyncDurationCount:7,isHlsSupported:!1,isP2PSupported:!1,engine:void 0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{handleShouldPlay:function(){var t=this;this.shouldPlay=!0,this.isHlsSupported=this.hlsConfig.enabled&&a.default.isSupported(),this.isP2PSupported=this.hlsConfig.enabled&&this.hlsConfig.p2p&&o.Engine.isSupported(),this.$nextTick((function(){t.init()}))},init:function(){var t,e=this;!this.status.sensitive&&null!==(t=this.status.media_attachments[0])&&void 0!==t&&t.hls_manifest&&this.isHlsSupported?(this.hasHls=!0,this.$nextTick((function(){e.initHls()}))):this.hasHls=!1},initHls:function(){var t;if(this.isP2PSupported){var e={loader:{trackerAnnounce:[this.hlsConfig.tracker],rtcConfig:{iceServers:[{urls:[this.hlsConfig.ice]}]}}},s=new o.Engine(e);this.hlsConfig.p2p_debug&&(s.on("peer_connect",(function(t){return console.log("peer_connect",t.id,t.remoteAddress)})),s.on("peer_close",(function(t){return console.log("peer_close",t)})),s.on("segment_loaded",(function(t,e){return console.log("segment_loaded from",e?"peer ".concat(e):"HTTP",t.url)}))),t=s.createLoaderClass()}else t=a.default.DefaultConfig.loader;var i=this.$refs.video,r=this.status.media_attachments[0].hls_manifest,l=(new(n())(i,{captions:{active:!0,update:!0}}),new a.default({liveSyncDurationCount:this.liveSyncDurationCount,loader:t})),c=this;(0,o.initHlsJsPlayer)(l),l.loadSource(r),l.attachMedia(i),l.on(a.default.Events.MANIFEST_PARSED,(function(t,e){this.hlsConfig.debug&&(console.log(t),console.log(e));var s={},o=l.levels.map((function(t){return t.height}));this.hlsConfig.debug&&console.log(o),o.unshift(0),s.quality={default:0,options:o,forced:!0,onChange:function(t){return c.updateQuality(t)}},s.i18n={qualityLabel:{0:"Auto"}},l.on(a.default.Events.LEVEL_SWITCHED,(function(t,e){var s=document.querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");l.autoLevelEnabled?s.innerHTML="Auto (".concat(l.levels[e.level].height,"p)"):s.innerHTML="Auto"}));new(n())(i,s)}))},updateQuality:function(t){var e=this;0===t?window.hls.currentLevel=-1:window.hls.levels.forEach((function(s,a){s.height===t&&(e.hlsConfig.debug&&console.log("Found quality match with "+t),window.hls.currentLevel=a)}))},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},37615:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-find-friends-component"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-6 col-lg-6"},[e("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),e("h1",{staticClass:"font-default"},[t._v("Find Friends")]),t._v(" "),e("hr"),t._v(" "),t.isLoading?e("b-spinner"):t._e(),t._v(" "),t.isLoading?t._e():e("div",{staticClass:"row justify-content-center"},t._l(t.popularAccounts,(function(s,a){return e("div",{staticClass:"col-12 col-lg-10 mb-3"},[e("div",{staticClass:"card shadow-sm border-0 rounded-px"},[e("div",{staticClass:"card-body p-2"},[e("profile-card",{key:"pfc"+a,staticClass:"w-100",attrs:{profile:s},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)])])})),0)],1)])]):t._e()])},i=[]},70201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.shadowStatus,"is-reblog":t.isReblog,"reblog-account":t.reblogAccount},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.shadowStatus}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.shadowStatus,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.shadowStatus,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=[]},69831:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},67153:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},55318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===a?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(a,i){return e("div",{on:{click:function(e){return t.lightbox(s,i)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[i].blurhash,src:t.getMediaSource(s,i)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===a?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===a?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===a?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[a].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[a].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[a].replies},on:{"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==a&&t.feed[a].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==a?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(a,e)},"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},i=[]},54309:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},82285:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},i=[]},27934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var a=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,a){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(a==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=a}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},i=[]},64394:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight}}):"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div",[t.status.sensitive?e("div",{staticClass:"border m-3 p-5 rounded-lg"},[t._m(1),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold mb-0"},[t._v("Sensitive Content")]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.status.spoiler_text&&t.status.spoiler_text.length?t.status.spoiler_text:"This post may contain sensitive content"))]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See post")])])]):t._e()]):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],1):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},44516:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[t.isReblog?e("div",{staticClass:"card-header bg-light border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center",staticStyle:{height:"10px"}},[e("a",{staticClass:"mx-2",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[e("img",{staticStyle:{"border-radius":"10px"},attrs:{src:t.reblogAccount.avatar,width:"24",height:"24",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticStyle:{"font-size":"12px","font-weight":"bold"}},[e("i",{staticClass:"far fa-retweet text-warning mr-1"}),t._v(" Reblogged by "),e("a",{staticClass:"text-dark",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[t._v("@"+t._s(t.reblogAccount.acct))])])])]):t._e(),t._v(" "),e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n "+t._s(t.status.account.acct)+"\n ")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n "+t._s(t.timeago(t.status.created_at))+"\n ")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)])},i=[]},51992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},16331:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},53577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}})]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},75274:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/groups/feed"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-layer-group"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.groups"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},21146:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n Sensitive Content\n ")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n "+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n ")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):[t.shouldPlay?[t.hasHls?e("video",{ref:"video",class:{fixedHeight:t.fixedHeight},staticStyle:{margin:"0"},attrs:{playsinline:"","webkit-playsinline":"",controls:"",autoplay:"false",poster:t.getPoster(t.status)}}):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{autoplay:"false",playsinline:"","webkit-playsinline":"",controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:e("div",{staticClass:"content-label-wrapper",style:{background:"linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.8)),url(".concat(t.getPoster(t.status),")"),backgroundSize:"cover"}},[e("div",{staticClass:"text-light content-label"},[e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-link btn-block btn-sm font-weight-bold",on:{click:function(e){return e.preventDefault(),t.handleShouldPlay.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-play fa-5x text-white"})])])])])]],2)},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},54452:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.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=i},35296:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},35518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=i},34857:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},49777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const n=i},93100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},14185:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const n=i},68791:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(54452),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},209:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(35296),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},96259:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(35518),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},48432:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(34857),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},22626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(49777),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},67621:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(93100),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},89598:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(14185),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},96663:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(15756),i=s(90580),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(84026);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},35547:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(59028),i=s(52548),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(86546);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},5787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(16286),i=s(80260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(68840);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},90414:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(82704),i=s(55597),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},20243:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(34727),i=s(88012),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(21883);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},72028:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(46098),i=s(93843),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},19138:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(44982),i=s(43509),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},49986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(32785),i=s(79577),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(67011);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},79110:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(74259),i=s(99369),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},84800:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(43047),i=s(6119),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},27821:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(99421),i=s(28934),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},50294:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(95728),i=s(33417),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},34719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(38888),i=s(42260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(88814);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},28772:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(54017),i=s(75223),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(99387);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},75938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(86943),i=s(42909),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},90580:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(93577),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},52548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(56987),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},80260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(50371),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},55597:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(84154),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},88012:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(3211),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},93843:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(24758),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},43509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85100),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},79577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(37844),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},99369:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(61746),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},6119:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(22434),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},28934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(99397),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},33417:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(6140),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},42260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(3223),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},75223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(79318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},42909:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(68910),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},15756:(t,e,s)=>{"use strict";s.r(e);var a=s(37615),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},59028:(t,e,s)=>{"use strict";s.r(e);var a=s(70201),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},16286:(t,e,s)=>{"use strict";s.r(e);var a=s(69831),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},82704:(t,e,s)=>{"use strict";s.r(e);var a=s(67153),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},34727:(t,e,s)=>{"use strict";s.r(e);var a=s(55318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},46098:(t,e,s)=>{"use strict";s.r(e);var a=s(54309),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},44982:(t,e,s)=>{"use strict";s.r(e);var a=s(82285),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},32785:(t,e,s)=>{"use strict";s.r(e);var a=s(27934),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},74259:(t,e,s)=>{"use strict";s.r(e);var a=s(64394),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},43047:(t,e,s)=>{"use strict";s.r(e);var a=s(44516),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},99421:(t,e,s)=>{"use strict";s.r(e);var a=s(51992),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},95728:(t,e,s)=>{"use strict";s.r(e);var a=s(16331),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},38888:(t,e,s)=>{"use strict";s.r(e);var a=s(53577),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},54017:(t,e,s)=>{"use strict";s.r(e);var a=s(75274),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86943:(t,e,s)=>{"use strict";s.r(e);var a=s(21146),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},84026:(t,e,s)=>{"use strict";s.r(e);var a=s(68791),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86546:(t,e,s)=>{"use strict";s.r(e);var a=s(209),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68840:(t,e,s)=>{"use strict";s.r(e);var a=s(96259),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},21883:(t,e,s)=>{"use strict";s.r(e);var a=s(48432),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},67011:(t,e,s)=>{"use strict";s.r(e);var a=s(22626),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},88814:(t,e,s)=>{"use strict";s.r(e);var a=s(67621),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},99387:(t,e,s)=>{"use strict";s.r(e);var a=s(89598),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},11220:()=>{},16052:()=>{},40295:()=>{},89858:()=>{},45187:()=>{},87919:()=>{},40264:()=>{},80434:()=>{},18053:()=>{}}]); \ No newline at end of file diff --git a/public/js/discover~hashtag.bundle.1b11b46e0b28aa3f.js b/public/js/discover~hashtag.bundle.909ff7b3dab67bde.js similarity index 53% rename from public/js/discover~hashtag.bundle.1b11b46e0b28aa3f.js rename to public/js/discover~hashtag.bundle.909ff7b3dab67bde.js index f0cca728f..f23188dd6 100644 --- a/public/js/discover~hashtag.bundle.1b11b46e0b28aa3f.js +++ b/public/js/discover~hashtag.bundle.909ff7b3dab67bde.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[2966],{86377:(t,a,e)=>{e.r(a),e.d(a,{default:()=>c});var s=e(5787),n=e(25100),i=e(28772),r=e(59993);function o(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,a){if(!t)return;if("string"==typeof t)return l(t,a);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return l(t,a)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,s=new Array(a);e{e.r(a),e.d(a,{default:()=>s});const s={data:function(){return{user:window._sharedData.user}}}},84154:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,a=event.target.files;Array.prototype.forEach.call(a,(function(a,e){t.avatarUpdateFile=a,t.avatarUpdatePreview=URL.createObjectURL(a),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var a=this;if(t.dataTransfer.items){for(var e=0;e{e.r(a),e.d(a,{default:()=>s});const s={props:{small:{type:Boolean,default:!1}}}},28413:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={components:{notifications:e(76830).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},79318:(t,a,e)=>{e.r(a),e.d(a,{default:()=>l});var s=e(95353),n=e(90414);function i(t){return i="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},i(t)}function r(t,a){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);a&&(s=s.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),e.push.apply(e,s)}return e}function o(t,a,e){var s;return s=function(t,a){if("object"!=i(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var s=e.call(t,a||"default");if("object"!=i(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(t)}(a,"string"),(a="symbol"==i(s)?s:s+"")in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,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:{UpdateAvatar:n.default},computed:function(t){for(var a=1;a)?/g,(function(a){var e=a.slice(1,a.length-1),s=t.getCustomEmoji.filter((function(t){return t.shortcode==e}));return s.length?''.concat(s[0].shortcode,''):a}))}return e},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(a,{notation:e,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var a=this.$route.path;switch(t){case"home":"/i/web"==a?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==a?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==a?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},91360:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(71687),n=e(25100);function i(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,a){if(!t)return;if("string"==typeof t)return r(t,a);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return r(t,a)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,s=new Array(a);eWe use automated systems to help detect potential abuse and spam. Your recent post was flagged for review.

Don\'t worry! Your post will be reviewed by a human, and they will restore your post if they determine it appropriate.

Once a human approves your post, any posts you create after will not be marked as unlisted. If you delete this post and share more posts before a human can approve any of them, you will need to wait for at least one unlisted post to be reviewed by a human.';var e=document.createElement("div");e.appendChild(a),swal({title:"Why was my post unlisted?",content:e,icon:"warning"})}}}},20128:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"hashtag-component"},[a("div",{staticClass:"container-fluid mt-3"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-3 d-md-block"},[a("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),a("div",{staticClass:"col-md-9"},[a("div",{staticClass:"card border-0 shadow-sm mb-3",staticStyle:{"border-radius":"18px"}},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"media align-items-center py-3"},[a("div",{staticClass:"media-body"},[a("p",{staticClass:"h3 text-break mb-0"},[a("span",{staticClass:"text-lighter"},[t._v("#")]),t._v(t._s(t.hashtag.name)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),t.hashtag.count&&t.hashtag.count>100?a("p",{staticClass:"mb-0 text-muted font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.formatCount(t.hashtag.count))+" Posts\n\t\t\t\t\t\t\t\t")]):t._e()]),t._v(" "),t.hashtag&&t.hashtag.hasOwnProperty("following")&&t.feed&&t.feed.length?[t.hashtag.following?a("button",{staticClass:"btn btn-light hashtag-follow border rounded-pill font-weight-bold py-1 px-4",attrs:{disabled:t.followingLoading},on:{click:function(a){return t.unfollowHashtag()}}},[t.followingLoading?a("b-spinner",{attrs:{small:""}}):a("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t\t\t\t\t\t")])],1):a("button",{staticClass:"btn btn-primary hashtag-follow font-weight-bold rounded-pill py-1 px-4",attrs:{disabled:t.followingLoading},on:{click:function(a){return t.followHashtag()}}},[t.followingLoading?a("b-spinner",{attrs:{small:""}}):a("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.follow"))+"\n\t\t\t\t\t\t\t\t\t")])],1)]:t._e()],2)])]),t._v(" "),t.isLoaded&&t.feedLoaded?[a("div",{staticClass:"row mx-0 hashtag-feed"},[t._l(t.feed,(function(e,s){return a("div",{key:"tlob:"+s,staticClass:"col-6 col-md-4 col-lg-3 p-1"},[a("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)},on:{click:function(a){return a.preventDefault(),t.goToPost(e)}}},[a("div",{staticClass:"square"},[e.sensitive?a("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),a("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1):a("div",{staticClass:"square-content"},[a("blur-hash-image",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash,src:e.media_attachments[0].url}})],1),t._v(" "),"photo:album"==e.pf_type?a("span",{staticClass:"float-right mr-3 post-icon"},[a("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==e.pf_type?a("span",{staticClass:"float-right mr-3 post-icon"},[a("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==e.pf_type?a("span",{staticClass:"float-right mr-3 post-icon"},[a("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),a("div",{staticClass:"info-overlay-text"},[a("h5",{staticClass:"text-white m-auto font-weight-bold"},[a("span",[a("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),a("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reply_count)))])])])])])])])})),t._v(" "),t.canLoadMore?a("div",{staticClass:"col-12"},[a("intersect",{on:{enter:t.enterIntersect}},[a("div",{staticClass:"d-flex justify-content-center py-5"},[a("b-spinner")],1)])],1):t._e()],2),t._v(" "),t.feedLoaded&&!t.feed.length?a("div",{staticClass:"row mx-0 hashtag-feed justify-content-center"},[a("div",{staticClass:"col-12 col-md-8 text-center"},[a("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6","max-width":"400px"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),a("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("hashtags.emptyFeed")))])])]):t._e()]:[a("div",{staticClass:"row justify-content-center align-items-center pt-5 mt-5"},[a("b-spinner")],1)]],2)]),t._v(" "),a("drawer")],1)])},n=[function(){var t=this._self._c;return t("div",{staticClass:"info-overlay-text-label"},[t("h5",{staticClass:"text-white m-auto font-weight-bold"},[t("span",[t("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])}]},69831:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"app-drawer-component"},[a("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),a("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[a("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[a("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[a("p",[a("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Home")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[a("p",[a("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Local")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[a("p",[a("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("New")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[a("p",[a("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Alerts")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[a("p",[a("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Profile")])])])],1)])])])])},n=[]},67153:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[a("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(a){return t.handleAvatarUpdate()}}}),t._v(" "),a("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?a("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(a){return t.avatarUpdateStep(0)}}},[a("p",{staticClass:"text-center primary"},[a("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),a("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),a("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),a("strong",[t._v("png")]),t._v(" or "),a("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?a("div",{staticClass:"w-100 p-5"},[a("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[a("div",{staticClass:"text-center mb-4"},[a("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),a("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),a("div",{staticClass:"text-center mb-4"},[a("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),a("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),a("hr"),t._v(" "),a("div",{staticClass:"d-flex justify-content-between"},[a("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(a){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),a("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(a){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},n=[]},11526:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return t.small?a("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):a("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},n=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},55201:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},n=[]},67725:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[a("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[a("div",{staticClass:"card-body p-2"},[a("div",{staticClass:"media user-card user-select-none"},[a("div",{staticStyle:{position:"relative"}},[a("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(a){return t.gotoMyProfile()}}}),t._v(" "),a("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(a){return t.updateAvatar()}}},[a("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),a("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),a("p",{staticClass:"stats"},[a("span",{staticClass:"stats-following"},[a("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),a("span",{staticClass:"stats-followers"},[a("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),a("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[a("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[a("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),a("div",{staticClass:"dropdown-menu dropdown-menu-right"},[a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),a("div",{staticClass:"dropdown-divider"}),t._v(" "),a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),a("div",{staticClass:"sidebar-sticky shadow-sm"},[a("ul",{staticClass:"nav flex-column"},[a("li",{staticClass:"nav-item"},[a("div",{staticClass:"d-flex justify-content-between align-items-center"},[a("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(a){return a.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?a("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(a){return a.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?a("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(a){return a.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),a("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),a("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[a("router-link",{attrs:{to:"/i/web/language"}},[a("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),a("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),a("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},n=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},18865:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"notifications-component"},[a("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[a("div",{staticClass:"card-body pb-0"},[a("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[a("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?a("div",[a("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[a("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?a("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[a("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?a("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[a("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[a("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),a("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(e,s){return a("div",{staticClass:"mb-2"},[a("div",{staticClass:"media align-items-center"},["autospam.warning"===e.type?a("img",{staticClass:"mr-2 rounded-circle shadow-sm p-1",staticStyle:{border:"2px solid var(--danger)"},attrs:{src:"/img/pixelfed-icon-color.svg",width:"32",height:"32"}}):a("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:e.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),a("div",{staticClass:"media-body font-weight-light small"},["favourite"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),e.status&&e.status.hasOwnProperty("media_attachments")?a("span",[a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status),id:"fvn-"+e.id},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),a("b-popover",{attrs:{target:"fvn-"+e.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[a("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(e),width:"100px",height:"100px"}})])],1):a("span",[a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"autospam.warning"==e.type?a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour recent "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(" has been unlisted.\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),a("p",{staticClass:"mt-n1 mb-0"},[a("span",{staticClass:"small text-muted"},[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),t.showAutospamInfo(e.status)}}},[t._v("Click here")]),t._v(" for more info.")])])]):"comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" reacted to your "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/i/web/direct/thread/"+e.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/i/web/direct/thread/"+e.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" shared your "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(t.truncate(e.account.username)))]),t._v(" updated a "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" tagged you in a "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" sent a "),a("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+e.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==e.type?a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url,title:e.group.name}},[t._v(t._s(t.truncate(e.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==e.type?a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url,title:e.group.name}},[t._v(t._s(t.truncate(e.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" invited you to join "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url+"/invite/claim",title:e.group.name}},[t._v(t._s(e.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),a("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:e.created_at}},[t._v(t._s(t.timeAgo(e.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?a("div",[a("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):a("div",[t.hasLoaded&&t.canLoadMore?a("intersect",{on:{enter:t.enterIntersect}},[a("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),a("placeholder",{attrs:{small:""}}),t._v(" "),a("placeholder",{attrs:{small:""}}),t._v(" "),a("placeholder",{attrs:{small:""}})],1):a("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):a("div",{staticClass:"notifications-component-feed"},[a("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[a("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},n=[]},21039:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(76798),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".hashtag-component .hashtag-feed .card,.hashtag-component .hashtag-feed .info-overlay-text,.hashtag-component .hashtag-feed .info-overlay-text-label,.hashtag-component .hashtag-feed canvas,.hashtag-component .hashtag-feed img{border-radius:18px!important}.hashtag-component .hashtag-follow{width:200px}.hashtag-component .ph-wrapper{padding:.25rem}.hashtag-component .ph-wrapper .ph-item{background-color:transparent;border:none;margin:0;padding:0}.hashtag-component .ph-wrapper .ph-item .ph-picture{border-radius:18px;height:auto;padding-bottom:100%}.hashtag-component .ph-wrapper .ph-item>*{margin-bottom:0}",""]);const i=n},35518:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(76798),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const i=n},15822:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(76798),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const i=n},54788:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(76798),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const i=n},91748:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(76798),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const i=n},50270:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(85072),n=e.n(s),i=e(21039),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},96259:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(85072),n=e.n(s),i=e(35518),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},82851:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(85072),n=e.n(s),i=e(15822),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},5323:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(85072),n=e.n(s),i=e(54788),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},53639:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(85072),n=e.n(s),i=e(91748),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},917:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(35501),n=e(33778),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(66757);const r=(0,e(14486).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},5787:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(16286),n=e(80260),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(68840);const r=(0,e(14486).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},90414:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(82704),n=e(55597),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);const r=(0,e(14486).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},71687:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(24871),n=e(11308),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);const r=(0,e(14486).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},59993:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(60848),n=e(88626),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(74148);const r=(0,e(14486).default)(n.default,s.render,s.staticRenderFns,!1,null,"c5fe4fd2",null).exports},28772:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(75754),n=e(75223),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(68338);const r=(0,e(14486).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},76830:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(65358),n=e(93953),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(85082);const r=(0,e(14486).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},33778:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(86377),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},80260:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(50371),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},55597:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(84154),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},11308:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(51651),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},88626:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(28413),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},75223:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(79318),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},93953:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(91360),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},35501:(t,a,e)=>{e.r(a);var s=e(20128),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},16286:(t,a,e)=>{e.r(a);var s=e(69831),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},82704:(t,a,e)=>{e.r(a);var s=e(67153),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},24871:(t,a,e)=>{e.r(a);var s=e(11526),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},60848:(t,a,e)=>{e.r(a);var s=e(55201),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},75754:(t,a,e)=>{e.r(a);var s=e(67725),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},65358:(t,a,e)=>{e.r(a);var s=e(18865),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},66757:(t,a,e)=>{e.r(a);var s=e(50270),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},68840:(t,a,e)=>{e.r(a);var s=e(96259),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},74148:(t,a,e)=>{e.r(a);var s=e(82851),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},68338:(t,a,e)=>{e.r(a);var s=e(5323),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},85082:(t,a,e)=>{e.r(a);var s=e(53639),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)}}]); \ No newline at end of file +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[2966],{86377:(t,a,e)=>{e.r(a),e.d(a,{default:()=>c});var s=e(5787),n=e(25100),i=e(28772),r=e(59993);function o(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,a){if(!t)return;if("string"==typeof t)return l(t,a);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return l(t,a)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,s=new Array(a);e{e.r(a),e.d(a,{default:()=>s});const s={data:function(){return{user:window._sharedData.user}}}},84154:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,a=event.target.files;Array.prototype.forEach.call(a,(function(a,e){t.avatarUpdateFile=a,t.avatarUpdatePreview=URL.createObjectURL(a),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var a=this;if(t.dataTransfer.items){for(var e=0;e{e.r(a),e.d(a,{default:()=>s});const s={props:{small:{type:Boolean,default:!1}}}},28413:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={components:{notifications:e(76830).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},79318:(t,a,e)=>{e.r(a),e.d(a,{default:()=>l});var s=e(95353),n=e(90414);function i(t){return i="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},i(t)}function r(t,a){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);a&&(s=s.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),e.push.apply(e,s)}return e}function o(t,a,e){var s;return s=function(t,a){if("object"!=i(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var s=e.call(t,a||"default");if("object"!=i(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(t)}(a,"string"),(a="symbol"==i(s)?s:s+"")in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,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:{UpdateAvatar:n.default},computed:function(t){for(var a=1;a)?/g,(function(a){var e=a.slice(1,a.length-1),s=t.getCustomEmoji.filter((function(t){return t.shortcode==e}));return s.length?''.concat(s[0].shortcode,''):a}))}return e},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(a,{notation:e,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var a=this.$route.path;switch(t){case"home":"/i/web"==a?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==a?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==a?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},91360:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(71687),n=e(25100);function i(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,a){if(!t)return;if("string"==typeof t)return r(t,a);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return r(t,a)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,s=new Array(a);eWe use automated systems to help detect potential abuse and spam. Your recent post was flagged for review.

Don\'t worry! Your post will be reviewed by a human, and they will restore your post if they determine it appropriate.

Once a human approves your post, any posts you create after will not be marked as unlisted. If you delete this post and share more posts before a human can approve any of them, you will need to wait for at least one unlisted post to be reviewed by a human.';var e=document.createElement("div");e.appendChild(a),swal({title:"Why was my post unlisted?",content:e,icon:"warning"})}}}},20128:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"hashtag-component"},[a("div",{staticClass:"container-fluid mt-3"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-md-3 d-md-block"},[a("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),a("div",{staticClass:"col-md-9"},[a("div",{staticClass:"card border-0 shadow-sm mb-3",staticStyle:{"border-radius":"18px"}},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"media align-items-center py-3"},[a("div",{staticClass:"media-body"},[a("p",{staticClass:"h3 text-break mb-0"},[a("span",{staticClass:"text-lighter"},[t._v("#")]),t._v(t._s(t.hashtag.name)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),t.hashtag.count&&t.hashtag.count>100?a("p",{staticClass:"mb-0 text-muted font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.formatCount(t.hashtag.count))+" Posts\n\t\t\t\t\t\t\t\t")]):t._e()]),t._v(" "),t.hashtag&&t.hashtag.hasOwnProperty("following")&&t.feed&&t.feed.length?[t.hashtag.following?a("button",{staticClass:"btn btn-light hashtag-follow border rounded-pill font-weight-bold py-1 px-4",attrs:{disabled:t.followingLoading},on:{click:function(a){return t.unfollowHashtag()}}},[t.followingLoading?a("b-spinner",{attrs:{small:""}}):a("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t\t\t\t\t\t")])],1):a("button",{staticClass:"btn btn-primary hashtag-follow font-weight-bold rounded-pill py-1 px-4",attrs:{disabled:t.followingLoading},on:{click:function(a){return t.followHashtag()}}},[t.followingLoading?a("b-spinner",{attrs:{small:""}}):a("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.follow"))+"\n\t\t\t\t\t\t\t\t\t")])],1)]:t._e()],2)])]),t._v(" "),t.isLoaded&&t.feedLoaded?[a("div",{staticClass:"row mx-0 hashtag-feed"},[t._l(t.feed,(function(e,s){return a("div",{key:"tlob:"+s,staticClass:"col-6 col-md-4 col-lg-3 p-1"},[a("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(e)},on:{click:function(a){return a.preventDefault(),t.goToPost(e)}}},[a("div",{staticClass:"square"},[e.sensitive?a("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),a("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash}})],1):a("div",{staticClass:"square-content"},[a("blur-hash-image",{attrs:{width:"32",height:"32",hash:e.media_attachments[0].blurhash,src:e.media_attachments[0].url}})],1),t._v(" "),"photo:album"==e.pf_type?a("span",{staticClass:"float-right mr-3 post-icon"},[a("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==e.pf_type?a("span",{staticClass:"float-right mr-3 post-icon"},[a("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==e.pf_type?a("span",{staticClass:"float-right mr-3 post-icon"},[a("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),a("div",{staticClass:"info-overlay-text"},[a("h5",{staticClass:"text-white m-auto font-weight-bold"},[a("span",[a("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),a("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(e.reply_count)))])])])])])])])})),t._v(" "),t.canLoadMore?a("div",{staticClass:"col-12"},[a("intersect",{on:{enter:t.enterIntersect}},[a("div",{staticClass:"d-flex justify-content-center py-5"},[a("b-spinner")],1)])],1):t._e()],2),t._v(" "),t.feedLoaded&&!t.feed.length?a("div",{staticClass:"row mx-0 hashtag-feed justify-content-center"},[a("div",{staticClass:"col-12 col-md-8 text-center"},[a("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6","max-width":"400px"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),a("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("hashtags.emptyFeed")))])])]):t._e()]:[a("div",{staticClass:"row justify-content-center align-items-center pt-5 mt-5"},[a("b-spinner")],1)]],2)]),t._v(" "),a("drawer")],1)])},n=[function(){var t=this._self._c;return t("div",{staticClass:"info-overlay-text-label"},[t("h5",{staticClass:"text-white m-auto font-weight-bold"},[t("span",[t("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])}]},69831:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"app-drawer-component"},[a("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),a("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[a("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[a("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[a("p",[a("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Home")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[a("p",[a("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Local")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[a("p",[a("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("New")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[a("p",[a("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Alerts")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[a("p",[a("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Profile")])])])],1)])])])])},n=[]},67153:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[a("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(a){return t.handleAvatarUpdate()}}}),t._v(" "),a("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?a("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(a){return t.avatarUpdateStep(0)}}},[a("p",{staticClass:"text-center primary"},[a("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),a("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),a("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),a("strong",[t._v("png")]),t._v(" or "),a("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?a("div",{staticClass:"w-100 p-5"},[a("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[a("div",{staticClass:"text-center mb-4"},[a("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),a("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),a("div",{staticClass:"text-center mb-4"},[a("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),a("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),a("hr"),t._v(" "),a("div",{staticClass:"d-flex justify-content-between"},[a("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(a){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),a("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(a){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},n=[]},11526:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return t.small?a("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):a("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},n=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},55201:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},n=[]},75274:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[a("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[a("div",{staticClass:"card-body p-2"},[a("div",{staticClass:"media user-card user-select-none"},[a("div",{staticStyle:{position:"relative"}},[a("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(a){return t.gotoMyProfile()}}}),t._v(" "),a("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(a){return t.updateAvatar()}}},[a("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),a("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),a("p",{staticClass:"stats"},[a("span",{staticClass:"stats-following"},[a("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),a("span",{staticClass:"stats-followers"},[a("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),a("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[a("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[a("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),a("div",{staticClass:"dropdown-menu dropdown-menu-right"},[a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),a("div",{staticClass:"dropdown-divider"}),t._v(" "),a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),a("div",{staticClass:"sidebar-sticky shadow-sm"},[a("ul",{staticClass:"nav flex-column"},[a("li",{staticClass:"nav-item"},[a("div",{staticClass:"d-flex justify-content-between align-items-center"},[a("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(a){return a.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?a("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(a){return a.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?a("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(a){return a.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),a("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link",attrs:{to:"/groups/feed"}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-layer-group"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.groups"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.hasLiveStreams?a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),a("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[a("router-link",{attrs:{to:"/i/web/language"}},[a("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),a("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),a("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},n=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},18865:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>n});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"notifications-component"},[a("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[a("div",{staticClass:"card-body pb-0"},[a("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[a("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?a("div",[a("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[a("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?a("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[a("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?a("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[a("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[a("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),a("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(e,s){return a("div",{staticClass:"mb-2"},[a("div",{staticClass:"media align-items-center"},["autospam.warning"===e.type?a("img",{staticClass:"mr-2 rounded-circle shadow-sm p-1",staticStyle:{border:"2px solid var(--danger)"},attrs:{src:"/img/pixelfed-icon-color.svg",width:"32",height:"32"}}):a("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:e.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),a("div",{staticClass:"media-body font-weight-light small"},["favourite"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),e.status&&e.status.hasOwnProperty("media_attachments")?a("span",[a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status),id:"fvn-"+e.id},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),a("b-popover",{attrs:{target:"fvn-"+e.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[a("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(e),width:"100px",height:"100px"}})])],1):a("span",[a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"autospam.warning"==e.type?a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour recent "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(" has been unlisted.\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),a("p",{staticClass:"mt-n1 mb-0"},[a("span",{staticClass:"small text-muted"},[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),t.showAutospamInfo(e.status)}}},[t._v("Click here")]),t._v(" for more info.")])])]):"comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" reacted to your "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/i/web/direct/thread/"+e.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" commented on your "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/i/web/direct/thread/"+e.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" shared your "),a("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(e.status)},on:{click:function(a){return a.preventDefault(),t.goToPost(e.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(t.truncate(e.account.username)))]),t._v(" updated a "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" tagged you in a "),a("a",{staticClass:"font-weight-bold",attrs:{href:e.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" sent a "),a("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+e.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==e.type?a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url,title:e.group.name}},[t._v(t._s(t.truncate(e.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==e.type?a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url,title:e.group.name}},[t._v(t._s(t.truncate(e.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==e.type?a("div",[a("p",{staticClass:"my-0"},[a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(e.account),title:e.account.acct}},[t._v(t._s(0==e.account.local?"@":"")+t._s(t.truncate(e.account.username)))]),t._v(" invited you to join "),a("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.group.url+"/invite/claim",title:e.group.name}},[t._v(t._s(e.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):a("div",[a("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),a("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:e.created_at}},[t._v(t._s(t.timeAgo(e.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?a("div",[a("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):a("div",[t.hasLoaded&&t.canLoadMore?a("intersect",{on:{enter:t.enterIntersect}},[a("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),a("placeholder",{attrs:{small:""}}),t._v(" "),a("placeholder",{attrs:{small:""}}),t._v(" "),a("placeholder",{attrs:{small:""}})],1):a("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):a("div",{staticClass:"notifications-component-feed"},[a("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[a("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},n=[]},21039:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(76798),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".hashtag-component .hashtag-feed .card,.hashtag-component .hashtag-feed .info-overlay-text,.hashtag-component .hashtag-feed .info-overlay-text-label,.hashtag-component .hashtag-feed canvas,.hashtag-component .hashtag-feed img{border-radius:18px!important}.hashtag-component .hashtag-follow{width:200px}.hashtag-component .ph-wrapper{padding:.25rem}.hashtag-component .ph-wrapper .ph-item{background-color:transparent;border:none;margin:0;padding:0}.hashtag-component .ph-wrapper .ph-item .ph-picture{border-radius:18px;height:auto;padding-bottom:100%}.hashtag-component .ph-wrapper .ph-item>*{margin-bottom:0}",""]);const i=n},35518:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(76798),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const i=n},15822:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(76798),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const i=n},14185:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(76798),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const i=n},91748:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(76798),n=e.n(s)()((function(t){return t[1]}));n.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const i=n},50270:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(85072),n=e.n(s),i=e(21039),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},96259:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(85072),n=e.n(s),i=e(35518),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},82851:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(85072),n=e.n(s),i=e(15822),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},89598:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(85072),n=e.n(s),i=e(14185),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},53639:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(85072),n=e.n(s),i=e(91748),r={insert:"head",singleton:!1};n()(i.default,r);const o=i.default.locals||{}},917:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(35501),n=e(33778),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(66757);const r=(0,e(14486).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},5787:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(16286),n=e(80260),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(68840);const r=(0,e(14486).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},90414:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(82704),n=e(55597),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);const r=(0,e(14486).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},71687:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(24871),n=e(11308),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);const r=(0,e(14486).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},59993:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(60848),n=e(88626),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(74148);const r=(0,e(14486).default)(n.default,s.render,s.staticRenderFns,!1,null,"c5fe4fd2",null).exports},28772:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(54017),n=e(75223),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(99387);const r=(0,e(14486).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},76830:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(65358),n=e(93953),i={};for(const t in n)"default"!==t&&(i[t]=()=>n[t]);e.d(a,i);e(85082);const r=(0,e(14486).default)(n.default,s.render,s.staticRenderFns,!1,null,null,null).exports},33778:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(86377),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},80260:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(50371),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},55597:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(84154),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},11308:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(51651),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},88626:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(28413),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},75223:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(79318),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},93953:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(91360),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n);const i=s.default},35501:(t,a,e)=>{e.r(a);var s=e(20128),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},16286:(t,a,e)=>{e.r(a);var s=e(69831),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},82704:(t,a,e)=>{e.r(a);var s=e(67153),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},24871:(t,a,e)=>{e.r(a);var s=e(11526),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},60848:(t,a,e)=>{e.r(a);var s=e(55201),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},54017:(t,a,e)=>{e.r(a);var s=e(75274),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},65358:(t,a,e)=>{e.r(a);var s=e(18865),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},66757:(t,a,e)=>{e.r(a);var s=e(50270),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},68840:(t,a,e)=>{e.r(a);var s=e(96259),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},74148:(t,a,e)=>{e.r(a);var s=e(82851),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},99387:(t,a,e)=>{e.r(a);var s=e(89598),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)},85082:(t,a,e)=>{e.r(a);var s=e(53639),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);e.d(a,n)}}]); \ No newline at end of file diff --git a/public/js/discover~memories.chunk.315bb6896f3afec2.js b/public/js/discover~memories.chunk.0c1a79e4c57c4ed8.js similarity index 76% rename from public/js/discover~memories.chunk.315bb6896f3afec2.js rename to public/js/discover~memories.chunk.0c1a79e4c57c4ed8.js index f12e1a7c3..f59dcff88 100644 --- a/public/js/discover~memories.chunk.315bb6896f3afec2.js +++ b/public/js/discover~memories.chunk.0c1a79e4c57c4ed8.js @@ -1 +1 @@ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[6740],{74724:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(5787),i=s(28772),n=s(35547);const o={components:{drawer:a.default,sidebar:i.default,"status-card":n.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}}}},56987:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(20243),i=s(84800),n=s(79110),o=s(27821);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"post-content":n.default,"post-header":i.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.shadowStatus.media_attachments||!this.shadowStatus.media_attachments.length)&&this.shadowStatus.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.shadowStatus.account.id==window._sharedData.user.id,this.shadowStatus.reply_count&&this.autoloadComments&&!1===this.shadowStatus.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},isReblog:{get:function(){return null!=this.status.reblog}},reblogAccount:{get:function(){return this.status.reblog?this.status.account:null}},shadowStatus:{get:function(){return this.status.reblog?this.status.reblog:this.status}}},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")}}}},50371:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:window._sharedData.user}}}},84154:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(79288),i=s(50294),n=s(34719),o=s(72028),r=s(19138);const l={props:{status:{type:Object}},components:{VueTribute:a.default,ReadMore:i.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,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},24758:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(50294);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:a.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},85100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},37844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},getDiff:function(t){if(t==this.allHistory.length-1)return this.allHistory[this.allHistory.length-1].content;var e=document.createElement("div");return r.forEach((function(t){var s=t.added?"green":t.removed?"red":"grey",a=document.createElement("span");(a.style.color=s,console.log(t.value,t.value.length),t.added)?t.value.trim().length?a.appendChild(document.createTextNode(t.value)):a.appendChild(document.createTextNode("·")):a.appendChild(document.createTextNode(t.value));e.appendChild(a)})),e.innerHTML},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),a=Math.floor(s/63072e3);return a<0?"0s":a>=1?a+(1==a?" year":" years")+" ago":(a=Math.floor(s/604800))>=1?a+(1==a?" week":" weeks")+" ago":(a=Math.floor(s/86400))>=1?a+(1==a?" day":" days")+" ago":(a=Math.floor(s/3600))>=1?a+(1==a?" hour":" hours")+" ago":(a=Math.floor(s/60))>=1?a+(1==a?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},61746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(18634),i=s(50294),n=s(75938);const o={props:["status"],components:{"read-more":i.default,"video-player":n.default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},22434:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(34719),i=s(49986);const n={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1},isReblog:{type:Boolean,default:!1},reblogAccount:{type:Object}},components:{"profile-hover-card":a.default,"edit-history-modal":i.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfileById:function(t){var e=this;this.$nextTick((function(){e.$router.push({name:"profile",path:"/i/web/profile/".concat(t),params:{id:t,cachedUser:e.profile}})}))},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")},openEditModal:function(){this.$refs.editModal.open()}}}},99397:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(20243),i=s(34719);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},6140:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var a=document.createElement("a");a.href=e.getAttribute("href"),s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},3223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(50294),i=s(95353);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:a.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[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 a=document.createElement("a");a.href=t.profile.url,s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},79318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(95353),i=s(90414);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,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:{UpdateAvatar:i.default},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},68910:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(64945),i=(s(34076),s(34330)),n=s.n(i),o=(s(10706),s(71241));const r={props:["status","fixedHeight"],data:function(){return{shouldPlay:!1,hasHls:void 0,hlsConfig:window.App.config.features.hls,liveSyncDurationCount:7,isHlsSupported:!1,isP2PSupported:!1,engine:void 0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{handleShouldPlay:function(){var t=this;this.shouldPlay=!0,this.isHlsSupported=this.hlsConfig.enabled&&a.default.isSupported(),this.isP2PSupported=this.hlsConfig.enabled&&this.hlsConfig.p2p&&o.Engine.isSupported(),this.$nextTick((function(){t.init()}))},init:function(){var t,e=this;!this.status.sensitive&&null!==(t=this.status.media_attachments[0])&&void 0!==t&&t.hls_manifest&&this.isHlsSupported?(this.hasHls=!0,this.$nextTick((function(){e.initHls()}))):this.hasHls=!1},initHls:function(){var t;if(this.isP2PSupported){var e={loader:{trackerAnnounce:[this.hlsConfig.tracker],rtcConfig:{iceServers:[{urls:[this.hlsConfig.ice]}]}}},s=new o.Engine(e);this.hlsConfig.p2p_debug&&(s.on("peer_connect",(function(t){return console.log("peer_connect",t.id,t.remoteAddress)})),s.on("peer_close",(function(t){return console.log("peer_close",t)})),s.on("segment_loaded",(function(t,e){return console.log("segment_loaded from",e?"peer ".concat(e):"HTTP",t.url)}))),t=s.createLoaderClass()}else t=a.default.DefaultConfig.loader;var i=this.$refs.video,r=this.status.media_attachments[0].hls_manifest,l=(new(n())(i,{captions:{active:!0,update:!0}}),new a.default({liveSyncDurationCount:this.liveSyncDurationCount,loader:t})),c=this;(0,o.initHlsJsPlayer)(l),l.loadSource(r),l.attachMedia(i),l.on(a.default.Events.MANIFEST_PARSED,(function(t,e){this.hlsConfig.debug&&(console.log(t),console.log(e));var s={},o=l.levels.map((function(t){return t.height}));this.hlsConfig.debug&&console.log(o),o.unshift(0),s.quality={default:0,options:o,forced:!0,onChange:function(t){return c.updateQuality(t)}},s.i18n={qualityLabel:{0:"Auto"}},l.on(a.default.Events.LEVEL_SWITCHED,(function(t,e){var s=document.querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");l.autoLevelEnabled?s.innerHTML="Auto (".concat(l.levels[e.level].height,"p)"):s.innerHTML="Auto"}));new(n())(i,s)}))},updateQuality:function(t){var e=this;0===t?window.hls.currentLevel=-1:window.hls.levels.forEach((function(s,a){s.height===t&&(e.hlsConfig.debug&&console.log("Found quality match with "+t),window.hls.currentLevel=a)}))},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},56007:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-my-memories web-wrapper"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),0===t.tabIndex?e("div",{staticClass:"col-md-6 col-lg-6"},[e("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),e("h1",{staticClass:"font-default"},[t._v("My Memories")]),t._v(" "),e("p",{staticClass:"font-default lead"},[t._v("Posts from this day in previous years")]),t._v(" "),e("hr"),t._v(" "),t.feedLoaded?t._e():e("b-spinner"),t._v(" "),t._l(t.feed,(function(s,a){return e("status-card",{key:"ti0:"+a+":"+s.id,attrs:{profile:t.profile,status:s}})})),t._v(" "),t.feedLoaded&&0==t.feed.length?e("p",{staticClass:"lead"},[t._v("No memories found :(")]):t._e()],2):1===t.tabIndex?e("div",{staticClass:"col-md-6 col-lg-6"},[e("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),e("h1",{staticClass:"font-default"},[t._v("My Memories")]),t._v(" "),e("p",{staticClass:"font-default lead"},[t._v("Posts I've liked from this day in previous years")]),t._v(" "),e("hr"),t._v(" "),t.likedLoaded?t._e():e("b-spinner"),t._v(" "),t._l(t.liked,(function(s,a){return e("status-card",{key:"ti1:"+a+":"+s.id,attrs:{profile:t.profile,status:s}})})),t._v(" "),t.likedLoaded&&0==t.liked.length?e("p",{staticClass:"lead"},[t._v("No memories found :(")]):t._e()],2):t._e(),t._v(" "),e("div",{staticClass:"col-md-2 col-lg-3"},[e("div",{staticClass:"nav flex-column nav-pills font-default"},[e("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(" "),e("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()])},i=[]},70201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.shadowStatus,"is-reblog":t.isReblog,"reblog-account":t.reblogAccount},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.shadowStatus}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.shadowStatus,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.shadowStatus,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=[]},69831:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},67153:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},55318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===a?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(a,i){return e("div",{on:{click:function(e){return t.lightbox(s,i)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[i].blurhash,src:t.getMediaSource(s,i)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===a?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===a?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===a?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[a].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[a].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[a].replies},on:{"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==a&&t.feed[a].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==a?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(a,e)},"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},i=[]},54309:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},82285:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},i=[]},27934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var a=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,a){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(a==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=a}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},i=[]},79911:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight}}):"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div",[t.status.sensitive?e("div",{staticClass:"border m-3 p-5 rounded-lg"},[t._m(1),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold mb-0"},[t._v("Sensitive Content")]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.status.spoiler_text&&t.status.spoiler_text.length?t.status.spoiler_text:"This post may contain sensitive content"))]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See post")])])]):t._e()]):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],1):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},44516:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[t.isReblog?e("div",{staticClass:"card-header bg-light border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center",staticStyle:{height:"10px"}},[e("a",{staticClass:"mx-2",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[e("img",{staticStyle:{"border-radius":"10px"},attrs:{src:t.reblogAccount.avatar,width:"24",height:"24",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticStyle:{"font-size":"12px","font-weight":"bold"}},[e("i",{staticClass:"far fa-retweet text-warning mr-1"}),t._v(" Reblogged by "),e("a",{staticClass:"text-dark",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[t._v("@"+t._s(t.reblogAccount.acct))])])])]):t._e(),t._v(" "),e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n "+t._s(t.status.account.acct)+"\n ")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n "+t._s(t.timeago(t.status.created_at))+"\n ")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)])},i=[]},51992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},16331:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},53577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}})]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},67725:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},21146:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n Sensitive Content\n ")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n "+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n ")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):[t.shouldPlay?[t.hasHls?e("video",{ref:"video",class:{fixedHeight:t.fixedHeight},staticStyle:{margin:"0"},attrs:{playsinline:"","webkit-playsinline":"",controls:"",autoplay:"false",poster:t.getPoster(t.status)}}):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{autoplay:"false",playsinline:"","webkit-playsinline":"",controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:e("div",{staticClass:"content-label-wrapper",style:{background:"linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.8)),url(".concat(t.getPoster(t.status),")"),backgroundSize:"cover"}},[e("div",{staticClass:"text-light content-label"},[e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-link btn-block btn-sm font-weight-bold",on:{click:function(e){return e.preventDefault(),t.handleShouldPlay.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-play fa-5x text-white"})])])])])]],2)},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},25890:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.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 n=i},35296:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},35518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=i},34857:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},49777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const n=i},93100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},54788:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const n=i},78071:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(25890),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},209:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(35296),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},96259:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(35518),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},48432:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(34857),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},22626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(49777),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},67621:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(93100),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},5323:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(54788),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},82212:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(51338),i=s(51703),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(1536);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,"045d18bb",null).exports},35547:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(59028),i=s(52548),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(86546);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},5787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(16286),i=s(80260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(68840);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},90414:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(82704),i=s(55597),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},20243:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(34727),i=s(88012),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(21883);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},72028:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(46098),i=s(93843),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},19138:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(44982),i=s(43509),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},49986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(32785),i=s(79577),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(67011);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},79110:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(5458),i=s(99369),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},84800:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(43047),i=s(6119),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},27821:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(99421),i=s(28934),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},50294:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(95728),i=s(33417),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},34719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(38888),i=s(42260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(88814);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},28772:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(75754),i=s(75223),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(68338);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},75938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(86943),i=s(42909),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},51703:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(74724),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},52548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(56987),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},80260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(50371),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},55597:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(84154),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},88012:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(3211),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},93843:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(24758),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},43509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85100),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},79577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(37844),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},99369:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(61746),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},6119:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(22434),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},28934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(99397),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},33417:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(6140),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},42260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(3223),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},75223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(79318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},42909:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(68910),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},51338:(t,e,s)=>{"use strict";s.r(e);var a=s(56007),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},59028:(t,e,s)=>{"use strict";s.r(e);var a=s(70201),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},16286:(t,e,s)=>{"use strict";s.r(e);var a=s(69831),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},82704:(t,e,s)=>{"use strict";s.r(e);var a=s(67153),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},34727:(t,e,s)=>{"use strict";s.r(e);var a=s(55318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},46098:(t,e,s)=>{"use strict";s.r(e);var a=s(54309),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},44982:(t,e,s)=>{"use strict";s.r(e);var a=s(82285),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},32785:(t,e,s)=>{"use strict";s.r(e);var a=s(27934),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},5458:(t,e,s)=>{"use strict";s.r(e);var a=s(79911),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},43047:(t,e,s)=>{"use strict";s.r(e);var a=s(44516),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},99421:(t,e,s)=>{"use strict";s.r(e);var a=s(51992),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},95728:(t,e,s)=>{"use strict";s.r(e);var a=s(16331),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},38888:(t,e,s)=>{"use strict";s.r(e);var a=s(53577),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},75754:(t,e,s)=>{"use strict";s.r(e);var a=s(67725),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86943:(t,e,s)=>{"use strict";s.r(e);var a=s(21146),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},1536:(t,e,s)=>{"use strict";s.r(e);var a=s(78071),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86546:(t,e,s)=>{"use strict";s.r(e);var a=s(209),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68840:(t,e,s)=>{"use strict";s.r(e);var a=s(96259),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},21883:(t,e,s)=>{"use strict";s.r(e);var a=s(48432),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},67011:(t,e,s)=>{"use strict";s.r(e);var a=s(22626),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},88814:(t,e,s)=>{"use strict";s.r(e);var a=s(67621),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68338:(t,e,s)=>{"use strict";s.r(e);var a=s(5323),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},11220:()=>{},16052:()=>{},40295:()=>{},89858:()=>{},45187:()=>{},87919:()=>{},40264:()=>{},80434:()=>{},18053:()=>{}}]); \ No newline at end of file +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[6740],{74724:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(5787),i=s(28772),n=s(35547);const o={components:{drawer:a.default,sidebar:i.default,"status-card":n.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}}}},56987:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(20243),i=s(84800),n=s(79110),o=s(27821);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"post-content":n.default,"post-header":i.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.shadowStatus.media_attachments||!this.shadowStatus.media_attachments.length)&&this.shadowStatus.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.shadowStatus.account.id==window._sharedData.user.id,this.shadowStatus.reply_count&&this.autoloadComments&&!1===this.shadowStatus.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},isReblog:{get:function(){return null!=this.status.reblog}},reblogAccount:{get:function(){return this.status.reblog?this.status.account:null}},shadowStatus:{get:function(){return this.status.reblog?this.status.reblog:this.status}}},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")}}}},50371:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:window._sharedData.user}}}},84154:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(79288),i=s(50294),n=s(34719),o=s(72028),r=s(19138);const l={props:{status:{type:Object}},components:{VueTribute:a.default,ReadMore:i.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,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},24758:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(50294);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:a.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},85100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},37844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},getDiff:function(t){if(t==this.allHistory.length-1)return this.allHistory[this.allHistory.length-1].content;var e=document.createElement("div");return r.forEach((function(t){var s=t.added?"green":t.removed?"red":"grey",a=document.createElement("span");(a.style.color=s,console.log(t.value,t.value.length),t.added)?t.value.trim().length?a.appendChild(document.createTextNode(t.value)):a.appendChild(document.createTextNode("·")):a.appendChild(document.createTextNode(t.value));e.appendChild(a)})),e.innerHTML},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),a=Math.floor(s/63072e3);return a<0?"0s":a>=1?a+(1==a?" year":" years")+" ago":(a=Math.floor(s/604800))>=1?a+(1==a?" week":" weeks")+" ago":(a=Math.floor(s/86400))>=1?a+(1==a?" day":" days")+" ago":(a=Math.floor(s/3600))>=1?a+(1==a?" hour":" hours")+" ago":(a=Math.floor(s/60))>=1?a+(1==a?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},61746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(18634),i=s(50294),n=s(75938);const o={props:["status"],components:{"read-more":i.default,"video-player":n.default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},22434:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(34719),i=s(49986);const n={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1},isReblog:{type:Boolean,default:!1},reblogAccount:{type:Object}},components:{"profile-hover-card":a.default,"edit-history-modal":i.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfileById:function(t){var e=this;this.$nextTick((function(){e.$router.push({name:"profile",path:"/i/web/profile/".concat(t),params:{id:t,cachedUser:e.profile}})}))},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")},openEditModal:function(){this.$refs.editModal.open()}}}},99397:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(20243),i=s(34719);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},6140:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var a=document.createElement("a");a.href=e.getAttribute("href"),s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},3223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(50294),i=s(95353);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:a.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[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 a=document.createElement("a");a.href=t.profile.url,s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},79318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(95353),i=s(90414);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,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:{UpdateAvatar:i.default},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},68910:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(64945),i=(s(34076),s(34330)),n=s.n(i),o=(s(10706),s(71241));const r={props:["status","fixedHeight"],data:function(){return{shouldPlay:!1,hasHls:void 0,hlsConfig:window.App.config.features.hls,liveSyncDurationCount:7,isHlsSupported:!1,isP2PSupported:!1,engine:void 0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{handleShouldPlay:function(){var t=this;this.shouldPlay=!0,this.isHlsSupported=this.hlsConfig.enabled&&a.default.isSupported(),this.isP2PSupported=this.hlsConfig.enabled&&this.hlsConfig.p2p&&o.Engine.isSupported(),this.$nextTick((function(){t.init()}))},init:function(){var t,e=this;!this.status.sensitive&&null!==(t=this.status.media_attachments[0])&&void 0!==t&&t.hls_manifest&&this.isHlsSupported?(this.hasHls=!0,this.$nextTick((function(){e.initHls()}))):this.hasHls=!1},initHls:function(){var t;if(this.isP2PSupported){var e={loader:{trackerAnnounce:[this.hlsConfig.tracker],rtcConfig:{iceServers:[{urls:[this.hlsConfig.ice]}]}}},s=new o.Engine(e);this.hlsConfig.p2p_debug&&(s.on("peer_connect",(function(t){return console.log("peer_connect",t.id,t.remoteAddress)})),s.on("peer_close",(function(t){return console.log("peer_close",t)})),s.on("segment_loaded",(function(t,e){return console.log("segment_loaded from",e?"peer ".concat(e):"HTTP",t.url)}))),t=s.createLoaderClass()}else t=a.default.DefaultConfig.loader;var i=this.$refs.video,r=this.status.media_attachments[0].hls_manifest,l=(new(n())(i,{captions:{active:!0,update:!0}}),new a.default({liveSyncDurationCount:this.liveSyncDurationCount,loader:t})),c=this;(0,o.initHlsJsPlayer)(l),l.loadSource(r),l.attachMedia(i),l.on(a.default.Events.MANIFEST_PARSED,(function(t,e){this.hlsConfig.debug&&(console.log(t),console.log(e));var s={},o=l.levels.map((function(t){return t.height}));this.hlsConfig.debug&&console.log(o),o.unshift(0),s.quality={default:0,options:o,forced:!0,onChange:function(t){return c.updateQuality(t)}},s.i18n={qualityLabel:{0:"Auto"}},l.on(a.default.Events.LEVEL_SWITCHED,(function(t,e){var s=document.querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");l.autoLevelEnabled?s.innerHTML="Auto (".concat(l.levels[e.level].height,"p)"):s.innerHTML="Auto"}));new(n())(i,s)}))},updateQuality:function(t){var e=this;0===t?window.hls.currentLevel=-1:window.hls.levels.forEach((function(s,a){s.height===t&&(e.hlsConfig.debug&&console.log("Found quality match with "+t),window.hls.currentLevel=a)}))},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},56007:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-my-memories web-wrapper"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),0===t.tabIndex?e("div",{staticClass:"col-md-6 col-lg-6"},[e("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),e("h1",{staticClass:"font-default"},[t._v("My Memories")]),t._v(" "),e("p",{staticClass:"font-default lead"},[t._v("Posts from this day in previous years")]),t._v(" "),e("hr"),t._v(" "),t.feedLoaded?t._e():e("b-spinner"),t._v(" "),t._l(t.feed,(function(s,a){return e("status-card",{key:"ti0:"+a+":"+s.id,attrs:{profile:t.profile,status:s}})})),t._v(" "),t.feedLoaded&&0==t.feed.length?e("p",{staticClass:"lead"},[t._v("No memories found :(")]):t._e()],2):1===t.tabIndex?e("div",{staticClass:"col-md-6 col-lg-6"},[e("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),e("h1",{staticClass:"font-default"},[t._v("My Memories")]),t._v(" "),e("p",{staticClass:"font-default lead"},[t._v("Posts I've liked from this day in previous years")]),t._v(" "),e("hr"),t._v(" "),t.likedLoaded?t._e():e("b-spinner"),t._v(" "),t._l(t.liked,(function(s,a){return e("status-card",{key:"ti1:"+a+":"+s.id,attrs:{profile:t.profile,status:s}})})),t._v(" "),t.likedLoaded&&0==t.liked.length?e("p",{staticClass:"lead"},[t._v("No memories found :(")]):t._e()],2):t._e(),t._v(" "),e("div",{staticClass:"col-md-2 col-lg-3"},[e("div",{staticClass:"nav flex-column nav-pills font-default"},[e("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(" "),e("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()])},i=[]},70201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.shadowStatus,"is-reblog":t.isReblog,"reblog-account":t.reblogAccount},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.shadowStatus}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.shadowStatus,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.shadowStatus,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=[]},69831:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},67153:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},55318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===a?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(a,i){return e("div",{on:{click:function(e){return t.lightbox(s,i)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[i].blurhash,src:t.getMediaSource(s,i)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===a?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===a?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===a?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[a].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[a].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[a].replies},on:{"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==a&&t.feed[a].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==a?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(a,e)},"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},i=[]},54309:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},82285:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},i=[]},27934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var a=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,a){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(a==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=a}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},i=[]},64394:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight}}):"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div",[t.status.sensitive?e("div",{staticClass:"border m-3 p-5 rounded-lg"},[t._m(1),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold mb-0"},[t._v("Sensitive Content")]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.status.spoiler_text&&t.status.spoiler_text.length?t.status.spoiler_text:"This post may contain sensitive content"))]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See post")])])]):t._e()]):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],1):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},44516:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[t.isReblog?e("div",{staticClass:"card-header bg-light border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center",staticStyle:{height:"10px"}},[e("a",{staticClass:"mx-2",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[e("img",{staticStyle:{"border-radius":"10px"},attrs:{src:t.reblogAccount.avatar,width:"24",height:"24",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticStyle:{"font-size":"12px","font-weight":"bold"}},[e("i",{staticClass:"far fa-retweet text-warning mr-1"}),t._v(" Reblogged by "),e("a",{staticClass:"text-dark",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[t._v("@"+t._s(t.reblogAccount.acct))])])])]):t._e(),t._v(" "),e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n "+t._s(t.status.account.acct)+"\n ")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n "+t._s(t.timeago(t.status.created_at))+"\n ")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)])},i=[]},51992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},16331:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},53577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}})]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},75274:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/groups/feed"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-layer-group"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.groups"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},21146:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n Sensitive Content\n ")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n "+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n ")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):[t.shouldPlay?[t.hasHls?e("video",{ref:"video",class:{fixedHeight:t.fixedHeight},staticStyle:{margin:"0"},attrs:{playsinline:"","webkit-playsinline":"",controls:"",autoplay:"false",poster:t.getPoster(t.status)}}):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{autoplay:"false",playsinline:"","webkit-playsinline":"",controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:e("div",{staticClass:"content-label-wrapper",style:{background:"linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.8)),url(".concat(t.getPoster(t.status),")"),backgroundSize:"cover"}},[e("div",{staticClass:"text-light content-label"},[e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-link btn-block btn-sm font-weight-bold",on:{click:function(e){return e.preventDefault(),t.handleShouldPlay.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-play fa-5x text-white"})])])])])]],2)},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},25890:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.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 n=i},35296:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},35518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=i},34857:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},49777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const n=i},93100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},14185:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const n=i},78071:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(25890),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},209:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(35296),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},96259:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(35518),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},48432:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(34857),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},22626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(49777),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},67621:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(93100),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},89598:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(14185),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},82212:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(51338),i=s(51703),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(1536);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,"045d18bb",null).exports},35547:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(59028),i=s(52548),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(86546);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},5787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(16286),i=s(80260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(68840);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},90414:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(82704),i=s(55597),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},20243:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(34727),i=s(88012),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(21883);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},72028:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(46098),i=s(93843),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},19138:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(44982),i=s(43509),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},49986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(32785),i=s(79577),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(67011);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},79110:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(74259),i=s(99369),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},84800:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(43047),i=s(6119),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},27821:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(99421),i=s(28934),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},50294:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(95728),i=s(33417),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},34719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(38888),i=s(42260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(88814);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},28772:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(54017),i=s(75223),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(99387);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},75938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(86943),i=s(42909),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},51703:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(74724),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},52548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(56987),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},80260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(50371),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},55597:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(84154),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},88012:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(3211),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},93843:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(24758),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},43509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85100),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},79577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(37844),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},99369:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(61746),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},6119:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(22434),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},28934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(99397),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},33417:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(6140),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},42260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(3223),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},75223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(79318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},42909:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(68910),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},51338:(t,e,s)=>{"use strict";s.r(e);var a=s(56007),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},59028:(t,e,s)=>{"use strict";s.r(e);var a=s(70201),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},16286:(t,e,s)=>{"use strict";s.r(e);var a=s(69831),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},82704:(t,e,s)=>{"use strict";s.r(e);var a=s(67153),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},34727:(t,e,s)=>{"use strict";s.r(e);var a=s(55318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},46098:(t,e,s)=>{"use strict";s.r(e);var a=s(54309),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},44982:(t,e,s)=>{"use strict";s.r(e);var a=s(82285),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},32785:(t,e,s)=>{"use strict";s.r(e);var a=s(27934),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},74259:(t,e,s)=>{"use strict";s.r(e);var a=s(64394),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},43047:(t,e,s)=>{"use strict";s.r(e);var a=s(44516),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},99421:(t,e,s)=>{"use strict";s.r(e);var a=s(51992),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},95728:(t,e,s)=>{"use strict";s.r(e);var a=s(16331),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},38888:(t,e,s)=>{"use strict";s.r(e);var a=s(53577),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},54017:(t,e,s)=>{"use strict";s.r(e);var a=s(75274),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86943:(t,e,s)=>{"use strict";s.r(e);var a=s(21146),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},1536:(t,e,s)=>{"use strict";s.r(e);var a=s(78071),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86546:(t,e,s)=>{"use strict";s.r(e);var a=s(209),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68840:(t,e,s)=>{"use strict";s.r(e);var a=s(96259),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},21883:(t,e,s)=>{"use strict";s.r(e);var a=s(48432),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},67011:(t,e,s)=>{"use strict";s.r(e);var a=s(22626),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},88814:(t,e,s)=>{"use strict";s.r(e);var a=s(67621),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},99387:(t,e,s)=>{"use strict";s.r(e);var a=s(89598),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},11220:()=>{},16052:()=>{},40295:()=>{},89858:()=>{},45187:()=>{},87919:()=>{},40264:()=>{},80434:()=>{},18053:()=>{}}]); \ No newline at end of file diff --git a/public/js/discover~myhashtags.chunk.25db2bcadb2836b5.js b/public/js/discover~myhashtags.chunk.4db4fe0961b3c34f.js similarity index 81% rename from public/js/discover~myhashtags.chunk.25db2bcadb2836b5.js rename to public/js/discover~myhashtags.chunk.4db4fe0961b3c34f.js index 3a9ee3b25..102f377f1 100644 --- a/public/js/discover~myhashtags.chunk.25db2bcadb2836b5.js +++ b/public/js/discover~myhashtags.chunk.4db4fe0961b3c34f.js @@ -1 +1 @@ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[1240],{64970:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>d});var a=s(5787),i=s(28772),o=s(35547),n=s(57103),r=s(59515),l=s(99681),c=s(13090);const d={components:{drawer:a.default,sidebar:i.default,"context-menu":n.default,"likes-modal":r.default,"shares-modal":l.default,"report-modal":c.default,"status-card":o.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],a=(s.favourited,s.favourites_count);this.feed[t].favourites_count=a+1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/favourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=a,e.feed[t].favourited=!1;var i=document.createElement("p");i.classList.add("text-left"),i.classList.add("mb-0"),i.innerHTML='We limit certain interactions to keep our community healthy and it appears that you have reached that limit. Please try again later.';var o=document.createElement("div");o.appendChild(i),429===s.response.status&&swal({title:"Too many requests",content:o,icon:"warning",buttons:{confirm:{text:"OK",value:!1,visible:!0,className:"bg-transparent primary",closeModal:!0}}}).then((function(t){"more"==t&&(location.href="/site/contact")}))}))},unlikeStatus:function(t){var e=this,s=this.feed[t],a=(s.favourited,s.favourites_count);this.feed[t].favourites_count=a-1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/unfavourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=a,e.feed[t].favourited=!1}))},shareStatus:function(t){var e=this,s=this.feed[t],a=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=a+1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/reblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=a,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,s=this.feed[t],a=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=a-1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/unreblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=a,e.feed[t].reblogged=!1}))},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(a){e.feed[t].bookmarked=!s.bookmarked})).catch((function(t){e.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))}}}},56987:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(20243),i=s(84800),o=s(79110),n=s(27821);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"post-content":o.default,"post-header":i.default,"post-reactions":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.shadowStatus.media_attachments||!this.shadowStatus.media_attachments.length)&&this.shadowStatus.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.shadowStatus.account.id==window._sharedData.user.id,this.shadowStatus.reply_count&&this.autoloadComments&&!1===this.shadowStatus.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},isReblog:{get:function(){return null!=this.status.reblog}},reblogAccount:{get:function(){return this.status.reblog?this.status.account:null}},shadowStatus:{get:function(){return this.status.reblog?this.status.reblog:this.status}}},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")}}}},50371:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:window._sharedData.user}}}},25054:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},84154:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(79288),i=s(50294),o=s(34719),n=s(72028),r=s(19138);const l={props:{status:{type:Object}},components:{VueTribute:a.default,ReadMore:i.default,ProfileHoverCard:o.default,CommentReplyForm:r.default,CommentReplies:n.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},24758:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(50294);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:a.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},85100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},49415:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status","profile"],data:function(){return{config:window.App.config,ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1,isDeleting:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){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/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;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(a){a?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var a=this,i=(t.account.username,t.id,""),o=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(a.$t("common.success"),a.$t("menu.modCWSuccess"),"success"),a.$emit("moderate","addcw"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(a.$t("common.success"),a.$t("menu.modRemoveCWSuccess"),"success"),a.$emit("moderate","remcw"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){a.$emit("moderate","unlist"),swal(a.$t("common.success"),a.$t("menu.modUnlistSuccess"),"success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){a.$emit("moderate","spammer"),swal(a.$t("common.success"),a.$t("menu.modMarkAsSpammerSuccess"),"success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}))}},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;this.isDeleting=!0,0!=this.ownerOrAdmin(t)&&swal({title:"Confirm Delete",text:"Are you sure you want to delete this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s?axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals(),e.isDeleting=!1})).catch((function(t){e.closeModals(),e.isDeleting=!1,swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")})):(e.closeModals(),e.isDeleting=!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()},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("delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))},editPost:function(t){this.closeModals(),this.$emit("edit",t)},handleMute:function(){var t=this;if(this.ctxMenuRelationship){var e=this.ctxMenuRelationship.muting;swal({title:e?"Confirm Unmute":"Confirm Mute",text:e?"Are you sure you want to unmute this account?":"Are you sure you want to mute this account?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){if(s){var a="/api/v1/accounts/".concat(t.status.account.id,e?"/unmute":"/mute");axios.post(a).then((function(e){t.closeModals(),t.$emit("muted",t.status),t.$store.commit("updateRelationship",[e.data])})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")}))}else t.closeModals()}))}},handleBlock:function(){var t=this;if(this.ctxMenuRelationship){var e=this.ctxMenuRelationship.blocking;swal({title:e?"Confirm Unblock":"Confirm Block",text:e?"Are you sure you want to unblock this account?":"Are you sure you want to block this account?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){if(s){var a="/api/v1/accounts/".concat(t.status.account.id,e?"/unblock":"/block");axios.post(a).then((function(e){t.closeModals(),t.$store.commit("updateRelationship",[e.data]),t.$emit("muted",t.status)})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")}))}else t.closeModals()}))}},handleUnfollow:function(){var t=this;this.ctxMenuRelationship&&swal({title:"Unfollow",text:"Are you sure you want to unfollow "+this.status.account.username+"?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(e){e?axios.post("/api/v1/accounts/".concat(t.status.account.id,"/unfollow")).then((function(e){t.closeModals(),t.$store.commit("updateRelationship",[e.data]),t.$emit("unfollow",t.status)})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")})):t.closeModals()}))}}}},37844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},getDiff:function(t){if(t==this.allHistory.length-1)return this.allHistory[this.allHistory.length-1].content;var e=document.createElement("div");return r.forEach((function(t){var s=t.added?"green":t.removed?"red":"grey",a=document.createElement("span");(a.style.color=s,console.log(t.value,t.value.length),t.added)?t.value.trim().length?a.appendChild(document.createTextNode(t.value)):a.appendChild(document.createTextNode("·")):a.appendChild(document.createTextNode(t.value));e.appendChild(a)})),e.innerHTML},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),a=Math.floor(s/63072e3);return a<0?"0s":a>=1?a+(1==a?" year":" years")+" ago":(a=Math.floor(s/604800))>=1?a+(1==a?" week":" weeks")+" ago":(a=Math.floor(s/86400))>=1?a+(1==a?" day":" days")+" ago":(a=Math.floor(s/3600))>=1?a+(1==a?" hour":" hours")+" ago":(a=Math.floor(s/60))>=1?a+(1==a?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},67975:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(25100),i=s(29787),o=s(24848);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},61746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(18634),i=s(50294),o=s(75938);const n={props:["status"],components:{"read-more":i.default,"video-player":o.default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},22434:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(34719),i=s(49986);const o={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1},isReblog:{type:Boolean,default:!1},reblogAccount:{type:Object}},components:{"profile-hover-card":a.default,"edit-history-modal":i.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfileById:function(t){var e=this;this.$nextTick((function(){e.$router.push({name:"profile",path:"/i/web/profile/".concat(t),params:{id:t,cachedUser:e.profile}})}))},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")},openEditModal:function(){this.$refs.editModal.open()}}}},99397:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(20243),i=s(34719);const o={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},6140:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var a=document.createElement("a");a.href=e.getAttribute("href"),s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},85679:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(25100),i=s(29787),o=s(24848);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchShares:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchShares(),this.$refs.sharesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},3223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(50294),i=s(95353);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=o(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=o(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==o(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:a.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[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 a=document.createElement("a");a.href=t.profile.url,s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},79318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(95353),i=s(90414);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=o(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=o(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==o(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,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:{UpdateAvatar:i.default},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},68910:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(64945),i=(s(34076),s(34330)),o=s.n(i),n=(s(10706),s(71241));const r={props:["status","fixedHeight"],data:function(){return{shouldPlay:!1,hasHls:void 0,hlsConfig:window.App.config.features.hls,liveSyncDurationCount:7,isHlsSupported:!1,isP2PSupported:!1,engine:void 0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{handleShouldPlay:function(){var t=this;this.shouldPlay=!0,this.isHlsSupported=this.hlsConfig.enabled&&a.default.isSupported(),this.isP2PSupported=this.hlsConfig.enabled&&this.hlsConfig.p2p&&n.Engine.isSupported(),this.$nextTick((function(){t.init()}))},init:function(){var t,e=this;!this.status.sensitive&&null!==(t=this.status.media_attachments[0])&&void 0!==t&&t.hls_manifest&&this.isHlsSupported?(this.hasHls=!0,this.$nextTick((function(){e.initHls()}))):this.hasHls=!1},initHls:function(){var t;if(this.isP2PSupported){var e={loader:{trackerAnnounce:[this.hlsConfig.tracker],rtcConfig:{iceServers:[{urls:[this.hlsConfig.ice]}]}}},s=new n.Engine(e);this.hlsConfig.p2p_debug&&(s.on("peer_connect",(function(t){return console.log("peer_connect",t.id,t.remoteAddress)})),s.on("peer_close",(function(t){return console.log("peer_close",t)})),s.on("segment_loaded",(function(t,e){return console.log("segment_loaded from",e?"peer ".concat(e):"HTTP",t.url)}))),t=s.createLoaderClass()}else t=a.default.DefaultConfig.loader;var i=this.$refs.video,r=this.status.media_attachments[0].hls_manifest,l=(new(o())(i,{captions:{active:!0,update:!0}}),new a.default({liveSyncDurationCount:this.liveSyncDurationCount,loader:t})),c=this;(0,n.initHlsJsPlayer)(l),l.loadSource(r),l.attachMedia(i),l.on(a.default.Events.MANIFEST_PARSED,(function(t,e){this.hlsConfig.debug&&(console.log(t),console.log(e));var s={},n=l.levels.map((function(t){return t.height}));this.hlsConfig.debug&&console.log(n),n.unshift(0),s.quality={default:0,options:n,forced:!0,onChange:function(t){return c.updateQuality(t)}},s.i18n={qualityLabel:{0:"Auto"}},l.on(a.default.Events.LEVEL_SWITCHED,(function(t,e){var s=document.querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");l.autoLevelEnabled?s.innerHTML="Auto (".concat(l.levels[e.level].height,"p)"):s.innerHTML="Auto"}));new(o())(i,s)}))},updateQuality:function(t){var e=this;0===t?window.hls.currentLevel=-1:window.hls.levels.forEach((function(s,a){s.height===t&&(e.hlsConfig.debug&&console.log("Found quality match with "+t),window.hls.currentLevel=a)}))},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},4818:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-my-hashtags-component"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-6 col-lg-6"},[e("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),e("h1",{staticClass:"font-default"},[t._v("My Hashtags")]),t._v(" "),e("p",{staticClass:"font-default lead"},[t._v("Posts from hashtags you follow")]),t._v(" "),e("hr"),t._v(" "),t.isLoading?e("b-spinner"):t._e(),t._v(" "),t._l(t.feed,(function(s,a){return t.isLoading?t._e():e("status-card",{key:"ti1:"+a+":"+s.id,attrs:{profile:t.profile,status:s},on:{like:function(e){return t.likeStatus(a)},unlike:function(e){return t.unlikeStatus(a)},share:function(e){return t.shareStatus(a)},unshare:function(e){return t.unshareStatus(a)},menu:function(e){return t.openContextMenu(a)},"mod-tools":function(e){return t.handleModTools(a)},"likes-modal":function(e){return t.openLikesModal(a)},"shares-modal":function(e){return t.openSharesModal(a)},bookmark:function(e){return t.handleBookmark(a)}}})})),t._v(" "),!t.isLoading&&t.tagsLoaded&&0==t.feed.length?e("p",{staticClass:"lead"},[t._v("No hashtags found :(")]):t._e()],2),t._v(" "),e("div",{staticClass:"col-md-2 col-lg-3"},[e("div",{staticClass:"nav flex-column nav-pills font-default"},t._l(t.tags,(function(s,a){return e("a",{staticClass:"nav-link",class:{active:t.tagIndex==a},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTag(a)}}},[t._v("\n\t\t\t\t\t\t"+t._s(s)+"\n\t\t\t\t\t")])})),0)])])]):t._e(),t._v(" "),t.showMenu?e("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.profile},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport}}):t._e(),t._v(" "),t.showLikesModal?e("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.profile}}):t._e(),t._v(" "),t.showSharesModal?e("shares-modal",{ref:"sharesModal",attrs:{status:t.sharesModalPost,profile:t.profile}}):t._e(),t._v(" "),e("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)},i=[]},70201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.shadowStatus,"is-reblog":t.isReblog,"reblog-account":t.reblogAccount},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.shadowStatus}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.shadowStatus,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.shadowStatus,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=[]},69831:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},82960:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?e("div",{staticClass:"card shadow-none rounded-lg border my-4"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?e("div",[t.status.content_text.length<=140?e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?e("div",[e("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[e("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?e("p",{staticClass:"mt-3 mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),e("p",{staticClass:"text-right mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?e("div",[e("div",{staticClass:"my-4 text-center"},[e("b-spinner"),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-4x text-success"},[e("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-3x text-danger"},[e("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},67153:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},55318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===a?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(a,i){return e("div",{on:{click:function(e){return t.lightbox(s,i)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[i].blurhash,src:t.getMediaSource(s,i)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===a?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===a?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===a?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[a].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[a].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[a].replies},on:{"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==a&&t.feed[a].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==a?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(a,e)},"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},i=[]},54309:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},82285:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},i=[]},4215:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item d-flex p-0 m-0"},[e("div",{staticClass:"border-right p-2 w-50"},[t.status?e("a",{staticClass:"menu-option",attrs:{href:t.status.url},on:{click:function(e){return e.preventDefault(),t.ctxMenuGoToPost()}}},[e("div",{staticClass:"action-icon-link"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"fal fa-images fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v(t._s(t.$t("menu.viewPost")))])])]):t._e()]),t._v(" "),e("div",{staticClass:"p-2 flex-grow-1"},[t.status?e("a",{staticClass:"menu-option",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.ctxMenuGoToProfile()}}},[e("div",{staticClass:"action-icon-link"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"fal fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v(t._s(t.$t("menu.viewProfile")))])])]):t._e()])]):t._e(),t._v(" "),t.ctxMenuRelationship?[t.ctxMenuRelationship.following?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleUnfollow.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("profile.unfollow"))+"\n ")]):e("div",{staticClass:"d-flex"},[e("div",{staticClass:"p-3 border-right w-50 text-center"},[e("a",{staticClass:"small menu-option text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleMute.apply(null,arguments)}}},[e("div",{staticClass:"action-icon-link-inline"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"far",class:[t.ctxMenuRelationship.muting?"fa-eye":"fa-eye-slash"]})]),t._v(" "),e("p",{staticClass:"text-muted mb-0"},[t._v(t._s(t.ctxMenuRelationship.muting?"Unmute":"Mute"))])])])]),t._v(" "),e("div",{staticClass:"p-3 w-50"},[e("a",{staticClass:"small menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleBlock.apply(null,arguments)}}},[e("div",{staticClass:"action-icon-link-inline"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"far fa-shield-alt"})]),t._v(" "),e("p",{staticClass:"text-danger mb-0"},[t._v("Block")])])])])])]:t._e(),t._v(" "),"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuShare()}}},[t._v("\n "+t._s(t.$t("common.share"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxModMenuShow()}}},[t._v("\n "+t._s(t.$t("menu.moderationTools"))+"\n ")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuReportPost()}}},[t._v("\n "+t._s(t.$t("menu.report"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.archivePost(t.status)}}},[t._v("\n "+t._s(t.$t("menu.archive"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.unarchivePost(t.status)}}},[t._v("\n "+t._s(t.$t("menu.unarchive"))+"\n ")]):t._e(),t._v(" "),t.config.ab.pue&&t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.editPost(t.status)}}},[t._v("\n Edit\n ")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deletePost(t.status)}}},[t.isDeleting?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("div",[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e(),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeCtxMenu()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])],2)]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center menu-option text-danger"},[t._v("\n "+t._s(t.$t("menu.moderationTools"))+"\n ")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("\n "+t._s(t.$t("menu.selectOneOption"))+"\n ")]),t._v(" "),e("p"),t._v(" "),e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"unlist")}}},[t._v("\n "+t._s(t.$t("menu.unlistFromTimelines"))+"\n ")]),t._v(" "),t.status.sensitive?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"remcw")}}},[t._v("\n "+t._s(t.$t("menu.removeCW"))+"\n ")]):e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"addcw")}}},[t._v("\n "+t._s(t.$t("menu.addCW"))+"\n ")]),t._v(" "),e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"spammer")}}},[t._v("\n "+t._s(t.$t("menu.markAsSpammer"))),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxModMenuClose()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuCopyLink()}}},[t._v("\n "+t._s(t.$t("common.copyLink"))+"\n ")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("a",{staticClass:"list-group-item menu-option",on:{click:function(e){return e.preventDefault(),t.ctxMenuEmbed()}}},[t._v("\n "+t._s(t.$t("menu.embed"))+"\n ")]):t._e(),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeCtxShareMenu()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowCaption=s.concat([null])):o>-1&&(t.ctxEmbedShowCaption=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.showCaption"))+"\n ")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowLikes=s.concat([null])):o>-1&&(t.ctxEmbedShowLikes=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.showLikes"))+"\n ")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedCompactMode=s.concat([null])):o>-1&&(t.ctxEmbedCompactMode=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.compactMode"))+"\n ")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},27934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var a=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,a){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(a==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=a}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},i=[]},7971:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}]},92162:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[null==s.follows||s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},79911:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight}}):"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div",[t.status.sensitive?e("div",{staticClass:"border m-3 p-5 rounded-lg"},[t._m(1),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold mb-0"},[t._v("Sensitive Content")]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.status.spoiler_text&&t.status.spoiler_text.length?t.status.spoiler_text:"This post may contain sensitive content"))]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See post")])])]):t._e()]):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],1):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},44516:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[t.isReblog?e("div",{staticClass:"card-header bg-light border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center",staticStyle:{height:"10px"}},[e("a",{staticClass:"mx-2",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[e("img",{staticStyle:{"border-radius":"10px"},attrs:{src:t.reblogAccount.avatar,width:"24",height:"24",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticStyle:{"font-size":"12px","font-weight":"bold"}},[e("i",{staticClass:"far fa-retweet text-warning mr-1"}),t._v(" Reblogged by "),e("a",{staticClass:"text-dark",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[t._v("@"+t._s(t.reblogAccount.acct))])])])]):t._e(),t._v(" "),e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n "+t._s(t.status.account.acct)+"\n ")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n "+t._s(t.timeago(t.status.created_at))+"\n ")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)])},i=[]},51992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},16331:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},66295:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"sharesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},i=[]},53577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}})]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},67725:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},21146:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n Sensitive Content\n ")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n "+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n ")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):[t.shouldPlay?[t.hasHls?e("video",{ref:"video",class:{fixedHeight:t.fixedHeight},staticStyle:{margin:"0"},attrs:{playsinline:"","webkit-playsinline":"",controls:"",autoplay:"false",poster:t.getPoster(t.status)}}):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{autoplay:"false",playsinline:"","webkit-playsinline":"",controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:e("div",{staticClass:"content-label-wrapper",style:{background:"linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.8)),url(".concat(t.getPoster(t.status),")"),backgroundSize:"cover"}},[e("div",{staticClass:"text-light content-label"},[e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-link btn-block btn-sm font-weight-bold",on:{click:function(e){return e.preventDefault(),t.handleShouldPlay.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-play fa-5x text-white"})])])])])]],2)},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},76793:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(76798),i=s.n(a)()((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 o=i},35296:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const o=i},35518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const o=i},34857:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const o=i},26689:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".menu-option[data-v-be1fd05a]{color:var(--dark);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;text-decoration:none}.list-group-item[data-v-be1fd05a]{border-color:var(--border-color)}.action-icon-link[data-v-be1fd05a]{display:flex;flex-direction:column}.action-icon-link .icon[data-v-be1fd05a]{margin-bottom:5px;opacity:.5}.action-icon-link p[data-v-be1fd05a]{font-size:11px;font-weight:600}.action-icon-link-inline[data-v-be1fd05a]{align-items:center;display:flex;flex-direction:row;gap:8px;justify-content:center}.action-icon-link-inline p[data-v-be1fd05a]{font-weight:700}",""]);const o=i},49777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const o=i},93100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const o=i},54788:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const o=i},86428:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),o=s(76793),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},209:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),o=s(35296),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},96259:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),o=s(35518),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},48432:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),o=s(34857),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},54328:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),o=s(26689),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},22626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),o=s(49777),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},67621:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),o=s(93100),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},5323:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),o=s(54788),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},57326:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(17671),i=s(65077),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(13259);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,"84db52ca",null).exports},35547:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(59028),i=s(52548),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(86546);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},5787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(16286),i=s(80260),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(68840);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},13090:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(54229),i=s(13514),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},90414:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(82704),i=s(55597),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},20243:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(34727),i=s(88012),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(21883);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},72028:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(46098),i=s(93843),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},19138:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(44982),i=s(43509),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},57103:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(56765),i=s(64672),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(74811);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,"be1fd05a",null).exports},49986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(32785),i=s(79577),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(67011);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},29787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(68329);const i=(0,s(14486).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},59515:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(4607),i=s(38972),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},79110:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(5458),i=s(99369),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},84800:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(43047),i=s(6119),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},27821:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(99421),i=s(28934),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},50294:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(95728),i=s(33417),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},99681:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(9836),i=s(22350),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},34719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(38888),i=s(42260),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(88814);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},28772:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(75754),i=s(75223),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(68338);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},75938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(86943),i=s(42909),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},65077:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(64970),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},52548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(56987),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},80260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(50371),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},13514:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(25054),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},55597:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(84154),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},88012:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(3211),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},93843:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(24758),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},43509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(85100),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},64672:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(49415),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},79577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(37844),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},38972:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(67975),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},99369:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(61746),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},6119:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(22434),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},28934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(99397),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},33417:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(6140),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},22350:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(85679),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},42260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(3223),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},75223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(79318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},42909:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(68910),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},17671:(t,e,s)=>{"use strict";s.r(e);var a=s(4818),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},59028:(t,e,s)=>{"use strict";s.r(e);var a=s(70201),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},16286:(t,e,s)=>{"use strict";s.r(e);var a=s(69831),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},54229:(t,e,s)=>{"use strict";s.r(e);var a=s(82960),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},82704:(t,e,s)=>{"use strict";s.r(e);var a=s(67153),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},34727:(t,e,s)=>{"use strict";s.r(e);var a=s(55318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},46098:(t,e,s)=>{"use strict";s.r(e);var a=s(54309),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},44982:(t,e,s)=>{"use strict";s.r(e);var a=s(82285),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},56765:(t,e,s)=>{"use strict";s.r(e);var a=s(4215),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},32785:(t,e,s)=>{"use strict";s.r(e);var a=s(27934),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68329:(t,e,s)=>{"use strict";s.r(e);var a=s(7971),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},4607:(t,e,s)=>{"use strict";s.r(e);var a=s(92162),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},5458:(t,e,s)=>{"use strict";s.r(e);var a=s(79911),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},43047:(t,e,s)=>{"use strict";s.r(e);var a=s(44516),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},99421:(t,e,s)=>{"use strict";s.r(e);var a=s(51992),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},95728:(t,e,s)=>{"use strict";s.r(e);var a=s(16331),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},9836:(t,e,s)=>{"use strict";s.r(e);var a=s(66295),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},38888:(t,e,s)=>{"use strict";s.r(e);var a=s(53577),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},75754:(t,e,s)=>{"use strict";s.r(e);var a=s(67725),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86943:(t,e,s)=>{"use strict";s.r(e);var a=s(21146),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},13259:(t,e,s)=>{"use strict";s.r(e);var a=s(86428),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86546:(t,e,s)=>{"use strict";s.r(e);var a=s(209),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68840:(t,e,s)=>{"use strict";s.r(e);var a=s(96259),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},21883:(t,e,s)=>{"use strict";s.r(e);var a=s(48432),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},74811:(t,e,s)=>{"use strict";s.r(e);var a=s(54328),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},67011:(t,e,s)=>{"use strict";s.r(e);var a=s(22626),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},88814:(t,e,s)=>{"use strict";s.r(e);var a=s(67621),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68338:(t,e,s)=>{"use strict";s.r(e);var a=s(5323),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},11220:()=>{},16052:()=>{},40295:()=>{},89858:()=>{},45187:()=>{},87919:()=>{},40264:()=>{},80434:()=>{},18053:()=>{}}]); \ No newline at end of file +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[1240],{64970:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>d});var a=s(5787),i=s(28772),o=s(35547),n=s(57103),r=s(59515),l=s(99681),c=s(13090);const d={components:{drawer:a.default,sidebar:i.default,"context-menu":n.default,"likes-modal":r.default,"shares-modal":l.default,"report-modal":c.default,"status-card":o.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],a=(s.favourited,s.favourites_count);this.feed[t].favourites_count=a+1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/favourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=a,e.feed[t].favourited=!1;var i=document.createElement("p");i.classList.add("text-left"),i.classList.add("mb-0"),i.innerHTML='We limit certain interactions to keep our community healthy and it appears that you have reached that limit. Please try again later.';var o=document.createElement("div");o.appendChild(i),429===s.response.status&&swal({title:"Too many requests",content:o,icon:"warning",buttons:{confirm:{text:"OK",value:!1,visible:!0,className:"bg-transparent primary",closeModal:!0}}}).then((function(t){"more"==t&&(location.href="/site/contact")}))}))},unlikeStatus:function(t){var e=this,s=this.feed[t],a=(s.favourited,s.favourites_count);this.feed[t].favourites_count=a-1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/unfavourite").then((function(t){})).catch((function(s){e.feed[t].favourites_count=a,e.feed[t].favourited=!1}))},shareStatus:function(t){var e=this,s=this.feed[t],a=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=a+1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/reblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=a,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,s=this.feed[t],a=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=a-1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/unreblog").then((function(t){})).catch((function(s){e.feed[t].reblogs_count=a,e.feed[t].reblogged=!1}))},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(a){e.feed[t].bookmarked=!s.bookmarked})).catch((function(t){e.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))}}}},56987:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(20243),i=s(84800),o=s(79110),n=s(27821);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"post-content":o.default,"post-header":i.default,"post-reactions":n.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,showCommentDrawer:!1,isReblogging:!1,isBookmarking:!1,owner:!1,admin:!1,license:!1}},mounted:function(){var t=this;this.license=!(!this.shadowStatus.media_attachments||!this.shadowStatus.media_attachments.length)&&this.shadowStatus.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.shadowStatus.account.id==window._sharedData.user.id,this.shadowStatus.reply_count&&this.autoloadComments&&!1===this.shadowStatus.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},isReblog:{get:function(){return null!=this.status.reblog}},reblogAccount:{get:function(){return this.status.reblog?this.status.account:null}},shadowStatus:{get:function(){return this.status.reblog?this.status.reblog:this.status}}},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")}}}},50371:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:window._sharedData.user}}}},25054:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object,default:{}}},data:function(){return{statusId:void 0,tabIndex:0,showFull:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){var t=this;this.$refs.modal.hide(),setTimeout((function(){t.tabIndex=0}),1e3)},handleReason:function(t){var e=this;this.tabIndex=2,axios.post("/i/report",{id:this.status.id,report:t,type:"post"}).then((function(t){e.tabIndex=3})).catch((function(t){e.tabIndex=5}))}}}},84154:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(79288),i=s(50294),o=s(34719),n=s(72028),r=s(19138);const l={props:{status:{type:Object}},components:{VueTribute:a.default,ReadMore:i.default,ProfileHoverCard:o.default,CommentReplyForm:r.default,CommentReplies:n.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},24758:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(50294);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:a.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},85100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},49415:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status","profile"],data:function(){return{config:window.App.config,ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1,isDeleting:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){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/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;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(a){a?axios.post("/i/report/",{report:t,type:"post",id:s}).then((function(t){e.closeCtxMenu(),swal(e.$t("menu.reportSent"),e.$t("menu.reportSentText"),"success")})).catch((function(t){swal(e.$t("common.oops"),e.$t("menu.reportSentError"),"error")})):e.closeCtxMenu()}))},closeModals:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.hide(),this.$refs.ctxShareModal.hide(),this.$refs.ctxEmbedModal.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxReportOther.hide(),this.$refs.ctxConfirm.hide()},openCtxStatusModal:function(){this.closeModals(),this.$refs.ctxStatusModal.show()},openConfirmModal:function(){this.closeModals(),this.$refs.ctxConfirm.show()},closeConfirmModal:function(){this.closeModals(),this.confirmModalTitle="Are you sure?",this.confirmModalType=!1,this.confirmModalIdentifer=null},confirmModalConfirm:function(){var t=this;if("post.delete"===this.confirmModalType)axios.post("/i/delete",{type:"status",item:this.confirmModalIdentifer}).then((function(e){t.feed=t.feed.filter((function(e){return e.id!=t.confirmModalIdentifer})),t.closeConfirmModal()})).catch((function(e){t.closeConfirmModal(),swal(t.$t("common.error"),t.$t("common.errorMsg"),"error")}));this.closeConfirmModal()},confirmModalCancel:function(){this.closeConfirmModal()},moderatePost:function(t,e,s){var a=this,i=(t.account.username,t.id,""),o=this;switch(e){case"addcw":i=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(a.$t("common.success"),a.$t("menu.modCWSuccess"),"success"),a.$emit("moderate","addcw"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"remcw":i=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){swal(a.$t("common.success"),a.$t("menu.modRemoveCWSuccess"),"success"),a.$emit("moderate","remcw"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"unlist":i=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){a.$emit("moderate","unlist"),swal(a.$t("common.success"),a.$t("menu.modUnlistSuccess"),"success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}));break;case"spammer":i=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:i,icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s&&axios.post("/api/v2/moderator/action",{action:e,item_id:t.id,item_type:"status"}).then((function(t){a.$emit("moderate","spammer"),swal(a.$t("common.success"),a.$t("menu.modMarkAsSpammerSuccess"),"success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(a.$t("common.error"),a.$t("common.errorMsg"),"error")}))}))}},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;this.isDeleting=!0,0!=this.ownerOrAdmin(t)&&swal({title:"Confirm Delete",text:"Are you sure you want to delete this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s?axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals(),e.isDeleting=!1})).catch((function(t){e.closeModals(),e.isDeleting=!1,swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")})):(e.closeModals(),e.isDeleting=!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()},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("delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))},editPost:function(t){this.closeModals(),this.$emit("edit",t)},handleMute:function(){var t=this;if(this.ctxMenuRelationship){var e=this.ctxMenuRelationship.muting;swal({title:e?"Confirm Unmute":"Confirm Mute",text:e?"Are you sure you want to unmute this account?":"Are you sure you want to mute this account?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){if(s){var a="/api/v1/accounts/".concat(t.status.account.id,e?"/unmute":"/mute");axios.post(a).then((function(e){t.closeModals(),t.$emit("muted",t.status),t.$store.commit("updateRelationship",[e.data])})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")}))}else t.closeModals()}))}},handleBlock:function(){var t=this;if(this.ctxMenuRelationship){var e=this.ctxMenuRelationship.blocking;swal({title:e?"Confirm Unblock":"Confirm Block",text:e?"Are you sure you want to unblock this account?":"Are you sure you want to block this account?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){if(s){var a="/api/v1/accounts/".concat(t.status.account.id,e?"/unblock":"/block");axios.post(a).then((function(e){t.closeModals(),t.$store.commit("updateRelationship",[e.data]),t.$emit("muted",t.status)})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")}))}else t.closeModals()}))}},handleUnfollow:function(){var t=this;this.ctxMenuRelationship&&swal({title:"Unfollow",text:"Are you sure you want to unfollow "+this.status.account.username+"?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(e){e?axios.post("/api/v1/accounts/".concat(t.status.account.id,"/unfollow")).then((function(e){t.closeModals(),t.$store.commit("updateRelationship",[e.data]),t.$emit("unfollow",t.status)})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")})):t.closeModals()}))}}}},37844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},getDiff:function(t){if(t==this.allHistory.length-1)return this.allHistory[this.allHistory.length-1].content;var e=document.createElement("div");return r.forEach((function(t){var s=t.added?"green":t.removed?"red":"grey",a=document.createElement("span");(a.style.color=s,console.log(t.value,t.value.length),t.added)?t.value.trim().length?a.appendChild(document.createTextNode(t.value)):a.appendChild(document.createTextNode("·")):a.appendChild(document.createTextNode(t.value));e.appendChild(a)})),e.innerHTML},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),a=Math.floor(s/63072e3);return a<0?"0s":a>=1?a+(1==a?" year":" years")+" ago":(a=Math.floor(s/604800))>=1?a+(1==a?" week":" weeks")+" ago":(a=Math.floor(s/86400))>=1?a+(1==a?" day":" days")+" ago":(a=Math.floor(s/3600))>=1?a+(1==a?" hour":" hours")+" ago":(a=Math.floor(s/60))>=1?a+(1==a?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},67975:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(25100),i=s(29787),o=s(24848);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},61746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(18634),i=s(50294),o=s(75938);const n={props:["status"],components:{"read-more":i.default,"video-player":o.default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},22434:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(34719),i=s(49986);const o={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1},isReblog:{type:Boolean,default:!1},reblogAccount:{type:Object}},components:{"profile-hover-card":a.default,"edit-history-modal":i.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfileById:function(t){var e=this;this.$nextTick((function(){e.$router.push({name:"profile",path:"/i/web/profile/".concat(t),params:{id:t,cachedUser:e.profile}})}))},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")},openEditModal:function(){this.$refs.editModal.open()}}}},99397:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(20243),i=s(34719);const o={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},6140:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var a=document.createElement("a");a.href=e.getAttribute("href"),s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},85679:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(25100),i=s(29787),o=s(24848);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:a.default,"like-placeholder":i.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchShares:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchShares(),this.$refs.sharesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},3223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(50294),i=s(95353);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=o(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=o(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==o(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:a.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[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 a=document.createElement("a");a.href=t.profile.url,s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},79318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(95353),i=s(90414);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=o(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=o(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==o(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,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:{UpdateAvatar:i.default},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},68910:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(64945),i=(s(34076),s(34330)),o=s.n(i),n=(s(10706),s(71241));const r={props:["status","fixedHeight"],data:function(){return{shouldPlay:!1,hasHls:void 0,hlsConfig:window.App.config.features.hls,liveSyncDurationCount:7,isHlsSupported:!1,isP2PSupported:!1,engine:void 0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{handleShouldPlay:function(){var t=this;this.shouldPlay=!0,this.isHlsSupported=this.hlsConfig.enabled&&a.default.isSupported(),this.isP2PSupported=this.hlsConfig.enabled&&this.hlsConfig.p2p&&n.Engine.isSupported(),this.$nextTick((function(){t.init()}))},init:function(){var t,e=this;!this.status.sensitive&&null!==(t=this.status.media_attachments[0])&&void 0!==t&&t.hls_manifest&&this.isHlsSupported?(this.hasHls=!0,this.$nextTick((function(){e.initHls()}))):this.hasHls=!1},initHls:function(){var t;if(this.isP2PSupported){var e={loader:{trackerAnnounce:[this.hlsConfig.tracker],rtcConfig:{iceServers:[{urls:[this.hlsConfig.ice]}]}}},s=new n.Engine(e);this.hlsConfig.p2p_debug&&(s.on("peer_connect",(function(t){return console.log("peer_connect",t.id,t.remoteAddress)})),s.on("peer_close",(function(t){return console.log("peer_close",t)})),s.on("segment_loaded",(function(t,e){return console.log("segment_loaded from",e?"peer ".concat(e):"HTTP",t.url)}))),t=s.createLoaderClass()}else t=a.default.DefaultConfig.loader;var i=this.$refs.video,r=this.status.media_attachments[0].hls_manifest,l=(new(o())(i,{captions:{active:!0,update:!0}}),new a.default({liveSyncDurationCount:this.liveSyncDurationCount,loader:t})),c=this;(0,n.initHlsJsPlayer)(l),l.loadSource(r),l.attachMedia(i),l.on(a.default.Events.MANIFEST_PARSED,(function(t,e){this.hlsConfig.debug&&(console.log(t),console.log(e));var s={},n=l.levels.map((function(t){return t.height}));this.hlsConfig.debug&&console.log(n),n.unshift(0),s.quality={default:0,options:n,forced:!0,onChange:function(t){return c.updateQuality(t)}},s.i18n={qualityLabel:{0:"Auto"}},l.on(a.default.Events.LEVEL_SWITCHED,(function(t,e){var s=document.querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");l.autoLevelEnabled?s.innerHTML="Auto (".concat(l.levels[e.level].height,"p)"):s.innerHTML="Auto"}));new(o())(i,s)}))},updateQuality:function(t){var e=this;0===t?window.hls.currentLevel=-1:window.hls.levels.forEach((function(s,a){s.height===t&&(e.hlsConfig.debug&&console.log("Found quality match with "+t),window.hls.currentLevel=a)}))},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},4818:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-my-hashtags-component"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-6 col-lg-6"},[e("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),e("h1",{staticClass:"font-default"},[t._v("My Hashtags")]),t._v(" "),e("p",{staticClass:"font-default lead"},[t._v("Posts from hashtags you follow")]),t._v(" "),e("hr"),t._v(" "),t.isLoading?e("b-spinner"):t._e(),t._v(" "),t._l(t.feed,(function(s,a){return t.isLoading?t._e():e("status-card",{key:"ti1:"+a+":"+s.id,attrs:{profile:t.profile,status:s},on:{like:function(e){return t.likeStatus(a)},unlike:function(e){return t.unlikeStatus(a)},share:function(e){return t.shareStatus(a)},unshare:function(e){return t.unshareStatus(a)},menu:function(e){return t.openContextMenu(a)},"mod-tools":function(e){return t.handleModTools(a)},"likes-modal":function(e){return t.openLikesModal(a)},"shares-modal":function(e){return t.openSharesModal(a)},bookmark:function(e){return t.handleBookmark(a)}}})})),t._v(" "),!t.isLoading&&t.tagsLoaded&&0==t.feed.length?e("p",{staticClass:"lead"},[t._v("No hashtags found :(")]):t._e()],2),t._v(" "),e("div",{staticClass:"col-md-2 col-lg-3"},[e("div",{staticClass:"nav flex-column nav-pills font-default"},t._l(t.tags,(function(s,a){return e("a",{staticClass:"nav-link",class:{active:t.tagIndex==a},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTag(a)}}},[t._v("\n\t\t\t\t\t\t"+t._s(s)+"\n\t\t\t\t\t")])})),0)])])]):t._e(),t._v(" "),t.showMenu?e("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.profile},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport}}):t._e(),t._v(" "),t.showLikesModal?e("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.profile}}):t._e(),t._v(" "),t.showSharesModal?e("shares-modal",{ref:"sharesModal",attrs:{status:t.sharesModalPost,profile:t.profile}}):t._e(),t._v(" "),e("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)},i=[]},70201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.shadowStatus,"is-reblog":t.isReblog,"reblog-account":t.reblogAccount},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.shadowStatus}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.shadowStatus,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.shadowStatus,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=[]},69831:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},82960:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?e("div",{staticClass:"card shadow-none rounded-lg border my-4"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?e("div",[t.status.content_text.length<=140?e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?e("div",[e("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[e("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?e("p",{staticClass:"mt-3 mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),e("p",{staticClass:"text-right mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?e("div",[e("div",{staticClass:"my-4 text-center"},[e("b-spinner"),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-4x text-success"},[e("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-3x text-danger"},[e("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},i=[]},67153:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},55318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===a?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(a,i){return e("div",{on:{click:function(e){return t.lightbox(s,i)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[i].blurhash,src:t.getMediaSource(s,i)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===a?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===a?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===a?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[a].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[a].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[a].replies},on:{"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==a&&t.feed[a].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==a?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(a,e)},"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},i=[]},54309:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},82285:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},i=[]},4215:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item d-flex p-0 m-0"},[e("div",{staticClass:"border-right p-2 w-50"},[t.status?e("a",{staticClass:"menu-option",attrs:{href:t.status.url},on:{click:function(e){return e.preventDefault(),t.ctxMenuGoToPost()}}},[e("div",{staticClass:"action-icon-link"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"fal fa-images fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v(t._s(t.$t("menu.viewPost")))])])]):t._e()]),t._v(" "),e("div",{staticClass:"p-2 flex-grow-1"},[t.status?e("a",{staticClass:"menu-option",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.ctxMenuGoToProfile()}}},[e("div",{staticClass:"action-icon-link"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"fal fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v(t._s(t.$t("menu.viewProfile")))])])]):t._e()])]):t._e(),t._v(" "),t.ctxMenuRelationship?[t.ctxMenuRelationship.following?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleUnfollow.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("profile.unfollow"))+"\n ")]):e("div",{staticClass:"d-flex"},[e("div",{staticClass:"p-3 border-right w-50 text-center"},[e("a",{staticClass:"small menu-option text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleMute.apply(null,arguments)}}},[e("div",{staticClass:"action-icon-link-inline"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"far",class:[t.ctxMenuRelationship.muting?"fa-eye":"fa-eye-slash"]})]),t._v(" "),e("p",{staticClass:"text-muted mb-0"},[t._v(t._s(t.ctxMenuRelationship.muting?"Unmute":"Mute"))])])])]),t._v(" "),e("div",{staticClass:"p-3 w-50"},[e("a",{staticClass:"small menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleBlock.apply(null,arguments)}}},[e("div",{staticClass:"action-icon-link-inline"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"far fa-shield-alt"})]),t._v(" "),e("p",{staticClass:"text-danger mb-0"},[t._v("Block")])])])])])]:t._e(),t._v(" "),"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuShare()}}},[t._v("\n "+t._s(t.$t("common.share"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxModMenuShow()}}},[t._v("\n "+t._s(t.$t("menu.moderationTools"))+"\n ")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuReportPost()}}},[t._v("\n "+t._s(t.$t("menu.report"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.archivePost(t.status)}}},[t._v("\n "+t._s(t.$t("menu.archive"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.unarchivePost(t.status)}}},[t._v("\n "+t._s(t.$t("menu.unarchive"))+"\n ")]):t._e(),t._v(" "),t.config.ab.pue&&t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.editPost(t.status)}}},[t._v("\n Edit\n ")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deletePost(t.status)}}},[t.isDeleting?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("div",[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e(),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeCtxMenu()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])],2)]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center menu-option text-danger"},[t._v("\n "+t._s(t.$t("menu.moderationTools"))+"\n ")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("\n "+t._s(t.$t("menu.selectOneOption"))+"\n ")]),t._v(" "),e("p"),t._v(" "),e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"unlist")}}},[t._v("\n "+t._s(t.$t("menu.unlistFromTimelines"))+"\n ")]),t._v(" "),t.status.sensitive?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"remcw")}}},[t._v("\n "+t._s(t.$t("menu.removeCW"))+"\n ")]):e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"addcw")}}},[t._v("\n "+t._s(t.$t("menu.addCW"))+"\n ")]),t._v(" "),e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"spammer")}}},[t._v("\n "+t._s(t.$t("menu.markAsSpammer"))),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxModMenuClose()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuCopyLink()}}},[t._v("\n "+t._s(t.$t("common.copyLink"))+"\n ")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("a",{staticClass:"list-group-item menu-option",on:{click:function(e){return e.preventDefault(),t.ctxMenuEmbed()}}},[t._v("\n "+t._s(t.$t("menu.embed"))+"\n ")]):t._e(),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeCtxShareMenu()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowCaption=s.concat([null])):o>-1&&(t.ctxEmbedShowCaption=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowCaption=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.showCaption"))+"\n ")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedShowLikes=s.concat([null])):o>-1&&(t.ctxEmbedShowLikes=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowLikes=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.showLikes"))+"\n ")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,i=!!a.checked;if(Array.isArray(s)){var o=t._i(s,null);a.checked?o<0&&(t.ctxEmbedCompactMode=s.concat([null])):o>-1&&(t.ctxEmbedCompactMode=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedCompactMode=i}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.compactMode"))+"\n ")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},27934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var a=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,a){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(a==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=a}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},i=[]},7971:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}]},92162:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[null==s.follows||s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},i=[]},64394:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight}}):"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div",[t.status.sensitive?e("div",{staticClass:"border m-3 p-5 rounded-lg"},[t._m(1),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold mb-0"},[t._v("Sensitive Content")]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.status.spoiler_text&&t.status.spoiler_text.length?t.status.spoiler_text:"This post may contain sensitive content"))]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See post")])])]):t._e()]):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],1):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},44516:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[t.isReblog?e("div",{staticClass:"card-header bg-light border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center",staticStyle:{height:"10px"}},[e("a",{staticClass:"mx-2",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[e("img",{staticStyle:{"border-radius":"10px"},attrs:{src:t.reblogAccount.avatar,width:"24",height:"24",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticStyle:{"font-size":"12px","font-weight":"bold"}},[e("i",{staticClass:"far fa-retweet text-warning mr-1"}),t._v(" Reblogged by "),e("a",{staticClass:"text-dark",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[t._v("@"+t._s(t.reblogAccount.acct))])])])]):t._e(),t._v(" "),e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n "+t._s(t.status.account.acct)+"\n ")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n "+t._s(t.timeago(t.status.created_at))+"\n ")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)])},i=[]},51992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},16331:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},66295:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"sharesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,a){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===a?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(a)}}},[t.isUpdatingFollowState&&t.followStateIndex===a?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},i=[]},53577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}})]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},75274:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/groups/feed"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-layer-group"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.groups"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},21146:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n Sensitive Content\n ")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n "+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n ")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):[t.shouldPlay?[t.hasHls?e("video",{ref:"video",class:{fixedHeight:t.fixedHeight},staticStyle:{margin:"0"},attrs:{playsinline:"","webkit-playsinline":"",controls:"",autoplay:"false",poster:t.getPoster(t.status)}}):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{autoplay:"false",playsinline:"","webkit-playsinline":"",controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:e("div",{staticClass:"content-label-wrapper",style:{background:"linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.8)),url(".concat(t.getPoster(t.status),")"),backgroundSize:"cover"}},[e("div",{staticClass:"text-light content-label"},[e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-link btn-block btn-sm font-weight-bold",on:{click:function(e){return e.preventDefault(),t.handleShouldPlay.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-play fa-5x text-white"})])])])])]],2)},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},76793:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(76798),i=s.n(a)()((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 o=i},35296:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const o=i},35518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const o=i},34857:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const o=i},26689:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".menu-option[data-v-be1fd05a]{color:var(--dark);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;text-decoration:none}.list-group-item[data-v-be1fd05a]{border-color:var(--border-color)}.action-icon-link[data-v-be1fd05a]{display:flex;flex-direction:column}.action-icon-link .icon[data-v-be1fd05a]{margin-bottom:5px;opacity:.5}.action-icon-link p[data-v-be1fd05a]{font-size:11px;font-weight:600}.action-icon-link-inline[data-v-be1fd05a]{align-items:center;display:flex;flex-direction:row;gap:8px;justify-content:center}.action-icon-link-inline p[data-v-be1fd05a]{font-weight:700}",""]);const o=i},49777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const o=i},93100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const o=i},14185:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const o=i},86428:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),o=s(76793),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},209:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),o=s(35296),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},96259:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),o=s(35518),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},48432:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),o=s(34857),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},54328:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),o=s(26689),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},22626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),o=s(49777),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},67621:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),o=s(93100),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},89598:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),o=s(14185),n={insert:"head",singleton:!1};i()(o.default,n);const r=o.default.locals||{}},57326:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(17671),i=s(65077),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(13259);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,"84db52ca",null).exports},35547:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(59028),i=s(52548),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(86546);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},5787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(16286),i=s(80260),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(68840);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},13090:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(54229),i=s(13514),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},90414:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(82704),i=s(55597),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},20243:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(34727),i=s(88012),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(21883);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},72028:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(46098),i=s(93843),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},19138:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(44982),i=s(43509),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},57103:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(56765),i=s(64672),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(74811);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,"be1fd05a",null).exports},49986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(32785),i=s(79577),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(67011);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},29787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(68329);const i=(0,s(14486).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},59515:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(4607),i=s(38972),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},79110:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(74259),i=s(99369),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},84800:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(43047),i=s(6119),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},27821:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(99421),i=s(28934),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},50294:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(95728),i=s(33417),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},99681:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(9836),i=s(22350),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},34719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(38888),i=s(42260),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(88814);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},28772:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(54017),i=s(75223),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);s(99387);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},75938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(86943),i=s(42909),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const n=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},65077:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(64970),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},52548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(56987),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},80260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(50371),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},13514:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(25054),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},55597:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(84154),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},88012:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(3211),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},93843:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(24758),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},43509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(85100),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},64672:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(49415),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},79577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(37844),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},38972:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(67975),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},99369:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(61746),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},6119:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(22434),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},28934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(99397),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},33417:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(6140),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},22350:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(85679),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},42260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(3223),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},75223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(79318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},42909:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(68910),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const o=a.default},17671:(t,e,s)=>{"use strict";s.r(e);var a=s(4818),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},59028:(t,e,s)=>{"use strict";s.r(e);var a=s(70201),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},16286:(t,e,s)=>{"use strict";s.r(e);var a=s(69831),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},54229:(t,e,s)=>{"use strict";s.r(e);var a=s(82960),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},82704:(t,e,s)=>{"use strict";s.r(e);var a=s(67153),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},34727:(t,e,s)=>{"use strict";s.r(e);var a=s(55318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},46098:(t,e,s)=>{"use strict";s.r(e);var a=s(54309),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},44982:(t,e,s)=>{"use strict";s.r(e);var a=s(82285),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},56765:(t,e,s)=>{"use strict";s.r(e);var a=s(4215),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},32785:(t,e,s)=>{"use strict";s.r(e);var a=s(27934),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68329:(t,e,s)=>{"use strict";s.r(e);var a=s(7971),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},4607:(t,e,s)=>{"use strict";s.r(e);var a=s(92162),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},74259:(t,e,s)=>{"use strict";s.r(e);var a=s(64394),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},43047:(t,e,s)=>{"use strict";s.r(e);var a=s(44516),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},99421:(t,e,s)=>{"use strict";s.r(e);var a=s(51992),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},95728:(t,e,s)=>{"use strict";s.r(e);var a=s(16331),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},9836:(t,e,s)=>{"use strict";s.r(e);var a=s(66295),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},38888:(t,e,s)=>{"use strict";s.r(e);var a=s(53577),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},54017:(t,e,s)=>{"use strict";s.r(e);var a=s(75274),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86943:(t,e,s)=>{"use strict";s.r(e);var a=s(21146),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},13259:(t,e,s)=>{"use strict";s.r(e);var a=s(86428),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86546:(t,e,s)=>{"use strict";s.r(e);var a=s(209),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68840:(t,e,s)=>{"use strict";s.r(e);var a=s(96259),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},21883:(t,e,s)=>{"use strict";s.r(e);var a=s(48432),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},74811:(t,e,s)=>{"use strict";s.r(e);var a=s(54328),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},67011:(t,e,s)=>{"use strict";s.r(e);var a=s(22626),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},88814:(t,e,s)=>{"use strict";s.r(e);var a=s(67621),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},99387:(t,e,s)=>{"use strict";s.r(e);var a=s(89598),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},11220:()=>{},16052:()=>{},40295:()=>{},89858:()=>{},45187:()=>{},87919:()=>{},40264:()=>{},80434:()=>{},18053:()=>{}}]); \ No newline at end of file diff --git a/public/js/discover~serverfeed.chunk.4eb5e50270522771.js b/public/js/discover~serverfeed.chunk.b6ace26463e28a19.js similarity index 75% rename from public/js/discover~serverfeed.chunk.4eb5e50270522771.js rename to public/js/discover~serverfeed.chunk.b6ace26463e28a19.js index b7e83e7b1..52cb430dc 100644 --- a/public/js/discover~serverfeed.chunk.4eb5e50270522771.js +++ b/public/js/discover~serverfeed.chunk.b6ace26463e28a19.js @@ -1 +1 @@ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[3688],{90304:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(5787),i=s(28772),n=s(35547);const o={components:{drawer:a.default,sidebar:i.default,"status-card":n.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])}}}},56987:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(20243),i=s(84800),n=s(79110),o=s(27821);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"post-content":n.default,"post-header":i.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.shadowStatus.media_attachments||!this.shadowStatus.media_attachments.length)&&this.shadowStatus.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.shadowStatus.account.id==window._sharedData.user.id,this.shadowStatus.reply_count&&this.autoloadComments&&!1===this.shadowStatus.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},isReblog:{get:function(){return null!=this.status.reblog}},reblogAccount:{get:function(){return this.status.reblog?this.status.account:null}},shadowStatus:{get:function(){return this.status.reblog?this.status.reblog:this.status}}},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")}}}},50371:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:window._sharedData.user}}}},84154:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(79288),i=s(50294),n=s(34719),o=s(72028),r=s(19138);const l={props:{status:{type:Object}},components:{VueTribute:a.default,ReadMore:i.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,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},24758:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(50294);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:a.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},85100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},37844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},getDiff:function(t){if(t==this.allHistory.length-1)return this.allHistory[this.allHistory.length-1].content;var e=document.createElement("div");return r.forEach((function(t){var s=t.added?"green":t.removed?"red":"grey",a=document.createElement("span");(a.style.color=s,console.log(t.value,t.value.length),t.added)?t.value.trim().length?a.appendChild(document.createTextNode(t.value)):a.appendChild(document.createTextNode("·")):a.appendChild(document.createTextNode(t.value));e.appendChild(a)})),e.innerHTML},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),a=Math.floor(s/63072e3);return a<0?"0s":a>=1?a+(1==a?" year":" years")+" ago":(a=Math.floor(s/604800))>=1?a+(1==a?" week":" weeks")+" ago":(a=Math.floor(s/86400))>=1?a+(1==a?" day":" days")+" ago":(a=Math.floor(s/3600))>=1?a+(1==a?" hour":" hours")+" ago":(a=Math.floor(s/60))>=1?a+(1==a?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},61746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(18634),i=s(50294),n=s(75938);const o={props:["status"],components:{"read-more":i.default,"video-player":n.default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},22434:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(34719),i=s(49986);const n={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1},isReblog:{type:Boolean,default:!1},reblogAccount:{type:Object}},components:{"profile-hover-card":a.default,"edit-history-modal":i.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfileById:function(t){var e=this;this.$nextTick((function(){e.$router.push({name:"profile",path:"/i/web/profile/".concat(t),params:{id:t,cachedUser:e.profile}})}))},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")},openEditModal:function(){this.$refs.editModal.open()}}}},99397:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(20243),i=s(34719);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},6140:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var a=document.createElement("a");a.href=e.getAttribute("href"),s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},3223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(50294),i=s(95353);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:a.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[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 a=document.createElement("a");a.href=t.profile.url,s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},79318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(95353),i=s(90414);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,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:{UpdateAvatar:i.default},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},68910:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(64945),i=(s(34076),s(34330)),n=s.n(i),o=(s(10706),s(71241));const r={props:["status","fixedHeight"],data:function(){return{shouldPlay:!1,hasHls:void 0,hlsConfig:window.App.config.features.hls,liveSyncDurationCount:7,isHlsSupported:!1,isP2PSupported:!1,engine:void 0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{handleShouldPlay:function(){var t=this;this.shouldPlay=!0,this.isHlsSupported=this.hlsConfig.enabled&&a.default.isSupported(),this.isP2PSupported=this.hlsConfig.enabled&&this.hlsConfig.p2p&&o.Engine.isSupported(),this.$nextTick((function(){t.init()}))},init:function(){var t,e=this;!this.status.sensitive&&null!==(t=this.status.media_attachments[0])&&void 0!==t&&t.hls_manifest&&this.isHlsSupported?(this.hasHls=!0,this.$nextTick((function(){e.initHls()}))):this.hasHls=!1},initHls:function(){var t;if(this.isP2PSupported){var e={loader:{trackerAnnounce:[this.hlsConfig.tracker],rtcConfig:{iceServers:[{urls:[this.hlsConfig.ice]}]}}},s=new o.Engine(e);this.hlsConfig.p2p_debug&&(s.on("peer_connect",(function(t){return console.log("peer_connect",t.id,t.remoteAddress)})),s.on("peer_close",(function(t){return console.log("peer_close",t)})),s.on("segment_loaded",(function(t,e){return console.log("segment_loaded from",e?"peer ".concat(e):"HTTP",t.url)}))),t=s.createLoaderClass()}else t=a.default.DefaultConfig.loader;var i=this.$refs.video,r=this.status.media_attachments[0].hls_manifest,l=(new(n())(i,{captions:{active:!0,update:!0}}),new a.default({liveSyncDurationCount:this.liveSyncDurationCount,loader:t})),c=this;(0,o.initHlsJsPlayer)(l),l.loadSource(r),l.attachMedia(i),l.on(a.default.Events.MANIFEST_PARSED,(function(t,e){this.hlsConfig.debug&&(console.log(t),console.log(e));var s={},o=l.levels.map((function(t){return t.height}));this.hlsConfig.debug&&console.log(o),o.unshift(0),s.quality={default:0,options:o,forced:!0,onChange:function(t){return c.updateQuality(t)}},s.i18n={qualityLabel:{0:"Auto"}},l.on(a.default.Events.LEVEL_SWITCHED,(function(t,e){var s=document.querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");l.autoLevelEnabled?s.innerHTML="Auto (".concat(l.levels[e.level].height,"p)"):s.innerHTML="Auto"}));new(n())(i,s)}))},updateQuality:function(t){var e=this;0===t?window.hls.currentLevel=-1:window.hls.levels.forEach((function(s,a){s.height===t&&(e.hlsConfig.debug&&console.log("Found quality match with "+t),window.hls.currentLevel=a)}))},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},327:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-serverfeeds-component"},[e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-6 col-lg-6"},[e("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),e("h1",{staticClass:"font-default"},[t._v("Server Timelines")]),t._v(" "),e("p",{staticClass:"font-default lead"},[t._v("Browse timelines of a specific instance")]),t._v(" "),e("hr"),t._v(" "),t.isLoading&&!t.initialTab?e("b-spinner"):t._e(),t._v(" "),t._l(t.feed,(function(s,a){return t.isLoading?t._e():e("status-card",{key:"ti1:"+a+":"+s.id,attrs:{profile:t.profile,status:s}})})),t._v(" "),t.initialTab||t.isLoading||0!=t.feed.length?t._e():e("p",{staticClass:"lead"},[t._v("No posts found :(")]),t._v(" "),!0===t.initialTab?e("div",["allowlist"==t.config.server.mode?e("p",{staticClass:"lead"},[t._v("Select an instance from the menu")]):t._e()]):t._e()],2),t._v(" "),e("div",{staticClass:"col-md-2 col-lg-3"},["allowlist"===t.config.server.mode?e("div",{staticClass:"nav flex-column nav-pills font-default"},t._l(t.domains,(function(s,a){return e("a",{staticClass:"nav-link",class:{active:t.tagIndex==a},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTag(a)}}},[t._v("\n\t\t\t\t\t\t"+t._s(s)+"\n\t\t\t\t\t")])})),0):t._e()])])])])},i=[]},70201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.shadowStatus,"is-reblog":t.isReblog,"reblog-account":t.reblogAccount},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.shadowStatus}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.shadowStatus,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.shadowStatus,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=[]},69831:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},67153:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},55318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===a?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(a,i){return e("div",{on:{click:function(e){return t.lightbox(s,i)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[i].blurhash,src:t.getMediaSource(s,i)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===a?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===a?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===a?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[a].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[a].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[a].replies},on:{"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==a&&t.feed[a].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==a?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(a,e)},"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},i=[]},54309:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},82285:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},i=[]},27934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var a=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,a){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(a==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=a}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},i=[]},79911:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight}}):"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div",[t.status.sensitive?e("div",{staticClass:"border m-3 p-5 rounded-lg"},[t._m(1),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold mb-0"},[t._v("Sensitive Content")]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.status.spoiler_text&&t.status.spoiler_text.length?t.status.spoiler_text:"This post may contain sensitive content"))]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See post")])])]):t._e()]):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],1):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},44516:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[t.isReblog?e("div",{staticClass:"card-header bg-light border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center",staticStyle:{height:"10px"}},[e("a",{staticClass:"mx-2",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[e("img",{staticStyle:{"border-radius":"10px"},attrs:{src:t.reblogAccount.avatar,width:"24",height:"24",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticStyle:{"font-size":"12px","font-weight":"bold"}},[e("i",{staticClass:"far fa-retweet text-warning mr-1"}),t._v(" Reblogged by "),e("a",{staticClass:"text-dark",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[t._v("@"+t._s(t.reblogAccount.acct))])])])]):t._e(),t._v(" "),e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n "+t._s(t.status.account.acct)+"\n ")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n "+t._s(t.timeago(t.status.created_at))+"\n ")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)])},i=[]},51992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},16331:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},53577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}})]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},67725:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},21146:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n Sensitive Content\n ")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n "+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n ")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):[t.shouldPlay?[t.hasHls?e("video",{ref:"video",class:{fixedHeight:t.fixedHeight},staticStyle:{margin:"0"},attrs:{playsinline:"","webkit-playsinline":"",controls:"",autoplay:"false",poster:t.getPoster(t.status)}}):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{autoplay:"false",playsinline:"","webkit-playsinline":"",controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:e("div",{staticClass:"content-label-wrapper",style:{background:"linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.8)),url(".concat(t.getPoster(t.status),")"),backgroundSize:"cover"}},[e("div",{staticClass:"text-light content-label"},[e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-link btn-block btn-sm font-weight-bold",on:{click:function(e){return e.preventDefault(),t.handleShouldPlay.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-play fa-5x text-white"})])])])])]],2)},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},2622:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.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 n=i},35296:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},35518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=i},34857:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},49777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const n=i},93100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},54788:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const n=i},96091:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(2622),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},209:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(35296),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},96259:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(35518),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},48432:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(34857),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},22626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(49777),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},67621:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(93100),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},5323:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(54788),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},55232:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(974),i=s(41507),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(96800);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,"8ad9eef0",null).exports},35547:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(59028),i=s(52548),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(86546);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},5787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(16286),i=s(80260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(68840);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},90414:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(82704),i=s(55597),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},20243:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(34727),i=s(88012),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(21883);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},72028:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(46098),i=s(93843),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},19138:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(44982),i=s(43509),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},49986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(32785),i=s(79577),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(67011);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},79110:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(5458),i=s(99369),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},84800:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(43047),i=s(6119),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},27821:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(99421),i=s(28934),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},50294:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(95728),i=s(33417),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},34719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(38888),i=s(42260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(88814);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},28772:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(75754),i=s(75223),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(68338);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},75938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(86943),i=s(42909),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},41507:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(90304),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},52548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(56987),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},80260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(50371),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},55597:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(84154),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},88012:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(3211),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},93843:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(24758),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},43509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85100),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},79577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(37844),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},99369:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(61746),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},6119:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(22434),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},28934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(99397),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},33417:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(6140),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},42260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(3223),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},75223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(79318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},42909:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(68910),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},974:(t,e,s)=>{"use strict";s.r(e);var a=s(327),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},59028:(t,e,s)=>{"use strict";s.r(e);var a=s(70201),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},16286:(t,e,s)=>{"use strict";s.r(e);var a=s(69831),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},82704:(t,e,s)=>{"use strict";s.r(e);var a=s(67153),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},34727:(t,e,s)=>{"use strict";s.r(e);var a=s(55318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},46098:(t,e,s)=>{"use strict";s.r(e);var a=s(54309),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},44982:(t,e,s)=>{"use strict";s.r(e);var a=s(82285),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},32785:(t,e,s)=>{"use strict";s.r(e);var a=s(27934),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},5458:(t,e,s)=>{"use strict";s.r(e);var a=s(79911),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},43047:(t,e,s)=>{"use strict";s.r(e);var a=s(44516),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},99421:(t,e,s)=>{"use strict";s.r(e);var a=s(51992),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},95728:(t,e,s)=>{"use strict";s.r(e);var a=s(16331),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},38888:(t,e,s)=>{"use strict";s.r(e);var a=s(53577),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},75754:(t,e,s)=>{"use strict";s.r(e);var a=s(67725),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86943:(t,e,s)=>{"use strict";s.r(e);var a=s(21146),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},96800:(t,e,s)=>{"use strict";s.r(e);var a=s(96091),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86546:(t,e,s)=>{"use strict";s.r(e);var a=s(209),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68840:(t,e,s)=>{"use strict";s.r(e);var a=s(96259),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},21883:(t,e,s)=>{"use strict";s.r(e);var a=s(48432),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},67011:(t,e,s)=>{"use strict";s.r(e);var a=s(22626),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},88814:(t,e,s)=>{"use strict";s.r(e);var a=s(67621),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68338:(t,e,s)=>{"use strict";s.r(e);var a=s(5323),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},11220:()=>{},16052:()=>{},40295:()=>{},89858:()=>{},45187:()=>{},87919:()=>{},40264:()=>{},80434:()=>{},18053:()=>{}}]); \ No newline at end of file +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[3688],{90304:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(5787),i=s(28772),n=s(35547);const o={components:{drawer:a.default,sidebar:i.default,"status-card":n.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])}}}},56987:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(20243),i=s(84800),n=s(79110),o=s(27821);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"post-content":n.default,"post-header":i.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.shadowStatus.media_attachments||!this.shadowStatus.media_attachments.length)&&this.shadowStatus.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.shadowStatus.account.id==window._sharedData.user.id,this.shadowStatus.reply_count&&this.autoloadComments&&!1===this.shadowStatus.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},isReblog:{get:function(){return null!=this.status.reblog}},reblogAccount:{get:function(){return this.status.reblog?this.status.account:null}},shadowStatus:{get:function(){return this.status.reblog?this.status.reblog:this.status}}},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")}}}},50371:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:window._sharedData.user}}}},84154:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(79288),i=s(50294),n=s(34719),o=s(72028),r=s(19138);const l={props:{status:{type:Object}},components:{VueTribute:a.default,ReadMore:i.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,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},24758:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(50294);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:a.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},85100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},37844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},getDiff:function(t){if(t==this.allHistory.length-1)return this.allHistory[this.allHistory.length-1].content;var e=document.createElement("div");return r.forEach((function(t){var s=t.added?"green":t.removed?"red":"grey",a=document.createElement("span");(a.style.color=s,console.log(t.value,t.value.length),t.added)?t.value.trim().length?a.appendChild(document.createTextNode(t.value)):a.appendChild(document.createTextNode("·")):a.appendChild(document.createTextNode(t.value));e.appendChild(a)})),e.innerHTML},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),a=Math.floor(s/63072e3);return a<0?"0s":a>=1?a+(1==a?" year":" years")+" ago":(a=Math.floor(s/604800))>=1?a+(1==a?" week":" weeks")+" ago":(a=Math.floor(s/86400))>=1?a+(1==a?" day":" days")+" ago":(a=Math.floor(s/3600))>=1?a+(1==a?" hour":" hours")+" ago":(a=Math.floor(s/60))>=1?a+(1==a?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},61746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(18634),i=s(50294),n=s(75938);const o={props:["status"],components:{"read-more":i.default,"video-player":n.default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},22434:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(34719),i=s(49986);const n={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1},isReblog:{type:Boolean,default:!1},reblogAccount:{type:Object}},components:{"profile-hover-card":a.default,"edit-history-modal":i.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfileById:function(t){var e=this;this.$nextTick((function(){e.$router.push({name:"profile",path:"/i/web/profile/".concat(t),params:{id:t,cachedUser:e.profile}})}))},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")},openEditModal:function(){this.$refs.editModal.open()}}}},99397:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(20243),i=s(34719);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},6140:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var a=document.createElement("a");a.href=e.getAttribute("href"),s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},3223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(50294),i=s(95353);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:a.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[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 a=document.createElement("a");a.href=t.profile.url,s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},79318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(95353),i=s(90414);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,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:{UpdateAvatar:i.default},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},68910:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(64945),i=(s(34076),s(34330)),n=s.n(i),o=(s(10706),s(71241));const r={props:["status","fixedHeight"],data:function(){return{shouldPlay:!1,hasHls:void 0,hlsConfig:window.App.config.features.hls,liveSyncDurationCount:7,isHlsSupported:!1,isP2PSupported:!1,engine:void 0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{handleShouldPlay:function(){var t=this;this.shouldPlay=!0,this.isHlsSupported=this.hlsConfig.enabled&&a.default.isSupported(),this.isP2PSupported=this.hlsConfig.enabled&&this.hlsConfig.p2p&&o.Engine.isSupported(),this.$nextTick((function(){t.init()}))},init:function(){var t,e=this;!this.status.sensitive&&null!==(t=this.status.media_attachments[0])&&void 0!==t&&t.hls_manifest&&this.isHlsSupported?(this.hasHls=!0,this.$nextTick((function(){e.initHls()}))):this.hasHls=!1},initHls:function(){var t;if(this.isP2PSupported){var e={loader:{trackerAnnounce:[this.hlsConfig.tracker],rtcConfig:{iceServers:[{urls:[this.hlsConfig.ice]}]}}},s=new o.Engine(e);this.hlsConfig.p2p_debug&&(s.on("peer_connect",(function(t){return console.log("peer_connect",t.id,t.remoteAddress)})),s.on("peer_close",(function(t){return console.log("peer_close",t)})),s.on("segment_loaded",(function(t,e){return console.log("segment_loaded from",e?"peer ".concat(e):"HTTP",t.url)}))),t=s.createLoaderClass()}else t=a.default.DefaultConfig.loader;var i=this.$refs.video,r=this.status.media_attachments[0].hls_manifest,l=(new(n())(i,{captions:{active:!0,update:!0}}),new a.default({liveSyncDurationCount:this.liveSyncDurationCount,loader:t})),c=this;(0,o.initHlsJsPlayer)(l),l.loadSource(r),l.attachMedia(i),l.on(a.default.Events.MANIFEST_PARSED,(function(t,e){this.hlsConfig.debug&&(console.log(t),console.log(e));var s={},o=l.levels.map((function(t){return t.height}));this.hlsConfig.debug&&console.log(o),o.unshift(0),s.quality={default:0,options:o,forced:!0,onChange:function(t){return c.updateQuality(t)}},s.i18n={qualityLabel:{0:"Auto"}},l.on(a.default.Events.LEVEL_SWITCHED,(function(t,e){var s=document.querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");l.autoLevelEnabled?s.innerHTML="Auto (".concat(l.levels[e.level].height,"p)"):s.innerHTML="Auto"}));new(n())(i,s)}))},updateQuality:function(t){var e=this;0===t?window.hls.currentLevel=-1:window.hls.levels.forEach((function(s,a){s.height===t&&(e.hlsConfig.debug&&console.log("Found quality match with "+t),window.hls.currentLevel=a)}))},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},327:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-serverfeeds-component"},[e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-6 col-lg-6"},[e("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),e("h1",{staticClass:"font-default"},[t._v("Server Timelines")]),t._v(" "),e("p",{staticClass:"font-default lead"},[t._v("Browse timelines of a specific instance")]),t._v(" "),e("hr"),t._v(" "),t.isLoading&&!t.initialTab?e("b-spinner"):t._e(),t._v(" "),t._l(t.feed,(function(s,a){return t.isLoading?t._e():e("status-card",{key:"ti1:"+a+":"+s.id,attrs:{profile:t.profile,status:s}})})),t._v(" "),t.initialTab||t.isLoading||0!=t.feed.length?t._e():e("p",{staticClass:"lead"},[t._v("No posts found :(")]),t._v(" "),!0===t.initialTab?e("div",["allowlist"==t.config.server.mode?e("p",{staticClass:"lead"},[t._v("Select an instance from the menu")]):t._e()]):t._e()],2),t._v(" "),e("div",{staticClass:"col-md-2 col-lg-3"},["allowlist"===t.config.server.mode?e("div",{staticClass:"nav flex-column nav-pills font-default"},t._l(t.domains,(function(s,a){return e("a",{staticClass:"nav-link",class:{active:t.tagIndex==a},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTag(a)}}},[t._v("\n\t\t\t\t\t\t"+t._s(s)+"\n\t\t\t\t\t")])})),0):t._e()])])])])},i=[]},70201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.shadowStatus,"is-reblog":t.isReblog,"reblog-account":t.reblogAccount},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.shadowStatus}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.shadowStatus,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.shadowStatus,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=[]},69831:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},67153:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},55318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===a?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(a,i){return e("div",{on:{click:function(e){return t.lightbox(s,i)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[i].blurhash,src:t.getMediaSource(s,i)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===a?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===a?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===a?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[a].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[a].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[a].replies},on:{"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==a&&t.feed[a].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==a?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(a,e)},"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},i=[]},54309:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},82285:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},i=[]},27934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var a=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,a){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(a==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=a}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},i=[]},64394:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight}}):"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div",[t.status.sensitive?e("div",{staticClass:"border m-3 p-5 rounded-lg"},[t._m(1),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold mb-0"},[t._v("Sensitive Content")]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.status.spoiler_text&&t.status.spoiler_text.length?t.status.spoiler_text:"This post may contain sensitive content"))]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See post")])])]):t._e()]):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],1):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},44516:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[t.isReblog?e("div",{staticClass:"card-header bg-light border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center",staticStyle:{height:"10px"}},[e("a",{staticClass:"mx-2",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[e("img",{staticStyle:{"border-radius":"10px"},attrs:{src:t.reblogAccount.avatar,width:"24",height:"24",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticStyle:{"font-size":"12px","font-weight":"bold"}},[e("i",{staticClass:"far fa-retweet text-warning mr-1"}),t._v(" Reblogged by "),e("a",{staticClass:"text-dark",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[t._v("@"+t._s(t.reblogAccount.acct))])])])]):t._e(),t._v(" "),e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n "+t._s(t.status.account.acct)+"\n ")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n "+t._s(t.timeago(t.status.created_at))+"\n ")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)])},i=[]},51992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},16331:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},53577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}})]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},75274:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/groups/feed"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-layer-group"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.groups"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},21146:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n Sensitive Content\n ")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n "+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n ")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):[t.shouldPlay?[t.hasHls?e("video",{ref:"video",class:{fixedHeight:t.fixedHeight},staticStyle:{margin:"0"},attrs:{playsinline:"","webkit-playsinline":"",controls:"",autoplay:"false",poster:t.getPoster(t.status)}}):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{autoplay:"false",playsinline:"","webkit-playsinline":"",controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:e("div",{staticClass:"content-label-wrapper",style:{background:"linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.8)),url(".concat(t.getPoster(t.status),")"),backgroundSize:"cover"}},[e("div",{staticClass:"text-light content-label"},[e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-link btn-block btn-sm font-weight-bold",on:{click:function(e){return e.preventDefault(),t.handleShouldPlay.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-play fa-5x text-white"})])])])])]],2)},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},2622:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.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 n=i},35296:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},35518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=i},34857:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},49777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const n=i},93100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},14185:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const n=i},96091:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(2622),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},209:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(35296),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},96259:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(35518),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},48432:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(34857),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},22626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(49777),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},67621:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(93100),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},89598:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(14185),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},55232:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(974),i=s(41507),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(96800);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,"8ad9eef0",null).exports},35547:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(59028),i=s(52548),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(86546);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},5787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(16286),i=s(80260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(68840);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},90414:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(82704),i=s(55597),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},20243:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(34727),i=s(88012),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(21883);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},72028:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(46098),i=s(93843),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},19138:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(44982),i=s(43509),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},49986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(32785),i=s(79577),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(67011);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},79110:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(74259),i=s(99369),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},84800:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(43047),i=s(6119),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},27821:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(99421),i=s(28934),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},50294:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(95728),i=s(33417),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},34719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(38888),i=s(42260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(88814);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},28772:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(54017),i=s(75223),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(99387);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},75938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(86943),i=s(42909),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},41507:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(90304),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},52548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(56987),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},80260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(50371),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},55597:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(84154),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},88012:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(3211),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},93843:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(24758),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},43509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85100),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},79577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(37844),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},99369:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(61746),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},6119:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(22434),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},28934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(99397),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},33417:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(6140),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},42260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(3223),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},75223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(79318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},42909:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(68910),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},974:(t,e,s)=>{"use strict";s.r(e);var a=s(327),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},59028:(t,e,s)=>{"use strict";s.r(e);var a=s(70201),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},16286:(t,e,s)=>{"use strict";s.r(e);var a=s(69831),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},82704:(t,e,s)=>{"use strict";s.r(e);var a=s(67153),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},34727:(t,e,s)=>{"use strict";s.r(e);var a=s(55318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},46098:(t,e,s)=>{"use strict";s.r(e);var a=s(54309),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},44982:(t,e,s)=>{"use strict";s.r(e);var a=s(82285),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},32785:(t,e,s)=>{"use strict";s.r(e);var a=s(27934),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},74259:(t,e,s)=>{"use strict";s.r(e);var a=s(64394),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},43047:(t,e,s)=>{"use strict";s.r(e);var a=s(44516),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},99421:(t,e,s)=>{"use strict";s.r(e);var a=s(51992),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},95728:(t,e,s)=>{"use strict";s.r(e);var a=s(16331),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},38888:(t,e,s)=>{"use strict";s.r(e);var a=s(53577),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},54017:(t,e,s)=>{"use strict";s.r(e);var a=s(75274),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86943:(t,e,s)=>{"use strict";s.r(e);var a=s(21146),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},96800:(t,e,s)=>{"use strict";s.r(e);var a=s(96091),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86546:(t,e,s)=>{"use strict";s.r(e);var a=s(209),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68840:(t,e,s)=>{"use strict";s.r(e);var a=s(96259),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},21883:(t,e,s)=>{"use strict";s.r(e);var a=s(48432),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},67011:(t,e,s)=>{"use strict";s.r(e);var a=s(22626),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},88814:(t,e,s)=>{"use strict";s.r(e);var a=s(67621),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},99387:(t,e,s)=>{"use strict";s.r(e);var a=s(89598),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},11220:()=>{},16052:()=>{},40295:()=>{},89858:()=>{},45187:()=>{},87919:()=>{},40264:()=>{},80434:()=>{},18053:()=>{}}]); \ No newline at end of file diff --git a/public/js/discover~settings.chunk.3f3acf6b2d7f41a2.js b/public/js/discover~settings.chunk.31f5865465e89899.js similarity index 76% rename from public/js/discover~settings.chunk.3f3acf6b2d7f41a2.js rename to public/js/discover~settings.chunk.31f5865465e89899.js index 43d732777..abb1a57e0 100644 --- a/public/js/discover~settings.chunk.3f3acf6b2d7f41a2.js +++ b/public/js/discover~settings.chunk.31f5865465e89899.js @@ -1 +1 @@ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[6250],{72362:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(5787),i=s(28772),n=s(35547);const o={components:{drawer:a.default,sidebar:i.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"})}))}}}},56987:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(20243),i=s(84800),n=s(79110),o=s(27821);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"post-content":n.default,"post-header":i.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.shadowStatus.media_attachments||!this.shadowStatus.media_attachments.length)&&this.shadowStatus.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.shadowStatus.account.id==window._sharedData.user.id,this.shadowStatus.reply_count&&this.autoloadComments&&!1===this.shadowStatus.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},isReblog:{get:function(){return null!=this.status.reblog}},reblogAccount:{get:function(){return this.status.reblog?this.status.account:null}},shadowStatus:{get:function(){return this.status.reblog?this.status.reblog:this.status}}},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")}}}},50371:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:window._sharedData.user}}}},84154:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(79288),i=s(50294),n=s(34719),o=s(72028),r=s(19138);const l={props:{status:{type:Object}},components:{VueTribute:a.default,ReadMore:i.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,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},24758:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(50294);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:a.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},85100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},37844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},getDiff:function(t){if(t==this.allHistory.length-1)return this.allHistory[this.allHistory.length-1].content;var e=document.createElement("div");return r.forEach((function(t){var s=t.added?"green":t.removed?"red":"grey",a=document.createElement("span");(a.style.color=s,console.log(t.value,t.value.length),t.added)?t.value.trim().length?a.appendChild(document.createTextNode(t.value)):a.appendChild(document.createTextNode("·")):a.appendChild(document.createTextNode(t.value));e.appendChild(a)})),e.innerHTML},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),a=Math.floor(s/63072e3);return a<0?"0s":a>=1?a+(1==a?" year":" years")+" ago":(a=Math.floor(s/604800))>=1?a+(1==a?" week":" weeks")+" ago":(a=Math.floor(s/86400))>=1?a+(1==a?" day":" days")+" ago":(a=Math.floor(s/3600))>=1?a+(1==a?" hour":" hours")+" ago":(a=Math.floor(s/60))>=1?a+(1==a?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},61746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(18634),i=s(50294),n=s(75938);const o={props:["status"],components:{"read-more":i.default,"video-player":n.default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},22434:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(34719),i=s(49986);const n={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1},isReblog:{type:Boolean,default:!1},reblogAccount:{type:Object}},components:{"profile-hover-card":a.default,"edit-history-modal":i.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfileById:function(t){var e=this;this.$nextTick((function(){e.$router.push({name:"profile",path:"/i/web/profile/".concat(t),params:{id:t,cachedUser:e.profile}})}))},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")},openEditModal:function(){this.$refs.editModal.open()}}}},99397:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(20243),i=s(34719);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},6140:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var a=document.createElement("a");a.href=e.getAttribute("href"),s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},3223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(50294),i=s(95353);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:a.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[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 a=document.createElement("a");a.href=t.profile.url,s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},79318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(95353),i=s(90414);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,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:{UpdateAvatar:i.default},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},68910:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(64945),i=(s(34076),s(34330)),n=s.n(i),o=(s(10706),s(71241));const r={props:["status","fixedHeight"],data:function(){return{shouldPlay:!1,hasHls:void 0,hlsConfig:window.App.config.features.hls,liveSyncDurationCount:7,isHlsSupported:!1,isP2PSupported:!1,engine:void 0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{handleShouldPlay:function(){var t=this;this.shouldPlay=!0,this.isHlsSupported=this.hlsConfig.enabled&&a.default.isSupported(),this.isP2PSupported=this.hlsConfig.enabled&&this.hlsConfig.p2p&&o.Engine.isSupported(),this.$nextTick((function(){t.init()}))},init:function(){var t,e=this;!this.status.sensitive&&null!==(t=this.status.media_attachments[0])&&void 0!==t&&t.hls_manifest&&this.isHlsSupported?(this.hasHls=!0,this.$nextTick((function(){e.initHls()}))):this.hasHls=!1},initHls:function(){var t;if(this.isP2PSupported){var e={loader:{trackerAnnounce:[this.hlsConfig.tracker],rtcConfig:{iceServers:[{urls:[this.hlsConfig.ice]}]}}},s=new o.Engine(e);this.hlsConfig.p2p_debug&&(s.on("peer_connect",(function(t){return console.log("peer_connect",t.id,t.remoteAddress)})),s.on("peer_close",(function(t){return console.log("peer_close",t)})),s.on("segment_loaded",(function(t,e){return console.log("segment_loaded from",e?"peer ".concat(e):"HTTP",t.url)}))),t=s.createLoaderClass()}else t=a.default.DefaultConfig.loader;var i=this.$refs.video,r=this.status.media_attachments[0].hls_manifest,l=(new(n())(i,{captions:{active:!0,update:!0}}),new a.default({liveSyncDurationCount:this.liveSyncDurationCount,loader:t})),c=this;(0,o.initHlsJsPlayer)(l),l.loadSource(r),l.attachMedia(i),l.on(a.default.Events.MANIFEST_PARSED,(function(t,e){this.hlsConfig.debug&&(console.log(t),console.log(e));var s={},o=l.levels.map((function(t){return t.height}));this.hlsConfig.debug&&console.log(o),o.unshift(0),s.quality={default:0,options:o,forced:!0,onChange:function(t){return c.updateQuality(t)}},s.i18n={qualityLabel:{0:"Auto"}},l.on(a.default.Events.LEVEL_SWITCHED,(function(t,e){var s=document.querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");l.autoLevelEnabled?s.innerHTML="Auto (".concat(l.levels[e.level].height,"p)"):s.innerHTML="Auto"}));new(n())(i,s)}))},updateQuality:function(t){var e=this;0===t?window.hls.currentLevel=-1:window.hls.levels.forEach((function(s,a){s.height===t&&(e.hlsConfig.debug&&console.log("Found quality match with "+t),window.hls.currentLevel=a)}))},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},42466:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-admin-settings-component"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-6 col-lg-6"},[e("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),e("h1",{staticClass:"font-default"},[t._v("Discover Settings")]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"card font-default shadow-none border"},[t._m(0),t._v(" "),e("div",{staticClass:"card-body"},[e("div",{staticClass:"mb-2"},[e("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(" "),e("p",{staticClass:"text-muted"},[t._v("Allow users to browse timelines of hashtags they follow")])],1),t._v(" "),e("div",{staticClass:"mb-2"},[e("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(" "),e("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(" "),e("div",{staticClass:"mb-2"},[e("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(" "),e("p",{staticClass:"text-muted"},[t._v("Allow users to access Account Insights, an overview of their account activity")])],1),t._v(" "),e("div",{staticClass:"mb-2"},[e("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(" "),e("p",{staticClass:"text-muted"},[t._v("Allow users to access Find Friends, a directory of popular accounts")])],1),t._v(" "),e("div",[e("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(" "),e("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?e("div",{staticClass:"card font-default shadow-none border my-3"},[t._m(1),t._v(" "),e("div",{staticClass:"card-body"},[e("div",{staticClass:"mb-2"},[e("b-form-group",{attrs:{label:"Server Mode"}},[e("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(" "),e("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(" "),e("p",{staticClass:"text-muted"},[t._v("Set the allowed instances to browse")])],1),t._v(" "),"allowlist"==t.server.mode?e("div",[e("b-form-group",{attrs:{label:"Allowed Domains"}},[e("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(" "),e("div",{staticClass:"col-md-2 col-lg-3"},[t.hasChanged?e("button",{staticClass:"btn btn-primary btn-block primary font-weight-bold",on:{click:t.saveFeatures}},[t._v("Save changes")]):t._e()])])]):t._e()])},i=[function(){var t=this._self._c;return t("div",{staticClass:"card-header"},[t("p",{staticClass:"text-center font-weight-bold mb-0"},[this._v("Manage Features")])])},function(){var t=this._self._c;return t("div",{staticClass:"card-header"},[t("p",{staticClass:"text-center font-weight-bold mb-0"},[this._v("Manage Server Timelines")])])}]},70201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.shadowStatus,"is-reblog":t.isReblog,"reblog-account":t.reblogAccount},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.shadowStatus}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.shadowStatus,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.shadowStatus,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=[]},69831:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},67153:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},55318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===a?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(a,i){return e("div",{on:{click:function(e){return t.lightbox(s,i)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[i].blurhash,src:t.getMediaSource(s,i)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===a?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===a?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===a?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[a].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[a].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[a].replies},on:{"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==a&&t.feed[a].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==a?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(a,e)},"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},i=[]},54309:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},82285:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},i=[]},27934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var a=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,a){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(a==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=a}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},i=[]},79911:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight}}):"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div",[t.status.sensitive?e("div",{staticClass:"border m-3 p-5 rounded-lg"},[t._m(1),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold mb-0"},[t._v("Sensitive Content")]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.status.spoiler_text&&t.status.spoiler_text.length?t.status.spoiler_text:"This post may contain sensitive content"))]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See post")])])]):t._e()]):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],1):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},44516:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[t.isReblog?e("div",{staticClass:"card-header bg-light border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center",staticStyle:{height:"10px"}},[e("a",{staticClass:"mx-2",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[e("img",{staticStyle:{"border-radius":"10px"},attrs:{src:t.reblogAccount.avatar,width:"24",height:"24",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticStyle:{"font-size":"12px","font-weight":"bold"}},[e("i",{staticClass:"far fa-retweet text-warning mr-1"}),t._v(" Reblogged by "),e("a",{staticClass:"text-dark",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[t._v("@"+t._s(t.reblogAccount.acct))])])])]):t._e(),t._v(" "),e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n "+t._s(t.status.account.acct)+"\n ")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n "+t._s(t.timeago(t.status.created_at))+"\n ")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)])},i=[]},51992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},16331:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},53577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}})]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},67725:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},21146:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n Sensitive Content\n ")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n "+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n ")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):[t.shouldPlay?[t.hasHls?e("video",{ref:"video",class:{fixedHeight:t.fixedHeight},staticStyle:{margin:"0"},attrs:{playsinline:"","webkit-playsinline":"",controls:"",autoplay:"false",poster:t.getPoster(t.status)}}):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{autoplay:"false",playsinline:"","webkit-playsinline":"",controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:e("div",{staticClass:"content-label-wrapper",style:{background:"linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.8)),url(".concat(t.getPoster(t.status),")"),backgroundSize:"cover"}},[e("div",{staticClass:"text-light content-label"},[e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-link btn-block btn-sm font-weight-bold",on:{click:function(e){return e.preventDefault(),t.handleShouldPlay.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-play fa-5x text-white"})])])])])]],2)},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},52617:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.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=i},35296:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},35518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=i},34857:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},49777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const n=i},93100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},54788:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const n=i},77684:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(52617),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},209:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(35296),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},96259:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(35518),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},48432:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(34857),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},22626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(49777),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},67621:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(93100),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},5323:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(54788),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},75658:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(41987),i=s(70853),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(88883);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,"697791a3",null).exports},35547:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(59028),i=s(52548),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(86546);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},5787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(16286),i=s(80260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(68840);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},90414:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(82704),i=s(55597),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},20243:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(34727),i=s(88012),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(21883);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},72028:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(46098),i=s(93843),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},19138:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(44982),i=s(43509),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},49986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(32785),i=s(79577),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(67011);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},79110:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(5458),i=s(99369),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},84800:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(43047),i=s(6119),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},27821:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(99421),i=s(28934),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},50294:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(95728),i=s(33417),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},34719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(38888),i=s(42260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(88814);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},28772:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(75754),i=s(75223),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(68338);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},75938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(86943),i=s(42909),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},70853:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(72362),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},52548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(56987),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},80260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(50371),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},55597:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(84154),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},88012:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(3211),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},93843:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(24758),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},43509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85100),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},79577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(37844),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},99369:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(61746),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},6119:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(22434),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},28934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(99397),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},33417:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(6140),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},42260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(3223),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},75223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(79318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},42909:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(68910),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},41987:(t,e,s)=>{"use strict";s.r(e);var a=s(42466),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},59028:(t,e,s)=>{"use strict";s.r(e);var a=s(70201),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},16286:(t,e,s)=>{"use strict";s.r(e);var a=s(69831),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},82704:(t,e,s)=>{"use strict";s.r(e);var a=s(67153),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},34727:(t,e,s)=>{"use strict";s.r(e);var a=s(55318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},46098:(t,e,s)=>{"use strict";s.r(e);var a=s(54309),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},44982:(t,e,s)=>{"use strict";s.r(e);var a=s(82285),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},32785:(t,e,s)=>{"use strict";s.r(e);var a=s(27934),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},5458:(t,e,s)=>{"use strict";s.r(e);var a=s(79911),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},43047:(t,e,s)=>{"use strict";s.r(e);var a=s(44516),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},99421:(t,e,s)=>{"use strict";s.r(e);var a=s(51992),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},95728:(t,e,s)=>{"use strict";s.r(e);var a=s(16331),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},38888:(t,e,s)=>{"use strict";s.r(e);var a=s(53577),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},75754:(t,e,s)=>{"use strict";s.r(e);var a=s(67725),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86943:(t,e,s)=>{"use strict";s.r(e);var a=s(21146),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},88883:(t,e,s)=>{"use strict";s.r(e);var a=s(77684),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86546:(t,e,s)=>{"use strict";s.r(e);var a=s(209),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68840:(t,e,s)=>{"use strict";s.r(e);var a=s(96259),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},21883:(t,e,s)=>{"use strict";s.r(e);var a=s(48432),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},67011:(t,e,s)=>{"use strict";s.r(e);var a=s(22626),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},88814:(t,e,s)=>{"use strict";s.r(e);var a=s(67621),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68338:(t,e,s)=>{"use strict";s.r(e);var a=s(5323),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},11220:()=>{},16052:()=>{},40295:()=>{},89858:()=>{},45187:()=>{},87919:()=>{},40264:()=>{},80434:()=>{},18053:()=>{}}]); \ No newline at end of file +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[6250],{72362:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(5787),i=s(28772),n=s(35547);const o={components:{drawer:a.default,sidebar:i.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"})}))}}}},56987:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(20243),i=s(84800),n=s(79110),o=s(27821);const r={props:{status:{type:Object},profile:{type:Object},reactionBar:{type:Boolean,default:!0},useDropdownMenu:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"post-content":n.default,"post-header":i.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.shadowStatus.media_attachments||!this.shadowStatus.media_attachments.length)&&this.shadowStatus.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.shadowStatus.account.id==window._sharedData.user.id,this.shadowStatus.reply_count&&this.autoloadComments&&!1===this.shadowStatus.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},isReblog:{get:function(){return null!=this.status.reblog}},reblogAccount:{get:function(){return this.status.reblog?this.status.account:null}},shadowStatus:{get:function(){return this.status.reblog?this.status.reblog:this.status}}},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")}}}},50371:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{user:window._sharedData.user}}}},84154:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(79288),i=s(50294),n=s(34719),o=s(72028),r=s(19138);const l={props:{status:{type:Object}},components:{VueTribute:a.default,ReadMore:i.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,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},24758:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(50294);const i={props:{status:{type:Object},feed:{type:Array}},components:{ReadMore:a.default},data:function(){return{loading:!0,profile:window._sharedData.user,ids:[],nextUrl:void 0,canLoadMore:!1}},watch:{feed:{deep:!0,immediate:!0,handler:function(t,e){this.loading=!1}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;axios.get(this.nextUrl,{params:{limit:e,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feedLoading=!1,e.data.next||(t.canLoadMore=!1),t.nextUrl=e.data.next,e.data.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.feed.push(e))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(e.data),t.$emit("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,a=e.favourited;this.feed[t].favourited=!this.feed[t].favourited,this.feed[t].favourites_count=a?s-1:s+1,axios.post("/api/v1/statuses/"+e.id+"/"+(a?"unfavourite":"favourite")).then((function(t){}))},toggleShowReplyOptions:function(){event.currentTarget.blur(),this.showReplyOptions=!this.showReplyOptions},replyUpload:function(){event.currentTarget.blur(),this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=new FormData;e.append("file",this.$refs.fileInput.files[0]),axios.post("/api/v1/media",e).then((function(e){axios.post("/api/v1/statuses",{media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data)}))}))}},lightbox:function(t){this.lightboxStatus=t.media_attachments[0],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=t.media_attachments[0];return e.preview_url.endsWith("storage/no-preview.png")?e.url:e.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t}}}},85100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},37844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},getDiff:function(t){if(t==this.allHistory.length-1)return this.allHistory[this.allHistory.length-1].content;var e=document.createElement("div");return r.forEach((function(t){var s=t.added?"green":t.removed?"red":"grey",a=document.createElement("span");(a.style.color=s,console.log(t.value,t.value.length),t.added)?t.value.trim().length?a.appendChild(document.createTextNode(t.value)):a.appendChild(document.createTextNode("·")):a.appendChild(document.createTextNode(t.value));e.appendChild(a)})),e.innerHTML},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),a=Math.floor(s/63072e3);return a<0?"0s":a>=1?a+(1==a?" year":" years")+" ago":(a=Math.floor(s/604800))>=1?a+(1==a?" week":" weeks")+" ago":(a=Math.floor(s/86400))>=1?a+(1==a?" day":" days")+" ago":(a=Math.floor(s/3600))>=1?a+(1==a?" hour":" hours")+" ago":(a=Math.floor(s/60))>=1?a+(1==a?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},61746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(18634),i=s(50294),n=s(75938);const o={props:["status"],components:{"read-more":i.default,"video-player":n.default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(t){(0,a.default)({el:t.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},22434:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(34719),i=s(49986);const n={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1},isReblog:{type:Boolean,default:!1},reblogAccount:{type:Object}},components:{"profile-hover-card":a.default,"edit-history-modal":i.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfileById:function(t){var e=this;this.$nextTick((function(){e.$router.push({name:"profile",path:"/i/web/profile/".concat(t),params:{id:t,cachedUser:e.profile}})}))},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")},openEditModal:function(){this.$refs.editModal.open()}}}},99397:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(20243),i=s(34719);const n={props:{status:{type:Object},profile:{type:Object},admin:{type:Boolean,default:!1}},components:{"comment-drawer":a.default,"profile-hover-card":i.default},data:function(){return{key:1,menuLoading:!0,sensitive:!1,isReblogging:!1,isBookmarking:!1,owner:!1,license:!1}},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},likesCount:function(){return this.status.favourites_count},replyCount:function(){return this.status.reply_count}},methods:{count:function(t){return App.util.format.count(t)},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.$emit("toggle-comments")},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},6140:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var t=this,e=this.status.content,s=document.createElement("div");s.innerHTML=e,s.querySelectorAll('a[class*="hashtag"]').forEach((function(t){var e=t.innerText;"#"==e.substr(0,1)&&(e=e.substr(1)),t.removeAttribute("target"),t.setAttribute("href","/i/web/hashtag/"+e)})),s.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(e){var s=e.innerText;if("@"==s.substr(0,1)&&(s=s.substr(1)),0==t.status.account.local&&!s.includes("@")){var a=document.createElement("a");a.href=e.getAttribute("href"),s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.content=s.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var t=this;this.status.emojis.forEach((function(e){var s=''.concat(e.shortcode,'');t.content=t.content.replace(":".concat(e.shortcode,":"),s)}))}}}},3223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(50294),i=s(95353);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore:a.default},data:function(){return{user:window._sharedData.user,bio:void 0,isLoading:!1,relationship:void 0}},mounted:function(){var t=this;this.rewriteLinks(),this.relationship=this.$store.getters.getRelationship(this.profile.id),this.relationship||this.profile.id==this.user.id||axios.get("/api/pixelfed/v1/accounts/relationships",{params:{"id[]":this.profile.id}}).then((function(e){t.relationship=e.data[0],t.$store.commit("updateRelationship",e.data)}))},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[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 a=document.createElement("a");a.href=t.profile.url,s=s+"@"+a.hostname}e.removeAttribute("target"),e.setAttribute("href","/i/web/username/"+s)})),this.bio=s.outerHTML},performFollow:function(){var t=this;this.isLoading=!0,this.$emit("follow"),setTimeout((function(){t.relationship.following=!0,t.isLoading=!1}),1e3)},performUnfollow:function(){var t=this;this.isLoading=!0,this.$emit("unfollow"),setTimeout((function(){t.relationship.following=!1,t.isLoading=!1}),1e3)}}}},79318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var a=s(95353),i=s(90414);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,a)}return s}function r(t,e,s){var a;return a=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var a=s.call(t,e||"default");if("object"!=n(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(a)?a:a+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,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:{UpdateAvatar:i.default},computed:function(t){for(var e=1;e)?/g,(function(e){var s=e.slice(1,e.length-1),a=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return a.length?''.concat(a[0].shortcode,''):e}))}return s},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},68910:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(64945),i=(s(34076),s(34330)),n=s.n(i),o=(s(10706),s(71241));const r={props:["status","fixedHeight"],data:function(){return{shouldPlay:!1,hasHls:void 0,hlsConfig:window.App.config.features.hls,liveSyncDurationCount:7,isHlsSupported:!1,isP2PSupported:!1,engine:void 0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{handleShouldPlay:function(){var t=this;this.shouldPlay=!0,this.isHlsSupported=this.hlsConfig.enabled&&a.default.isSupported(),this.isP2PSupported=this.hlsConfig.enabled&&this.hlsConfig.p2p&&o.Engine.isSupported(),this.$nextTick((function(){t.init()}))},init:function(){var t,e=this;!this.status.sensitive&&null!==(t=this.status.media_attachments[0])&&void 0!==t&&t.hls_manifest&&this.isHlsSupported?(this.hasHls=!0,this.$nextTick((function(){e.initHls()}))):this.hasHls=!1},initHls:function(){var t;if(this.isP2PSupported){var e={loader:{trackerAnnounce:[this.hlsConfig.tracker],rtcConfig:{iceServers:[{urls:[this.hlsConfig.ice]}]}}},s=new o.Engine(e);this.hlsConfig.p2p_debug&&(s.on("peer_connect",(function(t){return console.log("peer_connect",t.id,t.remoteAddress)})),s.on("peer_close",(function(t){return console.log("peer_close",t)})),s.on("segment_loaded",(function(t,e){return console.log("segment_loaded from",e?"peer ".concat(e):"HTTP",t.url)}))),t=s.createLoaderClass()}else t=a.default.DefaultConfig.loader;var i=this.$refs.video,r=this.status.media_attachments[0].hls_manifest,l=(new(n())(i,{captions:{active:!0,update:!0}}),new a.default({liveSyncDurationCount:this.liveSyncDurationCount,loader:t})),c=this;(0,o.initHlsJsPlayer)(l),l.loadSource(r),l.attachMedia(i),l.on(a.default.Events.MANIFEST_PARSED,(function(t,e){this.hlsConfig.debug&&(console.log(t),console.log(e));var s={},o=l.levels.map((function(t){return t.height}));this.hlsConfig.debug&&console.log(o),o.unshift(0),s.quality={default:0,options:o,forced:!0,onChange:function(t){return c.updateQuality(t)}},s.i18n={qualityLabel:{0:"Auto"}},l.on(a.default.Events.LEVEL_SWITCHED,(function(t,e){var s=document.querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");l.autoLevelEnabled?s.innerHTML="Auto (".concat(l.levels[e.level].height,"p)"):s.innerHTML="Auto"}));new(n())(i,s)}))},updateQuality:function(t){var e=this;0===t?window.hls.currentLevel=-1:window.hls.levels.forEach((function(s,a){s.height===t&&(e.hlsConfig.debug&&console.log("Found quality match with "+t),window.hls.currentLevel=a)}))},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},42466:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"discover-admin-settings-component"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-6 col-lg-6"},[e("b-breadcrumb",{staticClass:"font-default",attrs:{items:t.breadcrumbItems}}),t._v(" "),e("h1",{staticClass:"font-default"},[t._v("Discover Settings")]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"card font-default shadow-none border"},[t._m(0),t._v(" "),e("div",{staticClass:"card-body"},[e("div",{staticClass:"mb-2"},[e("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(" "),e("p",{staticClass:"text-muted"},[t._v("Allow users to browse timelines of hashtags they follow")])],1),t._v(" "),e("div",{staticClass:"mb-2"},[e("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(" "),e("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(" "),e("div",{staticClass:"mb-2"},[e("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(" "),e("p",{staticClass:"text-muted"},[t._v("Allow users to access Account Insights, an overview of their account activity")])],1),t._v(" "),e("div",{staticClass:"mb-2"},[e("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(" "),e("p",{staticClass:"text-muted"},[t._v("Allow users to access Find Friends, a directory of popular accounts")])],1),t._v(" "),e("div",[e("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(" "),e("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?e("div",{staticClass:"card font-default shadow-none border my-3"},[t._m(1),t._v(" "),e("div",{staticClass:"card-body"},[e("div",{staticClass:"mb-2"},[e("b-form-group",{attrs:{label:"Server Mode"}},[e("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(" "),e("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(" "),e("p",{staticClass:"text-muted"},[t._v("Set the allowed instances to browse")])],1),t._v(" "),"allowlist"==t.server.mode?e("div",[e("b-form-group",{attrs:{label:"Allowed Domains"}},[e("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(" "),e("div",{staticClass:"col-md-2 col-lg-3"},[t.hasChanged?e("button",{staticClass:"btn btn-primary btn-block primary font-weight-bold",on:{click:t.saveFeatures}},[t._v("Save changes")]):t._e()])])]):t._e()])},i=[function(){var t=this._self._c;return t("div",{staticClass:"card-header"},[t("p",{staticClass:"text-center font-weight-bold mb-0"},[this._v("Manage Features")])])},function(){var t=this._self._c;return t("div",{staticClass:"card-header"},[t("p",{staticClass:"text-center font-weight-bold mb-0"},[this._v("Manage Server Timelines")])])}]},70201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.shadowStatus,"is-reblog":t.isReblog,"reblog-account":t.reblogAccount},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.shadowStatus}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.shadowStatus,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.shadowStatus,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=[]},69831:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},i=[]},67153:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},55318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===a?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(a,i){return e("div",{on:{click:function(e){return t.lightbox(s,i)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[i].blurhash,src:t.getMediaSource(s,i)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(a)},unfollow:function(e){return t.unfollow(a)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===a?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===a?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===a?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(a)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[a].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[a].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[a].replies},on:{"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==a&&t.feed[a].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==a?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(a,e)},"counter-change":function(e){return t.replyCounterChange(a,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},i=[]},54309:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,a){return e("div",{key:"cd:"+s.id+":"+a},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(a)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+a),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(a)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t")])])])])])])})),0)]],2)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},82285:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},i=[]},27934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var a=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return a()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,a){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(a==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=a}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},i=[]},64394:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight}}):"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div",[t.status.sensitive?e("div",{staticClass:"border m-3 p-5 rounded-lg"},[t._m(1),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold mb-0"},[t._v("Sensitive Content")]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.status.spoiler_text&&t.status.spoiler_text.length?t.status.spoiler_text:"This post may contain sensitive content"))]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See post")])])]):t._e()]):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],1):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},44516:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[t.isReblog?e("div",{staticClass:"card-header bg-light border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center",staticStyle:{height:"10px"}},[e("a",{staticClass:"mx-2",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[e("img",{staticStyle:{"border-radius":"10px"},attrs:{src:t.reblogAccount.avatar,width:"24",height:"24",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticStyle:{"font-size":"12px","font-weight":"bold"}},[e("i",{staticClass:"far fa-retweet text-warning mr-1"}),t._v(" Reblogged by "),e("a",{staticClass:"text-dark",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[t._v("@"+t._s(t.reblogAccount.acct))])])])]):t._e(),t._v(" "),e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n "+t._s(t.status.account.acct)+"\n ")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n "+t._s(t.timeago(t.status.created_at))+"\n ")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)])},i=[]},51992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},i=[]},16331:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},i=[]},53577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}})]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},i=[]},75274:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/groups/feed"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-layer-group"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.groups"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},21146:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>i});var a=function(){var t=this,e=t._self._c;return e("div",[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n Sensitive Content\n ")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n "+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n ")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):[t.shouldPlay?[t.hasHls?e("video",{ref:"video",class:{fixedHeight:t.fixedHeight},staticStyle:{margin:"0"},attrs:{playsinline:"","webkit-playsinline":"",controls:"",autoplay:"false",poster:t.getPoster(t.status)}}):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{autoplay:"false",playsinline:"","webkit-playsinline":"",controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:e("div",{staticClass:"content-label-wrapper",style:{background:"linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.8)),url(".concat(t.getPoster(t.status),")"),backgroundSize:"cover"}},[e("div",{staticClass:"text-light content-label"},[e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-link btn-block btn-sm font-weight-bold",on:{click:function(e){return e.preventDefault(),t.handleShouldPlay.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-play fa-5x text-white"})])])])])]],2)},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},52617:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.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=i},35296:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.timeline-status-component{margin-bottom:1rem}.timeline-status-component .btn:focus{box-shadow:none!important}.timeline-status-component .avatar{border-radius:15px}.timeline-status-component .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=i},35518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=i},34857:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.post-comment-drawer-feed{margin-bottom:1rem}.post-comment-drawer-feed .sort-menu .dropdown{border-radius:18px}.post-comment-drawer-feed .sort-menu .dropdown-menu{padding:0}.post-comment-drawer-feed .sort-menu .dropdown-item:active{background-color:inherit}.post-comment-drawer-feed .sort-menu .title{color:var(--dropdown-item-color)}.post-comment-drawer-feed .sort-menu .description{color:var(--dropdown-item-color);font-size:12px;margin-bottom:0}.post-comment-drawer-feed .sort-menu .active .title{color:var(--dropdown-item-active-color);font-weight:600}.post-comment-drawer-feed .sort-menu .active .description{color:var(--dropdown-item-active-color)}.post-comment-drawer-feed-loader{align-items:center;display:flex;height:200px;justify-content:center}.post-comment-drawer .media-body-comment{min-width:240px;position:relative}.post-comment-drawer .media-body-wrapper .media-body-comment{padding:.7rem}.post-comment-drawer .media-body-wrapper .media-body-likes-count{background-color:var(--body-bg);border-radius:15px;bottom:-10px;font-size:12px;font-weight:600;padding:1px 8px;position:absolute;right:-5px;text-decoration:none;-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=i},49777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const n=i},93100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=i},14185:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(76798),i=s.n(a)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const n=i},77684:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(52617),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},209:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(35296),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},96259:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(35518),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},48432:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(34857),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},22626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(49777),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},67621:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(93100),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},89598:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85072),i=s.n(a),n=s(14185),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},75658:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(41987),i=s(70853),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(88883);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,"697791a3",null).exports},35547:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(59028),i=s(52548),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(86546);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},5787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(16286),i=s(80260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(68840);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},90414:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(82704),i=s(55597),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},20243:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(34727),i=s(88012),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(21883);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},72028:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(46098),i=s(93843),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},19138:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(44982),i=s(43509),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},49986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(32785),i=s(79577),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(67011);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},79110:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(74259),i=s(99369),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},84800:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(43047),i=s(6119),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},27821:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(99421),i=s(28934),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},50294:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(95728),i=s(33417),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},34719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(38888),i=s(42260),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(88814);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},28772:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(54017),i=s(75223),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);s(99387);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},75938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(86943),i=s(42909),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);s.d(e,n);const o=(0,s(14486).default)(i.default,a.render,a.staticRenderFns,!1,null,null,null).exports},70853:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(72362),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},52548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(56987),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},80260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(50371),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},55597:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(84154),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},88012:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(3211),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},93843:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(24758),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},43509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85100),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},79577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(37844),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},99369:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(61746),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},6119:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(22434),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},28934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(99397),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},33417:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(6140),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},42260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(3223),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},75223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(79318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},42909:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(68910),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=a.default},41987:(t,e,s)=>{"use strict";s.r(e);var a=s(42466),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},59028:(t,e,s)=>{"use strict";s.r(e);var a=s(70201),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},16286:(t,e,s)=>{"use strict";s.r(e);var a=s(69831),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},82704:(t,e,s)=>{"use strict";s.r(e);var a=s(67153),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},34727:(t,e,s)=>{"use strict";s.r(e);var a=s(55318),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},46098:(t,e,s)=>{"use strict";s.r(e);var a=s(54309),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},44982:(t,e,s)=>{"use strict";s.r(e);var a=s(82285),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},32785:(t,e,s)=>{"use strict";s.r(e);var a=s(27934),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},74259:(t,e,s)=>{"use strict";s.r(e);var a=s(64394),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},43047:(t,e,s)=>{"use strict";s.r(e);var a=s(44516),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},99421:(t,e,s)=>{"use strict";s.r(e);var a=s(51992),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},95728:(t,e,s)=>{"use strict";s.r(e);var a=s(16331),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},38888:(t,e,s)=>{"use strict";s.r(e);var a=s(53577),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},54017:(t,e,s)=>{"use strict";s.r(e);var a=s(75274),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86943:(t,e,s)=>{"use strict";s.r(e);var a=s(21146),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},88883:(t,e,s)=>{"use strict";s.r(e);var a=s(77684),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},86546:(t,e,s)=>{"use strict";s.r(e);var a=s(209),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},68840:(t,e,s)=>{"use strict";s.r(e);var a=s(96259),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},21883:(t,e,s)=>{"use strict";s.r(e);var a=s(48432),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},67011:(t,e,s)=>{"use strict";s.r(e);var a=s(22626),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},88814:(t,e,s)=>{"use strict";s.r(e);var a=s(67621),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},99387:(t,e,s)=>{"use strict";s.r(e);var a=s(89598),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i)},11220:()=>{},16052:()=>{},40295:()=>{},89858:()=>{},45187:()=>{},87919:()=>{},40264:()=>{},80434:()=>{},18053:()=>{}}]); \ No newline at end of file diff --git a/public/js/dms.chunk.a42edfd973f6c593.js b/public/js/dms.chunk.8e8464594fef81e5.js similarity index 65% rename from public/js/dms.chunk.a42edfd973f6c593.js rename to public/js/dms.chunk.8e8464594fef81e5.js index d3e03da34..e2886f06f 100644 --- a/public/js/dms.chunk.a42edfd973f6c593.js +++ b/public/js/dms.chunk.8e8464594fef81e5.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[2156],{61298:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(5787),i=e(28772),r=e(90198),n=e(25100);const o={components:{drawer:s.default,sidebar:i.default,intersect:n.default,"dm-placeholder":r.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(a){var e=a.data.filter((function(t){return t&&t.hasOwnProperty("last_status")&&t.last_status})),s=e.map((function(t){return t.accounts[0].id}));t.ids=s,t.threads=e,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(a){if(a.data.filter((function(t){return t&&t.hasOwnProperty("last_status")&&t.last_status})).forEach((function(a){-1==t.ids.indexOf(a.accounts[0].id)&&(t.ids.push(a.accounts[0].id),t.threads.push(a))})),!a.data.length||a.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 a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;if("photo"==t.pf_type){var e=this.profile.id==t.account.id,s='

';return(s+=e?"Sent a photo":"Received a photo")+"
"}if("video"==t.pf_type){var i=this.profile.id==t.account.id,r='
';return(r+=i?"Sent a video":"Received a video")+"
"}var n="";this.profile.id==t.account.id&&(n+=' ');var o=t.content.replace(/(<([^>]+)>)/gi,"");return o.length>a?n+o.slice(0,a)+"...":n+o},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()}}}},50371:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={data:function(){return{user:window._sharedData.user}}}},84154:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,a=event.target.files;Array.prototype.forEach.call(a,(function(a,e){t.avatarUpdateFile=a,t.avatarUpdatePreview=URL.createObjectURL(a),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var a=this;if(t.dataTransfer.items){for(var e=0;e{e.r(a),e.d(a,{default:()=>l});var s=e(95353),i=e(90414);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function n(t,a){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);a&&(s=s.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),e.push.apply(e,s)}return e}function o(t,a,e){var s;return s=function(t,a){if("object"!=r(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var s=e.call(t,a||"default");if("object"!=r(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(t)}(a,"string"),(a="symbol"==r(s)?s:s+"")in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,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:{UpdateAvatar:i.default},computed:function(t){for(var a=1;a)?/g,(function(a){var e=a.slice(1,a.length-1),s=t.getCustomEmoji.filter((function(t){return t.shortcode==e}));return s.length?''.concat(s[0].shortcode,''):a}))}return e},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(a,{notation:e,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var a=this.$route.path;switch(t){case"home":"/i/web"==a?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==a?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==a?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},5910:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"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/".concat(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(a){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,a=t._self._c;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")])])}]},69831:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"app-drawer-component"},[a("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),a("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[a("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[a("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[a("p",[a("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Home")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[a("p",[a("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Local")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[a("p",[a("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("New")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[a("p",[a("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Alerts")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[a("p",[a("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Profile")])])])],1)])])])])},i=[]},67153:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,a=t._self._c;return a("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[a("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(a){return t.handleAvatarUpdate()}}}),t._v(" "),a("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?a("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(a){return t.avatarUpdateStep(0)}}},[a("p",{staticClass:"text-center primary"},[a("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),a("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),a("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),a("strong",[t._v("png")]),t._v(" or "),a("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?a("div",{staticClass:"w-100 p-5"},[a("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[a("div",{staticClass:"text-center mb-4"},[a("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),a("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),a("div",{staticClass:"text-center mb-4"},[a("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),a("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),a("hr"),t._v(" "),a("div",{staticClass:"d-flex justify-content-between"},[a("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(a){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),a("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(a){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},11582:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>i});var s=function(){this._self._c;return this._m(0)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])])}]},67725:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[a("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[a("div",{staticClass:"card-body p-2"},[a("div",{staticClass:"media user-card user-select-none"},[a("div",{staticStyle:{position:"relative"}},[a("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(a){return t.gotoMyProfile()}}}),t._v(" "),a("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(a){return t.updateAvatar()}}},[a("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),a("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),a("p",{staticClass:"stats"},[a("span",{staticClass:"stats-following"},[a("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),a("span",{staticClass:"stats-followers"},[a("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),a("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[a("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[a("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),a("div",{staticClass:"dropdown-menu dropdown-menu-right"},[a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),a("div",{staticClass:"dropdown-divider"}),t._v(" "),a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),a("div",{staticClass:"sidebar-sticky shadow-sm"},[a("ul",{staticClass:"nav flex-column"},[a("li",{staticClass:"nav-item"},[a("div",{staticClass:"d-flex justify-content-between align-items-center"},[a("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(a){return a.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?a("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(a){return a.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?a("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(a){return a.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),a("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),a("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[a("router-link",{attrs:{to:"/i/web/language"}},[a("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),a("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),a("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},35531:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(76798),i=e.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 r=i},35518:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(76798),i=e.n(s)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const r=i},54788:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(76798),i=e.n(s)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const r=i},98852:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(85072),i=e.n(s),r=e(35531),n={insert:"head",singleton:!1};i()(r.default,n);const o=r.default.locals||{}},96259:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(85072),i=e.n(s),r=e(35518),n={insert:"head",singleton:!1};i()(r.default,n);const o=r.default.locals||{}},5323:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(85072),i=e.n(s),r=e(54788),n={insert:"head",singleton:!1};i()(r.default,n);const o=r.default.locals||{}},61040:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(8837),i=e(97923),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);e.d(a,r);e(91457);const n=(0,e(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,"77b89521",null).exports},5787:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(16286),i=e(80260),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);e.d(a,r);e(68840);const n=(0,e(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},90414:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(82704),i=e(55597),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);e.d(a,r);const n=(0,e(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},90198:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(79977);const i=(0,e(14486).default)({},s.render,s.staticRenderFns,!1,null,null,null).exports},28772:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(75754),i=e(75223),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);e.d(a,r);e(68338);const n=(0,e(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},97923:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(61298),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i);const r=s.default},80260:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(50371),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i);const r=s.default},55597:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(84154),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i);const r=s.default},75223:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(79318),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i);const r=s.default},8837:(t,a,e)=>{e.r(a);var s=e(5910),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},16286:(t,a,e)=>{e.r(a);var s=e(69831),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},82704:(t,a,e)=>{e.r(a);var s=e(67153),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},79977:(t,a,e)=>{e.r(a);var s=e(11582),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},75754:(t,a,e)=>{e.r(a);var s=e(67725),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},91457:(t,a,e)=>{e.r(a);var s=e(98852),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},68840:(t,a,e)=>{e.r(a);var s=e(96259),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},68338:(t,a,e)=>{e.r(a);var s=e(5323),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)}}]); \ No newline at end of file +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[2156],{61298:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(5787),i=e(28772),r=e(90198),n=e(25100);const o={components:{drawer:s.default,sidebar:i.default,intersect:n.default,"dm-placeholder":r.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(a){var e=a.data.filter((function(t){return t&&t.hasOwnProperty("last_status")&&t.last_status})),s=e.map((function(t){return t.accounts[0].id}));t.ids=s,t.threads=e,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(a){if(a.data.filter((function(t){return t&&t.hasOwnProperty("last_status")&&t.last_status})).forEach((function(a){-1==t.ids.indexOf(a.accounts[0].id)&&(t.ids.push(a.accounts[0].id),t.threads.push(a))})),!a.data.length||a.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 a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50;if("photo"==t.pf_type){var e=this.profile.id==t.account.id,s='
';return(s+=e?"Sent a photo":"Received a photo")+"
"}if("video"==t.pf_type){var i=this.profile.id==t.account.id,r='
';return(r+=i?"Sent a video":"Received a video")+"
"}var n="";this.profile.id==t.account.id&&(n+=' ');var o=t.content.replace(/(<([^>]+)>)/gi,"");return o.length>a?n+o.slice(0,a)+"...":n+o},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()}}}},50371:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={data:function(){return{user:window._sharedData.user}}}},84154:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,a=event.target.files;Array.prototype.forEach.call(a,(function(a,e){t.avatarUpdateFile=a,t.avatarUpdatePreview=URL.createObjectURL(a),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var a=this;if(t.dataTransfer.items){for(var e=0;e{e.r(a),e.d(a,{default:()=>l});var s=e(95353),i=e(90414);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function n(t,a){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);a&&(s=s.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),e.push.apply(e,s)}return e}function o(t,a,e){var s;return s=function(t,a){if("object"!=r(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var s=e.call(t,a||"default");if("object"!=r(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(t)}(a,"string"),(a="symbol"==r(s)?s:s+"")in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,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:{UpdateAvatar:i.default},computed:function(t){for(var a=1;a)?/g,(function(a){var e=a.slice(1,a.length-1),s=t.getCustomEmoji.filter((function(t){return t.shortcode==e}));return s.length?''.concat(s[0].shortcode,''):a}))}return e},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(a,{notation:e,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var a=this.$route.path;switch(t){case"home":"/i/web"==a?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==a?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==a?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},5910:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"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/".concat(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(a){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,a=t._self._c;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")])])}]},69831:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"app-drawer-component"},[a("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),a("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[a("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[a("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[a("p",[a("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Home")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[a("p",[a("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Local")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[a("p",[a("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("New")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[a("p",[a("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Alerts")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[a("p",[a("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Profile")])])])],1)])])])])},i=[]},67153:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,a=t._self._c;return a("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[a("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(a){return t.handleAvatarUpdate()}}}),t._v(" "),a("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?a("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(a){return t.avatarUpdateStep(0)}}},[a("p",{staticClass:"text-center primary"},[a("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),a("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),a("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),a("strong",[t._v("png")]),t._v(" or "),a("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?a("div",{staticClass:"w-100 p-5"},[a("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[a("div",{staticClass:"text-center mb-4"},[a("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),a("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),a("div",{staticClass:"text-center mb-4"},[a("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),a("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),a("hr"),t._v(" "),a("div",{staticClass:"d-flex justify-content-between"},[a("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(a){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),a("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(a){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},i=[]},11582:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>i});var s=function(){this._self._c;return this._m(0)},i=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])])}]},75274:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[a("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[a("div",{staticClass:"card-body p-2"},[a("div",{staticClass:"media user-card user-select-none"},[a("div",{staticStyle:{position:"relative"}},[a("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(a){return t.gotoMyProfile()}}}),t._v(" "),a("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(a){return t.updateAvatar()}}},[a("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),a("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),a("p",{staticClass:"stats"},[a("span",{staticClass:"stats-following"},[a("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),a("span",{staticClass:"stats-followers"},[a("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),a("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[a("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[a("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),a("div",{staticClass:"dropdown-menu dropdown-menu-right"},[a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),a("div",{staticClass:"dropdown-divider"}),t._v(" "),a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),a("div",{staticClass:"sidebar-sticky shadow-sm"},[a("ul",{staticClass:"nav flex-column"},[a("li",{staticClass:"nav-item"},[a("div",{staticClass:"d-flex justify-content-between align-items-center"},[a("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(a){return a.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?a("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(a){return a.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?a("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(a){return a.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),a("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link",attrs:{to:"/groups/feed"}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-layer-group"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.groups"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.hasLiveStreams?a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),a("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[a("router-link",{attrs:{to:"/i/web/language"}},[a("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),a("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),a("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},35531:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(76798),i=e.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 r=i},35518:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(76798),i=e.n(s)()((function(t){return t[1]}));i.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const r=i},14185:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(76798),i=e.n(s)()((function(t){return t[1]}));i.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const r=i},98852:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(85072),i=e.n(s),r=e(35531),n={insert:"head",singleton:!1};i()(r.default,n);const o=r.default.locals||{}},96259:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(85072),i=e.n(s),r=e(35518),n={insert:"head",singleton:!1};i()(r.default,n);const o=r.default.locals||{}},89598:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(85072),i=e.n(s),r=e(14185),n={insert:"head",singleton:!1};i()(r.default,n);const o=r.default.locals||{}},61040:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(8837),i=e(97923),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);e.d(a,r);e(91457);const n=(0,e(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,"77b89521",null).exports},5787:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(16286),i=e(80260),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);e.d(a,r);e(68840);const n=(0,e(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},90414:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(82704),i=e(55597),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);e.d(a,r);const n=(0,e(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},90198:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(79977);const i=(0,e(14486).default)({},s.render,s.staticRenderFns,!1,null,null,null).exports},28772:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(54017),i=e(75223),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);e.d(a,r);e(99387);const n=(0,e(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},97923:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(61298),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i);const r=s.default},80260:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(50371),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i);const r=s.default},55597:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(84154),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i);const r=s.default},75223:(t,a,e)=>{e.r(a),e.d(a,{default:()=>r});var s=e(79318),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i);const r=s.default},8837:(t,a,e)=>{e.r(a);var s=e(5910),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},16286:(t,a,e)=>{e.r(a);var s=e(69831),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},82704:(t,a,e)=>{e.r(a);var s=e(67153),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},79977:(t,a,e)=>{e.r(a);var s=e(11582),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},54017:(t,a,e)=>{e.r(a);var s=e(75274),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},91457:(t,a,e)=>{e.r(a);var s=e(98852),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},68840:(t,a,e)=>{e.r(a);var s=e(96259),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)},99387:(t,a,e)=>{e.r(a);var s=e(89598),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);e.d(a,i)}}]); \ No newline at end of file diff --git a/public/js/dms~message.chunk.6cd795c99fc1a568.js b/public/js/dms~message.chunk.c831de515447ca8a.js similarity index 70% rename from public/js/dms~message.chunk.6cd795c99fc1a568.js rename to public/js/dms~message.chunk.c831de515447ca8a.js index 5e5a4a356..beb2eb2e2 100644 --- a/public/js/dms~message.chunk.6cd795c99fc1a568.js +++ b/public/js/dms~message.chunk.c831de515447ca8a.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[7399],{57141:(t,e,a)=>{a.r(e),a.d(e,{default:()=>u});var i=a(5787),r=a(28772),s=a(90198),o=a(25100),n=a(34719),l=a(18011),c=a(74692);function d(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 r=e.threads[e.threadIndex].messages.map((function(t){return t.id}));t.max_id=Math.max.apply(Math,d(r)),t.min_id=Math.min.apply(Math,d(r))})).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;c(document).on("change","#uploadMedia",(function(t){e.handleUpload()}));var a=c(t.target);a.attr("disabled",""),c("#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,r=t.config.uploader.media_types.split(",");if(-1==c.inArray(i,r))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 o={onUploadProgress:function(e){var a=Math.round(100*e.loaded/e.total);t.uploadProgress=a}};axios.post("/api/direct/media",s,o).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,r=a.data;if(!r.messages.length)return t.showLoadMore=!1,void(t.loadingMessages=!1);var s=t.thread.messages.map((function(t){return t.id})),o=r.messages.filter((function(t){return-1==s.indexOf(t.id)})).reverse(),n=o.map((function(t){return t.id})),l=Math.min.apply(Math,d(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,d(o)),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)}}}},98691:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(18634);const r={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})}}}},50371:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={data:function(){return{user:window._sharedData.user}}}},84154:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={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{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=e.getAttribute("href"),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)}))}}}},3223:(t,e,a)=>{a.r(e),a.d(e,{default:()=>l});var i=a(50294),r=a(95353);function s(t){return s="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},s(t)}function o(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 n(t,e,a){var i;return i=function(t,e){if("object"!=s(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var i=a.call(t,e||"default");if("object"!=s(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==s(i)?i:i+"")in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}const l={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)}}}},79318:(t,e,a)=>{a.r(e),a.d(e,{default:()=>l});var i=a(95353),r=a(90414);function s(t){return s="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},s(t)}function o(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 n(t,e,a){var i;return i=function(t,e){if("object"!=s(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var i=a.call(t,e||"default");if("object"!=s(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==s(i)?i:i+"")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:{UpdateAvatar:r.default},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},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()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},35047:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>r});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"dm-page-component"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-lg-3 pb-lg-5"},[e("div",{staticClass:"row dm-page-component-row"},[e("div",{staticClass:"col-md-3 d-md-block"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-6 p-0"},[t.loaded&&"read"==t.page?e("div",{staticClass:"messages-page"},[e("div",{staticClass:"card shadow-none"},[e("div",{staticClass:"h4 card-header font-weight-bold text-dark d-flex justify-content-between align-items-center",staticStyle:{"letter-spacing":"-0.3px"}},[e("button",{staticClass:"btn btn-light rounded-pill text-dark",on:{click:function(e){return t.goBack()}}},[e("i",{staticClass:"far fa-chevron-left fa-lg"})]),t._v(" "),e("div",[t._v("Direct Message")]),t._v(" "),e("button",{staticClass:"btn btn-light rounded-pill text-dark",on:{click:function(e){return t.showOptions()}}},[e("i",{staticClass:"far fa-cog fa-lg"})])]),t._v(" "),e("ul",{staticClass:"list-group list-group-flush",staticStyle:{position:"relative"}},[e("li",{staticClass:"list-group-item border-bottom sticky-top"},[e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\tConversation with "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.thread.username))])])])]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.showDMPrivacyWarning&&t.showPrivacyWarning?e("ul",{staticClass:"list-group list-group-flush dm-privacy-warning",staticStyle:{position:"absolute",top:"105px",width:"100%"}},[e("li",{staticClass:"list-group-item border-bottom sticky-top bg-warning"},[e("div",{staticClass:"d-flex align-items-center justify-content-between"},[e("div",{staticClass:"d-none d-lg-block"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger fa-lg mr-3"})]),t._v(" "),e("div",[e("p",{staticClass:"small warning-text mb-0 font-weight-bold"},[e("span",{staticClass:"d-inline d-lg-none"},[t._v("DMs")]),e("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(" "),e("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(" "),e("button",{staticClass:"btn btn-link text-decoration-none",on:{click:t.togglePrivacyWarning}},[e("i",{staticClass:"far fa-times-circle fa-lg"}),t._v(" "),e("span",{staticClass:"d-none d-lg-block"},[t._v("Close")])])])])]):t._e()]),t._v(" "),e("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(a,i){return e("li",{staticClass:"list-group-item border-0 chat-msg mb-n2"},[e("message",{attrs:{convo:a,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?e("li",{staticClass:"list-group-item border-0"},[e("p",{staticClass:"text-center small text-muted"},[t.loadingMessages?e("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill btn-sm px-3",attrs:{disabled:""}},[t._v("Loading...")]):e("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(" "),e("div",{staticClass:"card-footer bg-white p-0"},[e("div",{staticClass:"dm-reply-form"},[e("div",{staticClass:"dm-reply-form-input-group"},[e("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(" "),e("button",{staticClass:"upload-media-btn btn btn-link",attrs:{disabled:t.uploading},on:{click:t.uploadMedia}},[e("i",{staticClass:"far fa-image fa-2x"})])]),t._v(" "),e("button",{staticClass:"dm-reply-form-submit-btn btn btn-primary",attrs:{disabled:!t.replyText||!t.replyText.length||t.showReplyTooLong},on:{click:t.sendMessage}},[e("i",{staticClass:"far fa-paper-plane fa-lg"})])])]),t._v(" "),t.uploading?e("div",{staticClass:"card-footer dm-status-bar"},[e("p",[t._v("Uploading ("+t._s(t.uploadProgress)+"%) ...")])]):t._e(),t._v(" "),t.showReplyLong?e("div",{staticClass:"card-footer dm-status-bar"},[e("p",{staticClass:"text-warning"},[t._v(t._s(t.replyText.length)+"/500")])]):t._e(),t._v(" "),t.showReplyTooLong?e("div",{staticClass:"card-footer dm-status-bar"},[e("p",{staticClass:"text-danger"},[t._v(t._s(t.replyText.length)+"/500 - Your message exceeds the limit of 500 characters")])]):t._e(),t._v(" "),e("div",{staticClass:"d-none card-footer p-0"},[e("p",{staticClass:"d-flex justify-content-between align-items-center mb-0 px-3 py-1 small"},[e("span",[e("span",{staticClass:"btn btn-primary btn-sm font-weight-bold py-0 px-3 rounded-pill",on:{click:t.uploadMedia}},[e("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(" "),e("input",{staticClass:"d-none",attrs:{type:"file",id:"uploadMedia",name:"uploadMedia",accept:"image/jpeg,image/png,image/gif,video/mp4"}}),t._v(" "),e("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?e("div",{staticClass:"messages-page"},[e("div",{staticClass:"card shadow-none"},[e("div",{staticClass:"h4 card-header font-weight-bold text-dark d-flex justify-content-between align-items-center",staticStyle:{"letter-spacing":"-0.3px"}},[e("button",{staticClass:"btn btn-light rounded-pill text-dark",on:{click:function(e){return e.preventDefault(),t.goBack("read")}}},[e("i",{staticClass:"far fa-chevron-left fa-lg"})]),t._v(" "),e("div",[t._v("Direct Message Settings")]),t._v(" "),t._m(0)]),t._v(" "),e("ul",{staticClass:"list-group list-group-flush",staticStyle:{height:"698px"}},[e("div",{staticClass:"list-group-item media border-bottom"},[e("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[e("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,r=!!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=r}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch0"}})]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item media border-bottom"},[e("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[e("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,r=!!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=r}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch1"}})]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item media border-bottom"},[e("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[e("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,r=!!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=r}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch2"}})]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item media border-bottom d-flex align-items-center"},[e("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[e("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,r=!!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=r}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch4"}})]),t._v(" "),e("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"),e("p",{staticClass:"small mb-0"},[t._v("You will not receive any direct message notifications from "),e("strong",[t._v(t._s(t.thread.username))]),t._v(".")])])]),t._v(" "),e("div",{staticClass:"list-group-item media border-bottom d-flex align-items-center"},[e("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[e("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,r=!!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=r}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch5"}})]),t._v(" "),t._m(1)])])])]):t._e()]),t._v(" "),t.conversationProfile?e("div",{staticClass:"col-md-3 d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("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(" "),e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",[e("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(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.conversationProfile.display_name)},on:{click:function(e){return t.gotoProfile(t.conversationProfile)}}}),t._v(" "),e("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(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("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(" "),e("span",{staticClass:"stats-followers"},[e("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()])]):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"calc(100vh - 58px)"}},[e("b-spinner")],1)])},r=[function(){var t=this._self._c;return t("div",{staticClass:"btn btn-light rounded-pill text-dark"},[t("i",{staticClass:"far fa-smile fa-lg"})])},function(){var t=this,e=t._self._c;return e("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"),e("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.")])])}]},56571:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>r});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"dm-chat-message chat-msg"},[e("div",{staticClass:"media d-inline-flex mb-0",class:{isAuthor:t.convo.isAuthor}},[t.convo.isAuthor||t.hideAvatars?t._e():e("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(" "),e("div",{staticClass:"media-body"},["photo"==t.convo.type?e("p",{staticClass:"pill-to p-0 shadow"},[e("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?e("div",{staticClass:"d-inline-flex mb-0 cursor-pointer"},[e("div",{staticClass:"card shadow border",staticStyle:{width:"240px","border-radius":"18px"}},[e("div",{staticClass:"card-body p-0",attrs:{title:t.convo.text}},[e("div",{staticClass:"media align-items-center"},[t.convo.meta.local?e("div",{staticClass:"bg-primary mr-3 p-3",staticStyle:{"border-radius":"18px"}},[e("i",{staticClass:"fas fa-link text-white fa-2x"})]):e("div",{staticClass:"bg-light mr-3 p-3",staticStyle:{"border-radius":"18px"}},[e("i",{staticClass:"fas fa-link text-lighter fa-2x"})]),t._v(" "),e("div",{staticClass:"media-body text-muted small text-truncate pr-2 font-weight-bold"},[t._v("\n "+t._s(t.convo.meta.local?t.convo.text.substr(8):t.convo.meta.domain)+"\n ")])])])])]):"video"==t.convo.type?e("p",{staticClass:"pill-to p-0 shadow mb-0",staticStyle:{"line-height":"0"}},[e("video",{staticClass:"media-embed",staticStyle:{"border-radius":"20px"},attrs:{src:t.convo.media,controls:""}})]):"emoji"==t.convo.type?e("p",{staticClass:"p-0 emoji-msg"},[t._v("\n "+t._s(t.convo.text)+"\n ")]):"story:react"==t.convo.type?e("p",{staticClass:"pill-to p-0 shadow",staticStyle:{width:"140px","margin-bottom":"10px",position:"relative"}},[e("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(" "),e("span",{staticClass:"badge badge-light rounded-pill border",staticStyle:{"font-size":"20px",position:"absolute",bottom:"-10px",left:"-10px"}},[t._v("\n "+t._s(t.convo.meta.reaction)+"\n ")])]):"story:comment"==t.convo.type?e("span",{staticClass:"p-0",staticStyle:{display:"flex","justify-content":"flex-start","margin-bottom":"10px",position:"relative"}},[e("span",{},[e("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(" "),e("span",{staticClass:"pill-to shadow text-break",staticStyle:{width:"fit-content"}},[t._v(t._s(t.convo.meta.caption))])])]):e("p",{class:[t.largerText?"pill-to shadow larger-text text-break":"pill-to shadow text-break"]},[t._v("\n "+t._s(t.convo.text)+"\n ")]),t._v(" "),"story:react"==t.convo.type?e("p",{staticClass:"small text-muted mb-0 ml-0"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.convo.meta.story_actor_username))]),t._v(" reacted your story\n ")]):t._e(),t._v(" "),"story:comment"==t.convo.type?e("p",{staticClass:"small text-muted mb-0 ml-0"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.convo.meta.story_actor_username))]),t._v(" replied to your story\n ")]):t._e(),t._v(" "),e("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?e("span",{staticClass:"small pr-2",attrs:{title:"Filtered Message","data-toggle":"tooltip","data-placement":"bottom"}},[e("i",{staticClass:"fas fa-lock"})]):t._e(),t._v(" "),t.hideTimestamps?t._e():e("span",[t._v("\n "+t._s(t.convo.timeAgo)+"\n ")]),t._v(" "),t.convo.isAuthor?e("button",{staticClass:"btn btn-link btn-sm text-lighter pl-2 font-weight-bold",on:{click:t.confirmDelete}},[e("i",{staticClass:"far fa-trash-alt"})]):t._e()])]),t._v(" "),t.convo.isAuthor&&!t.hideAvatars?e("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()])])},r=[]},69831:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>r});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},r=[]},67153:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>r});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},r=[]},11582:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>r});var i=function(){this._self._c;return this._m(0)},r=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])])}]},16331:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>r});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},r=[]},53577:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>r});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}})]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},r=[]},67725:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>r});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},r=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},7972:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(76798),r=a.n(i)()((function(t){return t[1]}));r.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;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.dm-page-component .user-card .avatar-update-btn-icon[data-v-bd901ba2]:before{content:"\\f013"}.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;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=r},97076:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(76798),r=a.n(i)()((function(t){return t[1]}));r.push([t.id,".chat-msg[data-v-445f6b73]{padding-bottom:0;padding-top:0}.reply-btn[data-v-445f6b73]{border-radius:0 3px 3px 0;bottom:54px;position:absolute;right:20px;text-align:center;width:90px}.media-body .bg-primary[data-v-445f6b73]{background:linear-gradient(135deg,#2ea2f4,#0b93f6)!important}.pill-to[data-v-445f6b73]{background:var(--bg-light);margin-right:3rem}.pill-from[data-v-445f6b73],.pill-to[data-v-445f6b73]{border-radius:20px!important;font-weight:500;margin-bottom:.25rem;padding:.5rem 1rem}.pill-from[data-v-445f6b73]{background:linear-gradient(135deg,#2ea2f4,#0b93f6)!important;color:#fff!important;margin-left:3rem;text-align:right!important}.chat-smsg[data-v-445f6b73]:hover{background:var(--light-hover-bg)}.no-focus[data-v-445f6b73]{border:none!important}.no-focus[data-v-445f6b73]:focus{box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;outline:none!important;outline-width:0!important}.emoji-msg[data-v-445f6b73]{font-size:4rem!important;line-height:30px!important;margin-top:10px!important}.larger-text[data-v-445f6b73]{font-size:22px}.dm-chat-message .isAuthor[data-v-445f6b73]{float:right;margin-right:.5rem!important}.dm-chat-message .isAuthor .pill-to[data-v-445f6b73]{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-445f6b73]{display:block!important;margin-bottom:0;text-align:right}.dm-chat-message .msg-avatar[data-v-445f6b73]{border-radius:14px;height:50px;width:50px}.dm-chat-message .media-embed[data-v-445f6b73]{border-radius:20px;width:140px}@media (min-width:450px){.dm-chat-message .media-embed[data-v-445f6b73]{width:200px}}",""]);const s=r},35518:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(76798),r=a.n(i)()((function(t){return t[1]}));r.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const s=r},93100:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(76798),r=a.n(i)()((function(t){return t[1]}));r.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const s=r},54788:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(76798),r=a.n(i)()((function(t){return t[1]}));r.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const s=r},96125:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(85072),r=a.n(i),s=a(7972),o={insert:"head",singleton:!1};r()(s.default,o);const n=s.default.locals||{}},86569:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(85072),r=a.n(i),s=a(97076),o={insert:"head",singleton:!1};r()(s.default,o);const n=s.default.locals||{}},96259:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(85072),r=a.n(i),s=a(35518),o={insert:"head",singleton:!1};r()(s.default,o);const n=s.default.locals||{}},67621:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(85072),r=a.n(i),s=a(93100),o={insert:"head",singleton:!1};r()(s.default,o);const n=s.default.locals||{}},5323:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(85072),r=a.n(i),s=a(54788),o={insert:"head",singleton:!1};r()(s.default,o);const n=s.default.locals||{}},95301:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(12574),r=a(55670),s={};for(const t in r)"default"!==t&&(s[t]=()=>r[t]);a.d(e,s);a(68838);const o=(0,a(14486).default)(r.default,i.render,i.staticRenderFns,!1,null,"bd901ba2",null).exports},18011:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(13230),r=a(30328),s={};for(const t in r)"default"!==t&&(s[t]=()=>r[t]);a.d(e,s);a(92902);const o=(0,a(14486).default)(r.default,i.render,i.staticRenderFns,!1,null,"445f6b73",null).exports},5787:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(16286),r=a(80260),s={};for(const t in r)"default"!==t&&(s[t]=()=>r[t]);a.d(e,s);a(68840);const o=(0,a(14486).default)(r.default,i.render,i.staticRenderFns,!1,null,null,null).exports},90414:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(82704),r=a(55597),s={};for(const t in r)"default"!==t&&(s[t]=()=>r[t]);a.d(e,s);const o=(0,a(14486).default)(r.default,i.render,i.staticRenderFns,!1,null,null,null).exports},90198:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(79977);const r=(0,a(14486).default)({},i.render,i.staticRenderFns,!1,null,null,null).exports},50294:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(95728),r=a(33417),s={};for(const t in r)"default"!==t&&(s[t]=()=>r[t]);a.d(e,s);const o=(0,a(14486).default)(r.default,i.render,i.staticRenderFns,!1,null,null,null).exports},34719:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(38888),r=a(42260),s={};for(const t in r)"default"!==t&&(s[t]=()=>r[t]);a.d(e,s);a(88814);const o=(0,a(14486).default)(r.default,i.render,i.staticRenderFns,!1,null,null,null).exports},28772:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(75754),r=a(75223),s={};for(const t in r)"default"!==t&&(s[t]=()=>r[t]);a.d(e,s);a(68338);const o=(0,a(14486).default)(r.default,i.render,i.staticRenderFns,!1,null,null,null).exports},55670:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(57141),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);const s=i.default},30328:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(98691),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);const s=i.default},80260:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(50371),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);const s=i.default},55597:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(84154),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);const s=i.default},33417:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(6140),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);const s=i.default},42260:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(3223),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);const s=i.default},75223:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(79318),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);const s=i.default},12574:(t,e,a)=>{a.r(e);var i=a(35047),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},13230:(t,e,a)=>{a.r(e);var i=a(56571),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},16286:(t,e,a)=>{a.r(e);var i=a(69831),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},82704:(t,e,a)=>{a.r(e);var i=a(67153),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},79977:(t,e,a)=>{a.r(e);var i=a(11582),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},95728:(t,e,a)=>{a.r(e);var i=a(16331),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},38888:(t,e,a)=>{a.r(e);var i=a(53577),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},75754:(t,e,a)=>{a.r(e);var i=a(67725),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},68838:(t,e,a)=>{a.r(e);var i=a(96125),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},92902:(t,e,a)=>{a.r(e);var i=a(86569),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},68840:(t,e,a)=>{a.r(e);var i=a(96259),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},88814:(t,e,a)=>{a.r(e);var i=a(67621),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},68338:(t,e,a)=>{a.r(e);var i=a(5323),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)}}]); \ No newline at end of file +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[7399],{57141:(t,e,a)=>{a.r(e),a.d(e,{default:()=>u});var i=a(5787),r=a(28772),s=a(90198),o=a(25100),n=a(34719),l=a(18011),c=a(74692);function d(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 r=e.threads[e.threadIndex].messages.map((function(t){return t.id}));t.max_id=Math.max.apply(Math,d(r)),t.min_id=Math.min.apply(Math,d(r))})).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;c(document).on("change","#uploadMedia",(function(t){e.handleUpload()}));var a=c(t.target);a.attr("disabled",""),c("#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,r=t.config.uploader.media_types.split(",");if(-1==c.inArray(i,r))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 o={onUploadProgress:function(e){var a=Math.round(100*e.loaded/e.total);t.uploadProgress=a}};axios.post("/api/direct/media",s,o).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,r=a.data;if(!r.messages.length)return t.showLoadMore=!1,void(t.loadingMessages=!1);var s=t.thread.messages.map((function(t){return t.id})),o=r.messages.filter((function(t){return-1==s.indexOf(t.id)})).reverse(),n=o.map((function(t){return t.id})),l=Math.min.apply(Math,d(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,d(o)),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)}}}},98691:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(18634);const r={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})}}}},50371:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={data:function(){return{user:window._sharedData.user}}}},84154:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={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{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=e.getAttribute("href"),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)}))}}}},3223:(t,e,a)=>{a.r(e),a.d(e,{default:()=>l});var i=a(50294),r=a(95353);function s(t){return s="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},s(t)}function o(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 n(t,e,a){var i;return i=function(t,e){if("object"!=s(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var i=a.call(t,e||"default");if("object"!=s(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==s(i)?i:i+"")in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}const l={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)}}}},79318:(t,e,a)=>{a.r(e),a.d(e,{default:()=>l});var i=a(95353),r=a(90414);function s(t){return s="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},s(t)}function o(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 n(t,e,a){var i;return i=function(t,e){if("object"!=s(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var i=a.call(t,e||"default");if("object"!=s(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==s(i)?i:i+"")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:{UpdateAvatar:r.default},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},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()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},35047:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>r});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"dm-page-component"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-lg-3 pb-lg-5"},[e("div",{staticClass:"row dm-page-component-row"},[e("div",{staticClass:"col-md-3 d-md-block"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-6 p-0"},[t.loaded&&"read"==t.page?e("div",{staticClass:"messages-page"},[e("div",{staticClass:"card shadow-none"},[e("div",{staticClass:"h4 card-header font-weight-bold text-dark d-flex justify-content-between align-items-center",staticStyle:{"letter-spacing":"-0.3px"}},[e("button",{staticClass:"btn btn-light rounded-pill text-dark",on:{click:function(e){return t.goBack()}}},[e("i",{staticClass:"far fa-chevron-left fa-lg"})]),t._v(" "),e("div",[t._v("Direct Message")]),t._v(" "),e("button",{staticClass:"btn btn-light rounded-pill text-dark",on:{click:function(e){return t.showOptions()}}},[e("i",{staticClass:"far fa-cog fa-lg"})])]),t._v(" "),e("ul",{staticClass:"list-group list-group-flush",staticStyle:{position:"relative"}},[e("li",{staticClass:"list-group-item border-bottom sticky-top"},[e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\tConversation with "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.thread.username))])])])]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.showDMPrivacyWarning&&t.showPrivacyWarning?e("ul",{staticClass:"list-group list-group-flush dm-privacy-warning",staticStyle:{position:"absolute",top:"105px",width:"100%"}},[e("li",{staticClass:"list-group-item border-bottom sticky-top bg-warning"},[e("div",{staticClass:"d-flex align-items-center justify-content-between"},[e("div",{staticClass:"d-none d-lg-block"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger fa-lg mr-3"})]),t._v(" "),e("div",[e("p",{staticClass:"small warning-text mb-0 font-weight-bold"},[e("span",{staticClass:"d-inline d-lg-none"},[t._v("DMs")]),e("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(" "),e("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(" "),e("button",{staticClass:"btn btn-link text-decoration-none",on:{click:t.togglePrivacyWarning}},[e("i",{staticClass:"far fa-times-circle fa-lg"}),t._v(" "),e("span",{staticClass:"d-none d-lg-block"},[t._v("Close")])])])])]):t._e()]),t._v(" "),e("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(a,i){return e("li",{staticClass:"list-group-item border-0 chat-msg mb-n2"},[e("message",{attrs:{convo:a,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?e("li",{staticClass:"list-group-item border-0"},[e("p",{staticClass:"text-center small text-muted"},[t.loadingMessages?e("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill btn-sm px-3",attrs:{disabled:""}},[t._v("Loading...")]):e("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(" "),e("div",{staticClass:"card-footer bg-white p-0"},[e("div",{staticClass:"dm-reply-form"},[e("div",{staticClass:"dm-reply-form-input-group"},[e("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(" "),e("button",{staticClass:"upload-media-btn btn btn-link",attrs:{disabled:t.uploading},on:{click:t.uploadMedia}},[e("i",{staticClass:"far fa-image fa-2x"})])]),t._v(" "),e("button",{staticClass:"dm-reply-form-submit-btn btn btn-primary",attrs:{disabled:!t.replyText||!t.replyText.length||t.showReplyTooLong},on:{click:t.sendMessage}},[e("i",{staticClass:"far fa-paper-plane fa-lg"})])])]),t._v(" "),t.uploading?e("div",{staticClass:"card-footer dm-status-bar"},[e("p",[t._v("Uploading ("+t._s(t.uploadProgress)+"%) ...")])]):t._e(),t._v(" "),t.showReplyLong?e("div",{staticClass:"card-footer dm-status-bar"},[e("p",{staticClass:"text-warning"},[t._v(t._s(t.replyText.length)+"/500")])]):t._e(),t._v(" "),t.showReplyTooLong?e("div",{staticClass:"card-footer dm-status-bar"},[e("p",{staticClass:"text-danger"},[t._v(t._s(t.replyText.length)+"/500 - Your message exceeds the limit of 500 characters")])]):t._e(),t._v(" "),e("div",{staticClass:"d-none card-footer p-0"},[e("p",{staticClass:"d-flex justify-content-between align-items-center mb-0 px-3 py-1 small"},[e("span",[e("span",{staticClass:"btn btn-primary btn-sm font-weight-bold py-0 px-3 rounded-pill",on:{click:t.uploadMedia}},[e("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(" "),e("input",{staticClass:"d-none",attrs:{type:"file",id:"uploadMedia",name:"uploadMedia",accept:"image/jpeg,image/png,image/gif,video/mp4"}}),t._v(" "),e("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?e("div",{staticClass:"messages-page"},[e("div",{staticClass:"card shadow-none"},[e("div",{staticClass:"h4 card-header font-weight-bold text-dark d-flex justify-content-between align-items-center",staticStyle:{"letter-spacing":"-0.3px"}},[e("button",{staticClass:"btn btn-light rounded-pill text-dark",on:{click:function(e){return e.preventDefault(),t.goBack("read")}}},[e("i",{staticClass:"far fa-chevron-left fa-lg"})]),t._v(" "),e("div",[t._v("Direct Message Settings")]),t._v(" "),t._m(0)]),t._v(" "),e("ul",{staticClass:"list-group list-group-flush",staticStyle:{height:"698px"}},[e("div",{staticClass:"list-group-item media border-bottom"},[e("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[e("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,r=!!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=r}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch0"}})]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item media border-bottom"},[e("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[e("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,r=!!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=r}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch1"}})]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item media border-bottom"},[e("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[e("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,r=!!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=r}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch2"}})]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item media border-bottom d-flex align-items-center"},[e("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[e("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,r=!!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=r}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch4"}})]),t._v(" "),e("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"),e("p",{staticClass:"small mb-0"},[t._v("You will not receive any direct message notifications from "),e("strong",[t._v(t._s(t.thread.username))]),t._v(".")])])]),t._v(" "),e("div",{staticClass:"list-group-item media border-bottom d-flex align-items-center"},[e("div",{staticClass:"d-inline-block custom-control custom-switch ml-3"},[e("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,r=!!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=r}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"customSwitch5"}})]),t._v(" "),t._m(1)])])])]):t._e()]),t._v(" "),t.conversationProfile?e("div",{staticClass:"col-md-3 d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("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(" "),e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",[e("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(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.conversationProfile.display_name)},on:{click:function(e){return t.gotoProfile(t.conversationProfile)}}}),t._v(" "),e("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(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("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(" "),e("span",{staticClass:"stats-followers"},[e("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()])]):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"calc(100vh - 58px)"}},[e("b-spinner")],1)])},r=[function(){var t=this._self._c;return t("div",{staticClass:"btn btn-light rounded-pill text-dark"},[t("i",{staticClass:"far fa-smile fa-lg"})])},function(){var t=this,e=t._self._c;return e("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"),e("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.")])])}]},56571:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>r});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"dm-chat-message chat-msg"},[e("div",{staticClass:"media d-inline-flex mb-0",class:{isAuthor:t.convo.isAuthor}},[t.convo.isAuthor||t.hideAvatars?t._e():e("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(" "),e("div",{staticClass:"media-body"},["photo"==t.convo.type?e("p",{staticClass:"pill-to p-0 shadow"},[e("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?e("div",{staticClass:"d-inline-flex mb-0 cursor-pointer"},[e("div",{staticClass:"card shadow border",staticStyle:{width:"240px","border-radius":"18px"}},[e("div",{staticClass:"card-body p-0",attrs:{title:t.convo.text}},[e("div",{staticClass:"media align-items-center"},[t.convo.meta.local?e("div",{staticClass:"bg-primary mr-3 p-3",staticStyle:{"border-radius":"18px"}},[e("i",{staticClass:"fas fa-link text-white fa-2x"})]):e("div",{staticClass:"bg-light mr-3 p-3",staticStyle:{"border-radius":"18px"}},[e("i",{staticClass:"fas fa-link text-lighter fa-2x"})]),t._v(" "),e("div",{staticClass:"media-body text-muted small text-truncate pr-2 font-weight-bold"},[t._v("\n "+t._s(t.convo.meta.local?t.convo.text.substr(8):t.convo.meta.domain)+"\n ")])])])])]):"video"==t.convo.type?e("p",{staticClass:"pill-to p-0 shadow mb-0",staticStyle:{"line-height":"0"}},[e("video",{staticClass:"media-embed",staticStyle:{"border-radius":"20px"},attrs:{src:t.convo.media,controls:""}})]):"emoji"==t.convo.type?e("p",{staticClass:"p-0 emoji-msg"},[t._v("\n "+t._s(t.convo.text)+"\n ")]):"story:react"==t.convo.type?e("p",{staticClass:"pill-to p-0 shadow",staticStyle:{width:"140px","margin-bottom":"10px",position:"relative"}},[e("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(" "),e("span",{staticClass:"badge badge-light rounded-pill border",staticStyle:{"font-size":"20px",position:"absolute",bottom:"-10px",left:"-10px"}},[t._v("\n "+t._s(t.convo.meta.reaction)+"\n ")])]):"story:comment"==t.convo.type?e("span",{staticClass:"p-0",staticStyle:{display:"flex","justify-content":"flex-start","margin-bottom":"10px",position:"relative"}},[e("span",{},[e("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(" "),e("span",{staticClass:"pill-to shadow text-break",staticStyle:{width:"fit-content"}},[t._v(t._s(t.convo.meta.caption))])])]):e("p",{class:[t.largerText?"pill-to shadow larger-text text-break":"pill-to shadow text-break"]},[t._v("\n "+t._s(t.convo.text)+"\n ")]),t._v(" "),"story:react"==t.convo.type?e("p",{staticClass:"small text-muted mb-0 ml-0"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.convo.meta.story_actor_username))]),t._v(" reacted your story\n ")]):t._e(),t._v(" "),"story:comment"==t.convo.type?e("p",{staticClass:"small text-muted mb-0 ml-0"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.convo.meta.story_actor_username))]),t._v(" replied to your story\n ")]):t._e(),t._v(" "),e("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?e("span",{staticClass:"small pr-2",attrs:{title:"Filtered Message","data-toggle":"tooltip","data-placement":"bottom"}},[e("i",{staticClass:"fas fa-lock"})]):t._e(),t._v(" "),t.hideTimestamps?t._e():e("span",[t._v("\n "+t._s(t.convo.timeAgo)+"\n ")]),t._v(" "),t.convo.isAuthor?e("button",{staticClass:"btn btn-link btn-sm text-lighter pl-2 font-weight-bold",on:{click:t.confirmDelete}},[e("i",{staticClass:"far fa-trash-alt"})]):t._e()])]),t._v(" "),t.convo.isAuthor&&!t.hideAvatars?e("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()])])},r=[]},69831:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>r});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},r=[]},67153:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>r});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},r=[]},11582:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>r});var i=function(){this._self._c;return this._m(0)},r=[function(){var t=this._self._c;return t("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])])}]},16331:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>r});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},r=[]},53577:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>r});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}})]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},r=[]},75274:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>r});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/groups/feed"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-layer-group"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.groups"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},r=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},7972:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(76798),r=a.n(i)()((function(t){return t[1]}));r.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;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.dm-page-component .user-card .avatar-update-btn-icon[data-v-bd901ba2]:before{content:"\\f013"}.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;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=r},97076:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(76798),r=a.n(i)()((function(t){return t[1]}));r.push([t.id,".chat-msg[data-v-445f6b73]{padding-bottom:0;padding-top:0}.reply-btn[data-v-445f6b73]{border-radius:0 3px 3px 0;bottom:54px;position:absolute;right:20px;text-align:center;width:90px}.media-body .bg-primary[data-v-445f6b73]{background:linear-gradient(135deg,#2ea2f4,#0b93f6)!important}.pill-to[data-v-445f6b73]{background:var(--bg-light);margin-right:3rem}.pill-from[data-v-445f6b73],.pill-to[data-v-445f6b73]{border-radius:20px!important;font-weight:500;margin-bottom:.25rem;padding:.5rem 1rem}.pill-from[data-v-445f6b73]{background:linear-gradient(135deg,#2ea2f4,#0b93f6)!important;color:#fff!important;margin-left:3rem;text-align:right!important}.chat-smsg[data-v-445f6b73]:hover{background:var(--light-hover-bg)}.no-focus[data-v-445f6b73]{border:none!important}.no-focus[data-v-445f6b73]:focus{box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;outline:none!important;outline-width:0!important}.emoji-msg[data-v-445f6b73]{font-size:4rem!important;line-height:30px!important;margin-top:10px!important}.larger-text[data-v-445f6b73]{font-size:22px}.dm-chat-message .isAuthor[data-v-445f6b73]{float:right;margin-right:.5rem!important}.dm-chat-message .isAuthor .pill-to[data-v-445f6b73]{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-445f6b73]{display:block!important;margin-bottom:0;text-align:right}.dm-chat-message .msg-avatar[data-v-445f6b73]{border-radius:14px;height:50px;width:50px}.dm-chat-message .media-embed[data-v-445f6b73]{border-radius:20px;width:140px}@media (min-width:450px){.dm-chat-message .media-embed[data-v-445f6b73]{width:200px}}",""]);const s=r},35518:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(76798),r=a.n(i)()((function(t){return t[1]}));r.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const s=r},93100:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(76798),r=a.n(i)()((function(t){return t[1]}));r.push([t.id,".profile-hover-card{border:none;display:block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:.5rem;width:300px}.profile-hover-card .avatar{border-radius:15px;box-shadow:0 .5rem 1rem rgba(0,0,0,.15)!important;margin-bottom:.5rem}.profile-hover-card .display-name{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:16px;font-weight:800;font-weight:800!important;line-height:.8;margin-bottom:2px;margin-top:5px;max-width:240px;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .display-name a{color:var(--body-color);text-decoration:none}.profile-hover-card .username{font-size:12px;font-weight:700;margin-bottom:.6rem;margin-top:0;max-width:240px;overflow:hidden;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-word}.profile-hover-card .username-link{color:var(--text-lighter);margin-right:4px;text-decoration:none}.profile-hover-card .username-follows-you{margin:4px 0}.profile-hover-card .username-follows-you span{background-color:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const s=r},14185:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(76798),r=a.n(i)()((function(t){return t[1]}));r.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const s=r},96125:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(85072),r=a.n(i),s=a(7972),o={insert:"head",singleton:!1};r()(s.default,o);const n=s.default.locals||{}},86569:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(85072),r=a.n(i),s=a(97076),o={insert:"head",singleton:!1};r()(s.default,o);const n=s.default.locals||{}},96259:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(85072),r=a.n(i),s=a(35518),o={insert:"head",singleton:!1};r()(s.default,o);const n=s.default.locals||{}},67621:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(85072),r=a.n(i),s=a(93100),o={insert:"head",singleton:!1};r()(s.default,o);const n=s.default.locals||{}},89598:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(85072),r=a.n(i),s=a(14185),o={insert:"head",singleton:!1};r()(s.default,o);const n=s.default.locals||{}},95301:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(12574),r=a(55670),s={};for(const t in r)"default"!==t&&(s[t]=()=>r[t]);a.d(e,s);a(68838);const o=(0,a(14486).default)(r.default,i.render,i.staticRenderFns,!1,null,"bd901ba2",null).exports},18011:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(13230),r=a(30328),s={};for(const t in r)"default"!==t&&(s[t]=()=>r[t]);a.d(e,s);a(92902);const o=(0,a(14486).default)(r.default,i.render,i.staticRenderFns,!1,null,"445f6b73",null).exports},5787:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(16286),r=a(80260),s={};for(const t in r)"default"!==t&&(s[t]=()=>r[t]);a.d(e,s);a(68840);const o=(0,a(14486).default)(r.default,i.render,i.staticRenderFns,!1,null,null,null).exports},90414:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(82704),r=a(55597),s={};for(const t in r)"default"!==t&&(s[t]=()=>r[t]);a.d(e,s);const o=(0,a(14486).default)(r.default,i.render,i.staticRenderFns,!1,null,null,null).exports},90198:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(79977);const r=(0,a(14486).default)({},i.render,i.staticRenderFns,!1,null,null,null).exports},50294:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(95728),r=a(33417),s={};for(const t in r)"default"!==t&&(s[t]=()=>r[t]);a.d(e,s);const o=(0,a(14486).default)(r.default,i.render,i.staticRenderFns,!1,null,null,null).exports},34719:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(38888),r=a(42260),s={};for(const t in r)"default"!==t&&(s[t]=()=>r[t]);a.d(e,s);a(88814);const o=(0,a(14486).default)(r.default,i.render,i.staticRenderFns,!1,null,null,null).exports},28772:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(54017),r=a(75223),s={};for(const t in r)"default"!==t&&(s[t]=()=>r[t]);a.d(e,s);a(99387);const o=(0,a(14486).default)(r.default,i.render,i.staticRenderFns,!1,null,null,null).exports},55670:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(57141),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);const s=i.default},30328:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(98691),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);const s=i.default},80260:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(50371),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);const s=i.default},55597:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(84154),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);const s=i.default},33417:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(6140),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);const s=i.default},42260:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(3223),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);const s=i.default},75223:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(79318),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r);const s=i.default},12574:(t,e,a)=>{a.r(e);var i=a(35047),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},13230:(t,e,a)=>{a.r(e);var i=a(56571),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},16286:(t,e,a)=>{a.r(e);var i=a(69831),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},82704:(t,e,a)=>{a.r(e);var i=a(67153),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},79977:(t,e,a)=>{a.r(e);var i=a(11582),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},95728:(t,e,a)=>{a.r(e);var i=a(16331),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},38888:(t,e,a)=>{a.r(e);var i=a(53577),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},54017:(t,e,a)=>{a.r(e);var i=a(75274),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},68838:(t,e,a)=>{a.r(e);var i=a(96125),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},92902:(t,e,a)=>{a.r(e);var i=a(86569),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},68840:(t,e,a)=>{a.r(e);var i=a(96259),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},88814:(t,e,a)=>{a.r(e);var i=a(67621),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)},99387:(t,e,a)=>{a.r(e);var i=a(89598),r={};for(const t in i)"default"!==t&&(r[t]=()=>i[t]);a.d(e,r)}}]); \ No newline at end of file diff --git a/public/js/group-status.js b/public/js/group-status.js new file mode 100644 index 000000000..3f0e8cb2c --- /dev/null +++ b/public/js/group-status.js @@ -0,0 +1 @@ +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[9026],{72233:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>h});var a=s(79984),o=s(17108),i=s(95002),r=s(13094),n=s(58753),l=s(94559),c=s(19413),d=s(49268),u=s(33457),p=s(52505);function f(t){return function(t){if(Array.isArray(t))return m(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 m(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 m(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 m(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s1&&void 0!==arguments[1]&&arguments[1],s=new Date(t);return e?s.toDateString()+" · "+s.toLocaleTimeString():s.toDateString()},switchTab:function(t){window.scrollTo(0,0),"feed"==t&&this.permalinkMode&&(this.permalinkMode=!1,this.fetchFeed());var e="feed"==t?this.group.url:this.group.url+"/"+t;history.pushState(t,null,e),this.tab=t},joinGroup:function(){var t=this;this.requestingMembership=!0,axios.post("/api/v0/groups/"+this.groupId+"/join").then((function(e){t.requestingMembership=!1,t.group=e.data,t.fetchGroup(),t.fetchFeed()})).catch((function(e){var s=e.response;422==s.status&&(t.tab="feed",history.pushState("",null,t.group.url),t.requestingMembership=!1,swal("Oops!",s.data.error,"error"))}))},cancelJoinRequest:function(){var t=this;window.confirm("Are you sure you want to cancel your request to join this group?")&&axios.post("/api/v0/groups/"+this.groupId+"/cjr").then((function(e){t.requestingMembership=!1})).catch((function(t){var e=t.response;422==e.status&&swal("Oops!",e.data.error,"error")}))},leaveGroup:function(){var t=this;window.confirm("Are you sure you want to leave this group? Any content you shared will remain accessible. You won't be able to rejoin for 24 hours.")&&axios.post("/api/v0/groups/"+this.groupId+"/leave").then((function(e){t.tab="feed",history.pushState("",null,t.group.url),t.feed=[],t.isMember=!1,t.isAdmin=!1,t.group.self.role=null,t.group.self.is_member=!1}))},pushNewStatus:function(t){this.feed.unshift(t)},commentFocus:function(t){this.feed[t].showCommentDrawer=!0},statusDelete:function(t){this.feed.splice(t,1)},infiniteFeed:function(t){var e=this;if(this.feed.length<3)t.complete();else{var s="/api/v0/groups/"+this.groupId+"/feed";axios.get(s,{params:{limit:6,max_id:this.maxId}}).then((function(s){if(s.data.length){var a,o,i=s.data.filter((function(t){return-1==e.ids.indexOf(t.id)}));e.maxId=i[i.length-1].id,(a=e.feed).push.apply(a,f(i)),(o=e.ids).push.apply(o,f(i.map((function(t){return t.id})))),setTimeout((function(){e.initObservers()}),1e3),t.loaded()}else t.complete()}))}},decrementModCounter:function(t){var e=this.atabs.moderation_count;0!=e&&(this.atabs.moderation_count=e-t)},setModCounter:function(t){this.atabs.moderation_count=t},decrementJoinRequestCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=this.atabs.request_count;this.atabs.request_count=e-t},incrementMemberCount:function(){var t=this.group.member_count;this.group.member_count=t+1},copyLink:function(){window.App.util.clipboard(this.group.url),this.$bvToast.toast("Succesfully copied group url to clipboard",{title:"Success",variant:"success",autoHideDelay:5e3})},reportGroup:function(){var t=this;swal("Report Group","Are you sure you want to report this group?").then((function(e){e&&(location.href="/i/report?id=".concat(t.group.id,"&type=group"))}))},showSearchModal:function(){event.currentTarget.blur(),this.$refs.searchModal.open()},showInviteModal:function(){event.currentTarget.blur(),this.$refs.inviteModal.open()},showLikesModal:function(t){var e=this;this.likesId=this.feed[t].id,axios.get("/api/v0/groups/"+this.groupId+"/likes/"+this.likesId).then((function(t){e.likes=t.data,e.likesPage++,e.$refs.likeBox.show()}))},infiniteLikesHandler:function(t){var e=this;this.likes.length<3?t.complete():axios.get("/api/v0/groups/"+this.groupId+"/likes/"+this.likesId,{params:{page:this.likesPage}}).then((function(s){var a;s.data.length>0?((a=e.likes).push.apply(a,f(s.data)),e.likesPage++,10!=s.data.length?t.complete():t.loaded()):t.complete()}))}}}},68717:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(7764),o=s(66536);function i(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,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);s0&&(t.children={feed:[],can_load_more:!0}),t}));t.feed=s,t.isLoaded=!0,t.maxReplyId=e.data[e.data.length-1].id,3==t.feed.length&&(t.canLoadMore=!0)})).catch((function(e){t.isLoaded=!0}))},loadMoreComments:function(){var t=this;this.isLoadingMore=!0,axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:this.status.id,limit:3,max_id:this.maxReplyId}}).then((function(e){var s;if(e.data[e.data.length-1].id==t.maxReplyId)return t.isLoadingMore=!1,void(t.canLoadMore=!1);(s=t.feed).push.apply(s,i(e.data)),setTimeout((function(){t.isLoadingMore=!1}),500),t.maxReplyId=e.data[e.data.length-1].id,e.data.length>0?t.canLoadMore=!0:t.canLoadMore=!1})).catch((function(e){t.isLoadingMore=!1,t.canLoadMore=!1}))},storeComment:function(t){var e,s=this;null===(e=t.currentTarget)||void 0===e||e.blur(),axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,content:this.replyContent}).then((function(t){s.replyContent=null,s.feed.unshift(t.data)})).catch((function(t){422==t.response.status?(s.isUploading=!1,s.uploadProgress=0,swal("Oops!",t.response.data.error,"error")):(s.isUploading=!1,s.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},readMore:function(){this.readMoreCursor=this.readMoreCursor+200},likeComment:function(t,e,s){s.target.blur();var a=!t.favourited;this.feed[e].favourited=a,t.favourited=a,axios.post("/api/v0/groups/comment/".concat(a?"like":"unlike"),{sid:t.id,gid:this.groupId})},deleteComment:function(t){var e=this;0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/api/v0/groups/comment/delete",{gid:this.groupId,id:this.feed[t].id}).then((function(s){e.feed.splice(t,1)})).catch((function(t){console.log(t.response),swal("Error","Something went wrong. Please try again later.","error")}))},uploadImage:function(){this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=this,s=new FormData;s.append("gid",this.groupId),s.append("sid",this.status.id),s.append("photo",this.$refs.fileInput.files[0]),axios.post("/api/v0/groups/comment/photo",s,{onUploadProgress:function(t){e.uploadProgress=Math.floor(t.loaded/t.total*100)}}).then((function(e){t.isUploading=!1,t.uploadProgress=0,t.feed.unshift(e.data)})).catch((function(e){422==e.response.status?(t.isUploading=!1,t.uploadProgress=0,swal("Oops!",e.response.data.error,"error")):(t.isUploading=!1,t.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))}},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},replyToChild:function(t,e){var s=this;if(this.replyChildId==t.id)return this.replyChildId=null,void(this.replyChildIndex=null);this.childReplyContent=null,this.replyChildId=t.id,this.replyChildIndex=e,t.hasOwnProperty("replies_loaded")&&t.replies_loaded||this.$nextTick((function(){s.fetchChildReplies(t,e)}))},fetchChildReplies:function(t,e){var s=this;axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:t.id,cid:1,limit:3}}).then((function(t){s.feed[e].hasOwnProperty("children")?(s.feed[e].children.feed.push(t.data),s.feed[e].children.can_load_more=3==t.data.length):s.feed[e].children={feed:t.data,can_load_more:3==t.data.length},s.replyChildMinId=t.data[t.data.length-1].id,s.$nextTick((function(){s.feed[e].replies_loaded=!0}))})).catch((function(t){s.feed[e].children.can_load_more=!1}))},storeChildComment:function(t){var e=this;this.postingChildComment=!0,axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,cid:this.replyChildId,content:this.childReplyContent}).then((function(s){e.childReplyContent=null,e.postingChildComment=!1,e.feed[t].children.feed.push(s.data)})).catch((function(t){422==t.response.status?swal("Oops!",t.response.data.error,"error"):swal("Oops!","An error occured while processing your request, please try again later","error")}))},loadMoreChildComments:function(t,e){var s=this;this.loadingChildComments=!0,axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:t.id,max_id:this.replyChildMinId,cid:1,limit:3}}).then((function(t){var a;s.feed[e].hasOwnProperty("children")?((a=s.feed[e].children.feed).push.apply(a,i(t.data)),s.feed[e].children.can_load_more=3==t.data.length):s.feed[e].children={feed:t.data,can_load_more:3==t.data.length};s.replyChildMinId=t.data[t.data.length-1].id,s.feed[e].replies_loaded=!0,s.loadingChildComments=!1})).catch((function(t){}))}}}},78828:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(7764);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,a=new Array(e);s0?t.canLoadMore=!0:t.canLoadMore=!1})).catch((function(e){t.isLoadingMore=!1,t.canLoadMore=!1}))},storeComment:function(){var t=this;axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,content:this.replyContent}).then((function(e){t.replyContent=null,t.feed.unshift(e.data)})).catch((function(e){422==e.response.status?(t.isUploading=!1,t.uploadProgress=0,swal("Oops!",e.response.data.error,"error")):(t.isUploading=!1,t.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},readMore:function(){this.readMoreCursor=this.readMoreCursor+200},likeComment:function(t,e,s){s.target.blur();var a=!t.favourited;this.feed[e].favourited=a,t.favourited=a,axios.post("/api/v0/groups/like",{sid:t.id,gid:this.groupId})},deleteComment:function(t){var e=this;0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/api/v0/groups/status/delete",{gid:this.groupId,id:this.feed[t].id}).then((function(s){e.feed.splice(t,1)})).catch((function(t){console.log(t.response),swal("Error","Something went wrong. Please try again later.","error")}))},uploadImage:function(){this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=this,s=new FormData;s.append("gid",this.groupId),s.append("sid",this.status.id),s.append("photo",this.$refs.fileInput.files[0]),axios.post("/api/v0/groups/comment/photo",s,{onUploadProgress:function(t){e.uploadProgress=Math.floor(t.loaded/t.total*100)}}).then((function(e){t.isUploading=!1,t.uploadProgress=0,t.feed.unshift(e.data)})).catch((function(e){422==e.response.status?(t.isUploading=!1,t.uploadProgress=0,swal("Oops!",e.response.data.error,"error")):(t.isUploading=!1,t.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))}},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},replyToChild:function(t,e){this.replyChildId!=t.id?(this.childReplyContent=null,this.replyChildId=t.id,t.hasOwnProperty("replies_loaded")&&t.replies_loaded||this.fetchChildReplies(t,e)):this.replyChildId=null},fetchChildReplies:function(t,e){var s=this;axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:t.id,cid:1,limit:3}}).then((function(t){var a;s.feed[e].hasOwnProperty("children")?((a=s.feed[e].children.feed).push.apply(a,o(t.data)),s.feed[e].children.can_load_more=3==t.data.length):s.feed[e].children={feed:t.data,can_load_more:3==t.data.length};s.feed[e].replies_loaded=!0})).catch((function(t){}))},storeChildComment:function(){var t=this;this.postingChildComment=!0,axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,cid:this.replyChildId,content:this.childReplyContent}).then((function(e){t.childReplyContent=null,t.postingChildComment=!1})).catch((function(t){422==t.response.status?swal("Oops!",t.response.data.error,"error"):swal("Oops!","An error occured while processing your request, please try again later","error")})),console.log(this.replyChildId)}}}},15961:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(74692);const o={props:{status:{type:Object},profile:{type:Object},type:{type:String,default:"status",validator:function(t){return["status","comment","profile"].includes(t)}},groupId:{type:String}},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}},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("/api/v0/groups/".concat(e.groupId,"/report/create"),{type:t,id:s}).then((function(t){e.closeCtxMenu(),swal("Report Sent!","We have successfully received your report.","success")})).catch((function(t){422==t.response.status?swal("Oops!",t.response.data.error,"error"):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,o=(t.account.username,t.id,""),i=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,i.closeModals(),i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.closeModals(),i.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,i.closeModals(),i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.closeModals(),i.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){a.feed=a.feed.filter((function(e){return e.id!=t.id})),swal("Success","Successfully unlisted post","success"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.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"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.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.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},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()}))}}}},91446:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{profile:{type:Object},groupId:{type:String}},data:function(){return{config:window.App.config,composeText:void 0,tab:null,placeholder:"Write something...",allowPhoto:!0,allowVideo:!0,allowPolls:!0,allowEvent:!0,pollOptionModel:null,pollOptions:[],pollExpiry:1440,uploadProgress:0,isUploading:!1,isPosting:!1,photoName:void 0,videoName:void 0}},methods:{newPost:function(){var t=this;if(!this.isPosting){this.isPosting=!0;var e=this,s="text",a=new FormData;switch(a.append("group_id",this.groupId),this.composeText&&this.composeText.length&&a.append("caption",this.composeText),this.tab){case"poll":if(!this.pollOptions||this.pollOptions.length<2||this.pollOptions.length>4)return void swal("Oops!","A poll must have 2-4 choices.","error");if(!this.composeText||this.composeText.length<5)return void swal("Oops!","A poll question must be at least 5 characters.","error");for(var o=0;o0&&void 0!==arguments[0])||arguments[0])&&event.currentTarget.blur(),this.tab=null,this.$refs.photoInput.value=null,this.photoName=null,this.$refs.videoInput.value=null,this.videoName=null}}}},15426:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{group:{type:Object}},methods:{timestampFormat:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=new Date(t);return e?s.toDateString()+" · "+s.toLocaleTimeString():s.toDateString()}}}},51796:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(2e4);s(87980);const o={props:{group:{type:Object},profile:{type:Object}},components:{"autocomplete-input":a.default},data:function(){return{query:"",recent:[],loaded:!1,usernames:[],isSubmitting:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){this.$refs.modal.hide()},autocompleteSearch:function(t){var e=this;return t&&0!=t.length?axios.post("/api/v0/groups/search/invite/friends",{q:t,g:this.group.id,v:"0.2"}).then((function(t){return t.data.filter((function(t){return-1==e.usernames.map((function(t){return t.username})).indexOf(t.username)}))})):[]},getSearchResultValue:function(t){return t.username},onSearchSubmit:function(t){this.usernames.push(t),this.$refs.autocomplete.value=""},removeUsername:function(t){event.currentTarget.blur(),this.usernames.splice(t,1)},submitInvites:function(){var t=this;this.isSubmitting=!0,event.currentTarget.blur(),axios.post("/api/v0/groups/search/invite/friends/send",{g:this.group.id,uids:this.usernames.map((function(t){return t.id}))}).then((function(e){t.usernames=[],t.isSubmitting=!1,t.close(),swal("Success","Successfully sent invite(s)","success")})).catch((function(e){t.usernames=[],t.isSubmitting=!1,422===e.response.status?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later","error"),t.close()}))}}}},43599:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(7764),o=s(69513);const i={props:{groupId:{type:String},status:{type:Object},profile:{type:Object}},components:{"read-more":a.default,"comment-drawer":o.default},data:function(){return{loaded:!1}},mounted:function(){this.init()},methods:{init:function(){this.loaded=!0,this.$refs.modal.show()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)}}}},89905:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(2e4);s(87980);const o={props:{group:{type:Object},profile:{type:Object}},components:{autocomplete:a.default},data:function(){return{query:"",recent:[],loaded:!1}},methods:{open:function(){this.fetchRecent(),this.$refs.modal.show()},close:function(){this.$refs.modal.hide()},fetchRecent:function(){var t=this;axios.get("/api/v0/groups/search/getrec",{params:{g:this.group.id}}).then((function(e){t.recent=e.data}))},autocompleteSearch:function(t){return!t||t.length<2?[]:axios.post("/api/v0/groups/search/lac",{q:t,g:this.group.id,v:"0.2"}).then((function(t){return t.data}))},getSearchResultValue:function(t){return t.username},onSearchSubmit:function(t){if(t.length<1)return[];axios.post("/api/v0/groups/search/addrec",{g:this.group.id,q:{value:t.username,action:t.url}}).then((function(e){location.href=t.url}))},viewMyActivity:function(){location.href="/groups/".concat(this.group.id,"/user/").concat(this.profile.id,"?rf=group_search")},viewGroupSearch:function(){location.href="/groups/home?ct=gsearch&rf=group_search&rfid=".concat(this.group.id)},addToRecentSearches:function(){}}}},6234:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>g});var a=s(69513),o=s(84125),i=s(78841),r=s(21466),n=s(98051),l=s(37128),c=s(61518),d=s(79427),u=s(42013),p=s(93934),f=s(40798),m=s(76746);function h(t){return function(t){if(Array.isArray(t))return v(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 v(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 v(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 v(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s@'+o+"";case"from":return a+' from '+o+"";case"custom":return a+' '+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){e.currentTarget.blur();var s=t.favourites_count,a=t.favourited?"unlike":"like";axios.post("/api/v0/groups/status/"+a,{sid:t.id,gid:this.groupId}).then((function(o){t.favourited=a,t.favourites_count=a?s+1:s-1,t.favourited=a,t.favourited&&setTimeout((function(){e.target.classList.add("animate__animated","animate__bounce")}),100)})).catch((function(t){422==t.response.status?swal("Error",t.response.data.error,"error"):swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200)},commentFocus:function(t){t.target.blur(),this.showCommentDrawer=!this.showCommentDrawer},commentSubmit:function(t,e){var s=this;this.replySending=!0;var a=t.id,o=this.replyText,i=this.config.uploader.max_caption_length;if(o.length>i)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+i+" characters or less.","error");axios.post("/i/comment",{item:a,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")},showPostModal:function(){this.showModal=!0,this.$refs.modal.init()},showLikesModal:function(t){t&&t.hasOwnProperty("currentTarget")&&t.currentTarget().blur(),this.$emit("likes-modal")},infiniteLikesHandler:function(t){var e=this;axios.get("/api/v0/groups/"+this.groupId+"/likes/"+this.status.id,{params:{page:this.likesPage}}).then((function(s){var a,o=s.data;o.data.length>0?((a=e.likes).push.apply(a,h(o.data)),e.likesPage++,t.loaded()):t.complete()}))}}}},96895:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={}},70714:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{group:{type:Object}}}},9125:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{group:{type:Object},isAdmin:{type:Boolean,default:!1},isMember:{type:Boolean,default:!1}},data:function(){return{requestingMembership:!1}},methods:{joinGroup:function(){var t=this;this.requestingMembership=!0,axios.post("/api/v0/groups/"+this.group.id+"/join").then((function(e){t.requestingMembership=!1,t.$emit("refresh")})).catch((function(e){var s=e.response;422==s.status&&(t.requestingMembership=!1,swal("Oops!",s.data.error,"error"))}))},cancelJoinRequest:function(){var t=this;window.confirm("Are you sure you want to cancel your request to join this group?")&&axios.post("/api/v0/groups/"+this.group.id+"/cjr").then((function(e){t.requestingMembership=!1,t.$emit("refresh")})).catch((function(t){var e=t.response;422==e.status&&swal("Oops!",e.data.error,"error")}))},leaveGroup:function(){var t=this;window.confirm("Are you sure you want to leave this group? Any content you shared will remain accessible. You won't be able to rejoin for 24 hours.")&&axios.post("/api/v0/groups/"+this.group.id+"/leave").then((function(e){t.$emit("refresh")}))}}}},11493:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(94559);const o={props:{group:{type:Object},isAdmin:{type:Boolean,default:!1},isMember:{type:Boolean,default:!1},atabs:{type:Object},profile:{type:Object}},components:{"search-modal":a.default},methods:{showSearchModal:function(){event.currentTarget.blur(),this.$refs.searchModal.open()}}}},79270:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{fullContent:null,content:null,cursor:200}},mounted:function(){this.cursor=this.cursorLimit,this.fullContent=this.status.content,this.content=this.status.content.substr(0,this.cursor)},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)}}}},33664:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{group:{type:Object},status:{type:Object},profile:{type:Object},showGroupHeader:{type:Boolean,default:!1},showGroupChevron:{type:Boolean,default:!1}},data:function(){return{reportTypes:[{key:"spam",title:"It's spam"},{key:"sensitive",title:"Nudity or sexual activity"},{key:"abusive",title:"Bullying or harassment"},{key:"underage",title:"I think this account is underage"},{key:"violence",title:"Violence or dangerous organizations"},{key:"copyright",title:"Copyright infringement"},{key:"impersonation",title:"Impersonation"},{key:"scam",title:"Scam or fraud"},{key:"terrorism",title:"Terrorism or terrorism-related content"}]}},methods:{formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return"/groups/"+t.gid+"/p/"+t.id},profileUrl:function(t){return"/groups/"+t.gid+"/user/"+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,o=document.createElement("a");switch(o.href=t.account.url,o=o.hostname,e){case"@":default:return a+'@'+o+"";case"from":return a+' from '+o+"";case"custom":return a+' '+s+" "+o+""}},sendReport:function(t){var e=this,s=document.createElement("div");s.classList.add("list-group"),this.reportTypes.forEach((function(t){var e=document.createElement("button");e.classList.add("list-group-item","small"),e.innerHTML=t.title,e.onclick=function(){document.dispatchEvent(new CustomEvent("reportOption",{detail:{key:t.key,title:t.title}}))},s.appendChild(e)}));var a=document.createElement("div");a.appendChild(s),swal({title:"Report Content",icon:"warning",content:a,buttons:!1}),document.addEventListener("reportOption",(function(t){console.log(t.detail),e.showConfirmation(t.detail)}),{once:!0})},showConfirmation:function(t){var e=this;console.log(t),swal({title:"Confirmation",text:"You selected ".concat(t.title,". Do you want to proceed?"),icon:"info",buttons:!0}).then((function(s){s?axios.post("/api/v0/groups/".concat(e.status.gid,"/report/create"),{type:t.key,id:e.status.id}).then((function(t){swal("Confirmed!","Your report has been submitted.","success")})):swal("Cancelled","Your report was not submitted.","error")}))}}}},75e3:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(69513);const o={props:{showCommentDrawer:{type:Boolean},permalinkMode:{type:Boolean},childContext:{type:Object},status:{type:Object},profile:{type:Object},groupId:{type:String}},components:{"comment-drawer":a.default}}},33422:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"]}},36639:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(18634);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,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)}}}}},9266:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(18634);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,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}}}},35986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"]}},25189:(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")},poster:function(){var t=this.status.media_attachments[0].preview_url;if(!t.endsWith("no-preview.jpg")&&!t.endsWith("no-preview.png"))return t}}}},59293:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(71307);const o={props:{gid:{type:String},sid:{type:String}},components:{"group-feed":a.default}}},70384:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(74692);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()},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,o=(t.account.username,t.id,""),i=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,i.closeModals(),i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.closeModals(),i.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,i.closeModals(),i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.closeModals(),i.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){a.feed=a.feed.filter((function(e){return e.id!=t.id})),swal("Success","Successfully unlisted post","success"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.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"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.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()}))}}}},78615:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(53744),o=s(74692);const i={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:()=>r});var a=s(53744),o=s(78841),i=s(74692);const r={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":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,a=t.account.username,o=document.createElement("a");switch(o.href=t.account.url,o=o.hostname,e){case"@":default:return a+'@'+o+"";case"from":return a+' from '+o+"";case"custom":return a+' '+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!=i("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,o=this.replyText,i=this.config.uploader.max_caption_length;if(o.length>i)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+i+" characters or less.","error");axios.post("/i/comment",{item:a,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)}}}},91057:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-feed-component"},[t.initalLoad?e("div",[e("div",{staticClass:"mb-3 border-bottom"},[e("div",{staticClass:"container-xl"},[e("group-banner",{attrs:{group:t.group}}),t._v(" "),e("group-header-details",{attrs:{group:t.group,isAdmin:t.isAdmin,isMember:t.isMember},on:{refresh:t.handleRefresh}}),t._v(" "),e("group-nav-tabs",{attrs:{group:t.group,isAdmin:t.isAdmin,isMember:t.isMember,atabs:t.atabs}})],1)]),t._v(" "),e("div",{staticClass:"container-xl group-feed-component-body"},[e("div",{staticClass:"row mb-5"},[e("div",{staticClass:"col-12 col-md-7 mt-3"},[t.group.self.is_member?e("div",[t.initalLoad?e("group-compose",{attrs:{profile:t.profile,"group-id":t.groupId},on:{"new-status":t.pushNewStatus}}):t._e(),t._v(" "),0==t.feed.length?e("div",{staticClass:"mt-3"},[t._m(0)]):e("div",{staticClass:"group-timeline"},[e("p",{staticClass:"font-weight-bold mb-1"},[t._v("Recent Posts")]),t._v(" "),t._l(t.feed,(function(s,a){return e("group-status",{key:"gs:"+s.id+a,attrs:{prestatus:s,profile:t.profile,"group-id":t.groupId},on:{"comment-focus":function(e){return t.commentFocus(a)},"status-delete":function(e){return t.statusDelete(a)},"likes-modal":function(e){return t.showLikesModal(a)}}})})),t._v(" "),e("b-modal",{ref:"likeBox",attrs:{size:"sm",centered:"","hide-footer":"",title:"Likes","body-class":"list-group-flush p-0"}},[e("div",{staticClass:"list-group py-1",staticStyle:{"max-height":"300px","overflow-y":"auto"}},[t._l(t.likes,(function(s,a){return e("div",{key:"modal_likes_"+a,staticClass:"list-group-item border-top-0 border-left-0 border-right-0 py-2",class:{"border-bottom-0":a+1==t.likes.length}},[e("div",{staticClass:"media align-items-center"},[e("a",{attrs:{href:s.url}},[e("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:s.avatar,alt:s.username+"’s avatar",width:"30px",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:s.url}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.local?e("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\t\t\t\t"+t._s(s.display_name)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t")]):e("p",{staticClass:"text-muted mb-0 text-truncate mr-3",staticStyle:{"font-size":"14px"},attrs:{title:s.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.acct.split("@")[0]))]),e("span",{staticClass:"text-lighter"},[t._v("@"+t._s(s.acct.split("@")[1]))])])])])])})),t._v(" "),e("infinite-loading",{attrs:{distance:800,spinner:"spiral"},on:{infinite:t.infiniteLikesHandler}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],2)]),t._v(" "),t.feed.length>2?e("div",{attrs:{distance:800}},[e("infinite-loading",{on:{infinite:t.infiniteFeed}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1):t._e()],2)],1):e("div",[t._m(1)])]),t._v(" "),e("div",{staticClass:"col-12 col-md-5"},[e("group-info-card",{attrs:{group:t.group}})],1)]),t._v(" "),e("search-modal",{ref:"searchModal",attrs:{group:t.group,profile:t.profile}}),t._v(" "),e("invite-modal",{ref:"inviteModal",attrs:{group:t.group,profile:t.profile}})],1)]):e("div",[e("p",{staticClass:"text-center mt-5 pt-5 font-weight-bold"},[t._v("Loading...")])])])},o=[function(){var t=this._self._c;return t("div",{staticClass:"card card-body shadow-none border d-flex align-items-center justify-content-center",staticStyle:{height:"200px"}},[t("p",{staticClass:"font-weight-bold mb-0"},[this._v("No posts yet!")])])},function(){var t=this._self._c;return t("div",{staticClass:"card card-body mt-3 shadow-none border d-flex align-items-center justify-content-center",staticStyle:{height:"100px"}},[t("p",{staticClass:"lead mb-0"},[this._v("Join to participate in this group.")])])}]},37773:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t,e,s=this,a=s._self._c;return a("div",{staticClass:"comment-drawer-component"},[a("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:s.handleImageUpload}}),s._v(" "),s.hide?a("div"):s.isLoaded?a("div",{staticClass:"border-top"},[a("div",{staticClass:"my-3"},s._l(s.feed,(function(t,e){return a("div",{key:"cdf"+e+t.id,staticClass:"media media-status align-items-top"},[s.replyChildId==t.id?a("a",{staticClass:"comment-border-link",attrs:{href:"#comment-1"},on:{click:function(e){return e.preventDefault(),s.replyToChild(t)}}},[a("span",{staticClass:"sr-only"},[s._v("Jump to comment-"+s._s(e))])]):s._e(),s._v(" "),a("a",{attrs:{href:t.account.url}},[a("img",{staticClass:"rounded-circle media-avatar border",attrs:{src:t.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),s._v(" "),a("div",{staticClass:"media-body"},[t.media_attachments.length?a("div",[a("p",{staticClass:"media-body-comment-username"},[a("a",{attrs:{href:t.account.url}},[s._v("\n\t\t\t\t\t\t\t\t\t"+s._s(t.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),s._v(" "),a("div",{staticClass:"bh-comment",on:{click:function(e){return s.lightbox(t)}}},[a("blur-hash-image",{staticClass:"img-fluid rounded-lg border shadow",attrs:{width:s.blurhashWidth(t),height:s.blurhashHeight(t),punch:1,hash:t.media_attachments[0].blurhash,src:s.getMediaSource(t)}})],1)]):a("div",{staticClass:"media-body-comment"},[a("p",{staticClass:"media-body-comment-username"},[a("a",{attrs:{href:t.account.url}},[s._v("\n\t\t\t\t\t\t\t\t\t"+s._s(t.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),s._v(" "),a("read-more",{attrs:{status:t}})],1),s._v(" "),a("p",{staticClass:"media-body-reactions"},[s.profile?a("a",{staticClass:"font-weight-bold",class:[t.favourited?"text-primary":"text-muted"],attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),s.likeComment(t,e,a)}}},[s._v("\n\t\t\t\t\t\t\t\t\t"+s._s(t.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]):s._e(),s._v(" "),a("span",{staticClass:"mx-1"},[s._v("·")]),s._v(" "),a("a",{staticClass:"text-muted font-weight-bold",attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),s.replyToChild(t,e)}}},[s._v("Reply")]),s._v(" "),s.profile?a("span",{staticClass:"mx-1"},[s._v("·")]):s._e(),s._v(" "),s._o(a("a",{staticClass:"font-weight-bold text-muted",attrs:{href:t.url}},[s._v("\n\t\t\t\t\t\t\t\t"+s._s(s.shortTimestamp(t.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cdf"+e+t.id),s._v(" "),s.profile&&t.account.id===s.profile.id?a("span",[a("span",{staticClass:"mx-1"},[s._v("·")]),s._v(" "),a("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),s.deleteComment(e)}}},[s._v("\n\t\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t\t")])]):s._e()]),s._v(" "),s.replyChildIndex==e&&t.hasOwnProperty("children")&&t.children.hasOwnProperty("feed")&&t.children.feed.length?a("div",s._l(t.children.feed,(function(t,e){return a("comment-post",{key:"scp_"+e+"_"+t.id,attrs:{status:t,profile:s.profile,commentBorderArrow:!0}})})),1):s._e(),s._v(" "),s.replyChildIndex==e&&t.hasOwnProperty("children")&&t.children.hasOwnProperty("can_load_more")&&1==t.children.can_load_more?a("a",{staticClass:"text-muted font-weight-bold mt-1 mb-0",staticStyle:{"font-size":"13px"},attrs:{href:"#",disabled:s.loadingChildComments},on:{click:function(a){return a.preventDefault(),s.loadMoreChildComments(t,e)}}},[a("div",{staticClass:"comment-border-arrow"}),s._v(" "),a("i",{staticClass:"far fa-long-arrow-right mr-1"}),s._v("\n\t\t\t\t\t\t\t"+s._s(s.loadingChildComments?"Loading":"Load")+" more comments\n\t\t\t\t\t\t")]):s.replyChildIndex!==e&&t.hasOwnProperty("children")&&t.children.hasOwnProperty("can_load_more")&&1==t.children.can_load_more&&t.reply_count>0&&!s.loadingChildComments?a("a",{staticClass:"text-muted font-weight-bold mt-1 mb-0",staticStyle:{"font-size":"13px"},attrs:{href:"#",disabled:s.loadingChildComments},on:{click:function(a){return a.preventDefault(),s.replyToChild(t,e)}}},[a("i",{staticClass:"far fa-long-arrow-right mr-1"}),s._v("\n\t\t\t\t\t\t\t"+s._s(s.loadingChildComments?"Loading":"Load")+" more comments\n\t\t\t\t\t\t")]):s._e(),s._v(" "),s.replyChildId==t.id?a("div",{staticClass:"mt-3 mb-3 d-flex align-items-top reply-form child-reply-form"},[a("div",{staticClass:"comment-border-arrow"}),s._v(" "),a("img",{staticClass:"rounded-circle mr-2 border",attrs:{src:s.avatar,width:"38",height:"38",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}),s._v(" "),s.isUploading?a("div",{staticClass:"w-100"},[a("p",{staticClass:"font-weight-light mb-1"},[s._v("Uploading image ...")]),s._v(" "),a("div",{staticClass:"progress rounded-pill",staticStyle:{height:"10px"}},[a("div",{staticClass:"progress-bar progress-bar-striped progress-bar-animated",style:{width:s.uploadProgress+"%"},attrs:{role:"progressbar","aria-valuenow":s.uploadProgress,"aria-valuemin":"0","aria-valuemax":"100"}})])]):a("div",{staticClass:"reply-form-input"},[a("input",{directives:[{name:"model",rawName:"v-model",value:s.childReplyContent,expression:"childReplyContent"}],staticClass:"form-control bg-light border-lighter rounded-pill",attrs:{placeholder:"Write a comment....",disabled:s.postingChildComment},domProps:{value:s.childReplyContent},on:{keyup:function(t){return!t.type.indexOf("key")&&s._k(t.keyCode,"enter",13,t.key,"Enter")?null:s.storeChildComment(e)},input:function(t){t.target.composing||(s.childReplyContent=t.target.value)}}})])]):s._e()])])})),0),s._v(" "),s.canLoadMore?a("button",{staticClass:"btn btn-link btn-sm text-muted mb-2",attrs:{disabled:s.isLoadingMore},on:{click:s.loadMoreComments}},[s.isLoadingMore?a("div",{staticClass:"spinner-border spinner-border-sm text-muted",attrs:{role:"status"}},[a("span",{staticClass:"sr-only"},[s._v("Loading...")])]):a("span",[s._v("\n\t\t\t\t\tLoad more comments ...\n\t\t\t\t")])]):s._e(),s._v(" "),s.profile&&s.canReply?a("div",{staticClass:"mt-3 mb-n3"},[a("div",{staticClass:"d-flex align-items-top reply-form cdrawer-reply-form"},[a("img",{staticClass:"rounded-circle mr-2 border",attrs:{src:s.avatar,width:"38",height:"38",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}),s._v(" "),s.isUploading?a("div",{staticClass:"w-100"},[a("p",{staticClass:"font-weight-light small text-muted mb-1"},[s._v("Uploading image ...")]),s._v(" "),a("div",{staticClass:"progress rounded-pill",staticStyle:{height:"10px"}},[a("div",{staticClass:"progress-bar progress-bar-striped progress-bar-animated",style:{width:s.uploadProgress+"%"},attrs:{role:"progressbar","aria-valuenow":s.uploadProgress,"aria-valuemin":"0","aria-valuemax":"100"}})])]):a("div",{staticClass:"w-100"},[a("div",{staticClass:"reply-form-input"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:s.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light border-lighter",attrs:{placeholder:"Write a comment....",rows:s.replyContent&&s.replyContent.length>40?4:1},domProps:{value:s.replyContent},on:{input:function(t){t.target.composing||(s.replyContent=t.target.value)}}}),s._v(" "),a("div",{staticClass:"reply-form-input-actions"},[a("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:s.uploadImage}},[a("i",{staticClass:"far fa-image fa-lg"})])])]),s._v(" "),a("div",{staticClass:"d-flex justify-content-between reply-form-menu"},[a("div",{staticClass:"char-counter"},[a("span",[s._v(s._s(null!==(t=null===(e=s.replyContent)||void 0===e?void 0:e.length)&&void 0!==t?t:0))]),s._v(" "),a("span",[s._v("/")]),s._v(" "),a("span",[s._v("500")])])])]),s._v(" "),a("button",{staticClass:"btn btn-link btn-sm font-weight-bold align-self-center ml-3 mb-3",on:{click:s.storeComment}},[s._v("Post")])])]):s._e()]):a("div",{staticClass:"border-top d-flex justify-content-center py-3"},[s._m(0)]),s._v(" "),a("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"}},[s.lightboxStatus?a("div",{on:{click:s.hideLightbox}},[a("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:s.lightboxStatus.url}})]):s._e()])],1)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"text-center"},[e("div",{staticClass:"spinner-border text-lighter",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]),t._v(" "),e("p",{staticClass:"text-muted"},[t._v("Loading Comments ...")])])}]},16560:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-post-component"},[e("div",{staticClass:"media media-status align-items-top mt-3"},[t.commentBorderArrow?e("div",{staticClass:"comment-border-arrow"}):t._e(),t._v(" "),e("a",{attrs:{href:t.status.account.url}},[e("img",{staticClass:"rounded-circle media-avatar border",attrs:{src:t.status.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),t._v(" "),e("div",{staticClass:"media-body"},[t.status.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:t.status.account.url}},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"bh-comment",on:{click:function(e){return t.lightbox(t.status)}}},[e("blur-hash-image",{staticClass:"img-fluid rounded-lg border shadow",attrs:{width:t.blurhashWidth(t.status),height:t.blurhashHeight(t.status),punch:1,hash:t.status.media_attachments[0].blurhash,src:t.getMediaSource(t.status)}})],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:t.status.account.url}},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t")])]),t._v(" "),e("read-more",{attrs:{status:t.status}})],1),t._v(" "),e("p",{staticClass:"media-body-reactions"},[t.profile?e("a",{staticClass:"font-weight-bold",class:[t.status.favourited?"text-primary":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.likeComment(t.status,t.index,e)}}},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t")]):t._e(),t._v(" "),t.profile?e("span",{staticClass:"mx-1"},[t._v("·")]):t._e(),t._v(" "),t._m(0),t._v(" "),t.profile&&t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(t.index)}}},[t._v("\n\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t")])]):t._e()])])])])},o=[function(){var t=this;return(0,t._self._c)("a",{staticClass:"font-weight-bold text-muted",attrs:{href:t.status.url}},[t._v("\n\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t")])}]},57442:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"context-menu-component modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("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.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.ctxEmbedShowCaption=s.concat([null])):i>-1&&(t.ctxEmbedShowCaption=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowCaption=o}}}),t._v(" "),e("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(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.ctxEmbedShowLikes=s.concat([null])):i>-1&&(t.ctxEmbedShowLikes=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowLikes=o}}}),t._v(" "),e("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(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.ctxEmbedCompactMode=s.concat([null])):i>-1&&(t.ctxEmbedCompactMode=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedCompactMode=o}}}),t._v(" "),e("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(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},o=[]},54968:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-compose-form"},[e("input",{ref:"photoInput",staticClass:"d-none file-input",attrs:{id:"photoInput",type:"file",accept:"image/jpeg,image/png"},on:{change:t.handlePhotoChange}}),t._v(" "),e("input",{ref:"videoInput",staticClass:"d-none file-input",attrs:{id:"videoInput",type:"file",accept:"video/mp4"},on:{change:t.handleVideoChange}}),t._v(" "),e("div",{staticClass:"card card-body border mb-3 shadow-sm rounded-lg"},[e("div",{staticClass:"media align-items-top"},[t.profile?e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:t.profile.avatar,width:"42px",height:"42px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}):t._e(),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"d-block",staticStyle:{"min-height":"80px"}},[t.isUploading?e("div",{staticClass:"w-100"},[e("p",{staticClass:"font-weight-light mb-1"},[t._v("Uploading media ...")]),t._v(" "),e("div",{staticClass:"progress rounded-pill",staticStyle:{height:"4px"}},[e("div",{staticClass:"progress-bar",style:{width:t.uploadProgress+"%"},attrs:{role:"progressbar","aria-valuenow":t.uploadProgress,"aria-valuemin":"0","aria-valuemax":"100"}})])]):e("div",{staticClass:"form-group mb-3"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control",class:{"form-control-lg":!t.composeText||t.composeText.length<40,"rounded-pill":!t.composeText||t.composeText.length<40,"bg-light":!t.composeText||t.composeText.length<40,"border-0":!t.composeText||t.composeText.length<40},staticStyle:{resize:"none"},attrs:{rows:!t.composeText||t.composeText.length<40?1:5,placeholder:t.placeholder},domProps:{value:t.composeText},on:{input:function(e){e.target.composing||(t.composeText=e.target.value)}}}),t._v(" "),t.composeText?e("div",{staticClass:"small text-muted mt-1",staticStyle:{"min-height":"20px"}},[e("span",{staticClass:"float-right font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.composeText?t.composeText.length:0)+"/500\n\t\t\t\t\t\t\t")])]):t._e()])]),t._v(" "),t.tab?e("div",{staticClass:"tab"},["poll"===t.tab?e("div",[e("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?e("div",{staticClass:"form-group mb-4"},[e("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(s,a){return e("div",{staticClass:"form-group mb-4 d-flex align-items-center",staticStyle:{"max-width":"400px",position:"relative"}},[e("span",{staticClass:"font-weight-bold mr-2",staticStyle:{position:"absolute",left:"10px"}},[t._v(t._s(a+1)+".")]),t._v(" "),t.pollOptions[a].length<50?e("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[a],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[a]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,a,e.target.value)}}}):e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[a],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[a]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,a,e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-danger btn-sm rounded-pill font-weight-bold",staticStyle:{position:"absolute",right:"5px"},on:{click:function(e){return t.deletePollOption(a)}}},[e("i",{staticClass:"fas fa-trash"}),t._v(" Delete\n\t\t\t\t\t\t\t")])])})),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("div",[e("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(" "),e("div",{staticClass:"form-group"},[e("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 s=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?s:s[0]}}},[e("option",{attrs:{value:"60"}},[t._v("1 hour")]),t._v(" "),e("option",{attrs:{value:"360"}},[t._v("6 hours")]),t._v(" "),e("option",{attrs:{value:"1440",selected:""}},[t._v("24 hours")]),t._v(" "),e("option",{attrs:{value:"10080"}},[t._v("7 days")])])])])])],2):t._e()]):t._e(),t._v(" "),t.isUploading?t._e():e("div",{},[e("div",[t.photoName&&t.photoName.length?e("div",{staticClass:"bg-light rounded-pill mb-4 py-2"},[e("div",{staticClass:"media align-items-center"},[t._m(0),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 font-weight-bold text-muted"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.photoName)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e("button",{staticClass:"btn btn-link font-weight-bold text-decoration-none",on:{click:function(e){return e.preventDefault(),t.clearFileInputs.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),t.videoName&&t.videoName.length?e("div",{staticClass:"bg-light rounded-pill mb-4 py-2"},[e("div",{staticClass:"media align-items-center"},[t._m(1),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 font-weight-bold text-muted"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.videoName)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e("button",{staticClass:"btn btn-link font-weight-bold text-decoration-none",on:{click:function(e){return e.preventDefault(),t.clearFileInputs.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])])]):t._e()]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light border font-weight-bold py-1 px-2 rounded-lg mr-3",attrs:{disabled:t.photoName||t.videoName},on:{click:function(e){return t.switchTab("photo")}}},[e("i",{staticClass:"fal fa-image mr-2"}),t._v(" "),e("span",[t._v("Add Photo")])])])])])]),t._v(" "),!t.isUploading&&t.composeText&&t.composeText.length>1||!t.isUploading&&["photo","video"].includes(t.tab)?e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-primary font-weight-bold float-right px-5 rounded-pill mt-3",attrs:{disabled:t.isPosting},on:{click:function(e){return t.newPost()}}},[t.isPosting?e("span",[t._m(2)]):e("span",[t._v("Post")])])]):t._e()])])},o=[function(){var t=this._self._c;return t("span",{staticClass:"d-flex align-items-center justify-content-center bg-primary mx-3",staticStyle:{width:"40px",height:"40px","border-radius":"50px",opacity:"0.6"}},[t("i",{staticClass:"fal fa-image fa-lg text-white"})])},function(){var t=this._self._c;return t("span",{staticClass:"d-flex align-items-center justify-content-center bg-primary mx-3",staticStyle:{width:"40px",height:"40px","border-radius":"50px",opacity:"0.6"}},[t("i",{staticClass:"fal fa-video fa-lg text-white"})])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border text-white spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},26177:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-info-card"},[e("div",{staticClass:"card card-body mt-3 shadow-none border rounded-lg"},[e("p",{staticClass:"title"},[t._v("About")]),t._v(" "),t.group.description&&t.group.description.length>1?e("p",{staticClass:"description",domProps:{innerHTML:t._s(t.group.description)}}):e("p",{staticClass:"description"},[t._v("This group does not have a description.")])]),t._v(" "),e("div",{staticClass:"card card-body mt-3 shadow-none border rounded-lg"},["all"==t.group.membership?e("div",{staticClass:"fact"},[t._m(0),t._v(" "),t._m(1)]):t._e(),t._v(" "),"private"==t.group.membership?e("div",{staticClass:"fact"},[t._m(2),t._v(" "),t._m(3)]):t._e(),t._v(" "),1==t.group.config.discoverable?e("div",{staticClass:"fact"},[t._m(4),t._v(" "),t._m(5)]):t._e(),t._v(" "),0==t.group.config.discoverable?e("div",{staticClass:"fact"},[t._m(6),t._v(" "),t._m(7)]):t._e(),t._v(" "),e("div",{staticClass:"fact"},[t._m(8),t._v(" "),e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v(t._s(t.group.category.name))]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Category")])])]),t._v(" "),e("p",{staticClass:"mb-0 font-weight-light text-lighter"},[t._v("Created: "+t._s(t.timestampFormat(t.group.created_at)))])])])},o=[function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-globe fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Public")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Anyone can see who's in the group and what they post.")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-lock fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Private")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Only members can see who's in the group and what they post.")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-eye fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Visible")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Anyone can find this group.")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-eye-slash fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Hidden")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Only members can find this group.")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-users fa-lg"})])}]},22224:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-invite-modal"},[e("b-modal",{ref:"modal",attrs:{"hide-header":"","hide-footer":"",centered:"",rounded:"","body-class":"rounded group-invite-modal-wrapper"}},[e("div",{staticClass:"text-center py-3 d-flex align-items-center flex-column"},[e("div",{staticClass:"bg-light rounded-circle d-flex justify-content-center align-items-center mb-3",staticStyle:{width:"100px",height:"100px"}},[e("i",{staticClass:"far fa-user-plus fa-2x text-lighter"})]),t._v(" "),e("p",{staticClass:"h4 font-weight-bold mb-0"},[t._v("Invite Friends")])]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.usernames.length<5?e("div",{staticClass:"d-flex justify-content-between mt-1"},[e("autocomplete",{ref:"autocomplete",staticStyle:{width:"100%"},attrs:{search:t.autocompleteSearch,placeholder:"Search friends by username","aria-label":"Search this group","get-result-value":t.getSearchResultValue,debounceTime:700},on:{submit:t.onSearchSubmit},scopedSlots:t._u([{key:"result",fn:function(s){var a=s.result,o=s.props;return[e("li",t._b({staticClass:"autocomplete-result"},"li",o,!1),[e("div",{staticClass:"text-truncate"},[e("p",{staticClass:"result-name mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(a.username)+"\n\t\t\t\t\t\t\t\t")])])])]}}],null,!1,3929251)}),t._v(" "),e("button",{staticClass:"btn btn-light border rounded-circle text-lighter ml-3",staticStyle:{width:"52px",height:"50px"},on:{click:t.close}},[e("i",{staticClass:"fal fa-times fa-lg"})])],1):t._e()]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.usernames.length?e("div",{staticClass:"pt-3"},t._l(t.usernames,(function(s,a){return e("div",{staticClass:"py-1"},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:"/storage/avatars/default.jpg",width:"45",height:"45"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"lead mb-0"},[t._v(t._s(s.username))])]),t._v(" "),e("button",{staticClass:"btn btn-link text-lighter btn-sm",on:{click:function(e){return t.removeUsername(a)}}},[e("i",{staticClass:"far fa-times-circle fa-lg"})])])])})),0):t._e()]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.usernames&&t.usernames.length?e("button",{staticClass:"btn btn-primary btn-lg btn-block font-weight-bold rounded font-weight-bold mt-3",on:{click:t.submitInvites}},[t._v("Invite")]):t._e()]),t._v(" "),e("div",{staticClass:"text-center pt-3 small"},[e("p",{staticClass:"mb-0"},[t._v("You can invite up to 5 friends at a time, and 20 friends in total.")])])],1)],1)},o=[]},64954:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-post-modal"},[e("b-modal",{ref:"modal",attrs:{size:"xl","hide-footer":"","hide-header":"",centered:"","body-class":"gpm p-0"}},[e("div",{staticClass:"d-flex"},[e("div",{staticClass:"gpm-media"},[e("img",{attrs:{src:t.status.media_attachments[0].preview_url}})]),t._v(" "),e("div",{staticClass:"p-3",staticStyle:{width:"30%"}},[e("div",{staticClass:"media align-items-center mb-2"},[e("a",{attrs:{href:t.status.account.url}},[e("img",{staticClass:"rounded-circle media-avatar border mr-2",attrs:{src:t.status.account.avatar,width:"32",height:"32"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username mb-n1"},[e("a",{staticClass:"text-dark text-decoration-none font-weight-bold",attrs:{href:t.status.account.url}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e("p",{staticClass:"media-body-comment-timestamp mb-0"},[e("a",{staticClass:"font-weight-light text-muted small",attrs:{href:t.status.url}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[t._v("·")]),t._v(" "),e("span",{staticClass:"text-muted small"},[e("i",{staticClass:"fas fa-globe"})])])])]),t._v(" "),e("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("read-more",{attrs:{status:t.status}}),t._v(" "),e("div",{staticClass:"border-top border-bottom mt-3"},[e("div",{staticClass:"d-flex justify-content-between",staticStyle:{padding:"8px 5px"}},[e("button",{staticClass:"btn btn-link py-0 text-decoration-none btn-sm",class:{"font-weight-bold":t.status.favourited,"text-primary":t.status.favourited,"text-muted":!t.status.favourited}},[e("i",{staticClass:"far fa-heart mr-1"}),t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none btn-sm text-muted"},[e("i",{staticClass:"far fa-comment cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\tComment\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none btn-sm",attrs:{disabled:""}},[e("i",{staticClass:"fas fa-external-link-alt cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\tShare\n\t\t\t\t\t\t")])])])],1)])])],1)},o=[]},83560:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t,e,s,a=this,o=a._self._c;return o("div",{staticClass:"group-search-modal"},[o("b-modal",{ref:"modal",attrs:{"hide-header":"","hide-footer":"",centered:"",rounded:"","body-class":"rounded group-search-modal-wrapper"}},[o("div",{staticClass:"d-flex justify-content-between"},[o("autocomplete",{ref:"autocomplete",staticStyle:{width:"100%"},attrs:{search:a.autocompleteSearch,placeholder:"Search this group","aria-label":"Search this group","get-result-value":a.getSearchResultValue,debounceTime:700},on:{submit:a.onSearchSubmit},scopedSlots:a._u([{key:"result",fn:function(t){var e=t.result,s=t.props;return[o("li",a._b({staticClass:"autocomplete-result"},"li",s,!1),[o("div",{staticClass:"text-truncate"},[o("p",{staticClass:"result-name mb-0 font-weight-bold"},[a._v("\n\t\t\t\t\t\t\t\t\t"+a._s(e.username)+"\n\t\t\t\t\t\t\t\t")])])])]}}])}),a._v(" "),o("button",{staticClass:"btn btn-light border rounded-circle text-lighter ml-3",staticStyle:{width:"52px",height:"50px"},on:{click:a.close}},[o("i",{staticClass:"fal fa-times fa-lg"})])],1),a._v(" "),a.recent&&a.recent.length?o("div",{staticClass:"pt-5"},[o("h5",{staticClass:"mb-2"},[a._v("Recent Searches")]),a._v(" "),a._l(a.recent,(function(t,e){return o("a",{staticClass:"media align-items-center text-decoration-none text-dark",attrs:{href:t.action}},[o("div",{staticClass:"bg-light rounded-circle mr-3 border d-flex justify-content-center align-items-center",staticStyle:{width:"40px",height:"40px"}},[o("i",{staticClass:"far fa-search"})]),a._v(" "),o("div",{staticClass:"media-body"},[o("p",{staticClass:"mb-0"},[a._v(a._s(t.value))])])])}))],2):a._e(),a._v(" "),o("div",{staticClass:"pt-5"},[o("h5",{staticClass:"mb-2"},[a._v("Explore This Group")]),a._v(" "),o("div",{staticClass:"media align-items-center",on:{click:a.viewMyActivity}},[o("img",{staticClass:"mr-3 border rounded-circle",attrs:{src:null===(t=a.profile)||void 0===t?void 0:t.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}),a._v(" "),o("div",{staticClass:"media-body"},[o("p",{staticClass:"mb-0"},[a._v(a._s((null===(e=a.profile)||void 0===e?void 0:e.display_name)||(null===(s=a.profile)||void 0===s?void 0:s.username)))]),a._v(" "),o("p",{staticClass:"mb-0 small text-muted"},[a._v("See your group activity.")])])]),a._v(" "),o("div",{staticClass:"media align-items-center",on:{click:a.viewGroupSearch}},[o("div",{staticClass:"bg-light rounded-circle mr-3 border d-flex justify-content-center align-items-center",staticStyle:{width:"40px",height:"40px"}},[o("i",{staticClass:"far fa-search"})]),a._v(" "),o("div",{staticClass:"media-body"},[o("p",{staticClass:"mb-0"},[a._v("Search all groups")])])])])])],1)},o=[]},79355:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"status-card-component",class:{"status-card-sm":t.loaded&&"small"===t.size}},[t.loaded?e("div",{staticClass:"shadow-none mb-3"},["poll"!==t.status.pf_type?e("div",{staticClass:"card shadow-sm",class:{"border-top-0":!t.hasTopBorder},staticStyle:{"border-radius":"18px !important"}},[1==t.parentUnavailable?e("parent-unavailable",{attrs:{"permalink-mode":t.permalinkMode,"permalink-status":t.childContext,status:t.status,profile:t.profile,"group-id":t.groupId}}):e("div",{staticClass:"card-body pb-0"},[e("group-post-header",{attrs:{group:t.group,status:t.status,profile:t.profile,showGroupHeader:t.showGroupHeader,showGroupChevron:t.showGroupChevron}}),t._v(" "),e("div",[e("div",[e("div",{staticClass:"pl-2"},[t.status.sensitive&&t.status.content.length?e("div",{staticClass:"card card-body shadow-none border bg-light py-2 my-2 text-center user-select-none cursor-pointer",on:{click:function(e){t.status.sensitive=!1}}},[e("div",{staticClass:"media justify-content-center align-items-center"},[e("div",{staticClass:"mx-3"},[e("i",{staticClass:"far fa-exclamation-triangle fa-2x text-lighter"})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Warning, may contain sensitive content. ")]),t._v(" "),e("p",{staticClass:"mb-0 text-lighter small text-center font-weight-bold"},[t._v("Click to view")])])])]):[e("p",{staticClass:"pt-2 text-break",staticStyle:{"font-size":"15px"},domProps:{innerHTML:t._s(t.renderedCaption)}})],t._v(" "),"photo"===t.status.pf_type?e("photo-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{lightbox:t.showPostModal,togglecw:function(e){t.status.sensitive=!1},click:t.showPostModal}}):"video"===t.status.pf_type?e("video-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}}):"photo:album"===t.status.pf_type?e("photo-album-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}}):"video:album"===t.status.pf_type?e("video-album-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}}):"photo:video:album"===t.status.pf_type?e("mixed-album-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}}):t._e(),t._v(" "),t.status.favourites_count||t.status.reply_count?e("div",{staticClass:"border-top my-0"},[e("div",{staticClass:"d-flex justify-content-between py-2",staticStyle:{"font-size":"14px"}},[t.status.favourites_count?e("button",{staticClass:"btn btn-light py-0 text-decoration-none text-dark",staticStyle:{"font-size":"12px","font-weight":"600"},on:{click:function(e){return t.showLikesModal(e)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.status.favourites_count)+" "+t._s(1==t.status.favourites_count?"Like":"Likes")+"\n\t\t\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t.status.reply_count?e("button",{staticClass:"btn btn-light py-0 text-decoration-none text-dark",staticStyle:{"font-size":"12px","font-weight":"600"},on:{click:function(e){return t.commentFocus(e)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.status.reply_count)+" "+t._s(1==t.status.reply_count?"Comment":"Comments")+"\n\t\t\t\t\t\t\t\t\t\t")]):t._e()])]):t._e(),t._v(" "),t.profile?e("div",{staticClass:"border-top my-0"},[e("div",{staticClass:"d-flex justify-content-between py-2 px-4"},[e("div",[e("button",{staticClass:"btn btn-link py-0 text-decoration-none",class:{"font-weight-bold":t.status.favourited,"text-primary":t.status.favourited,"text-muted":!t.status.favourited},attrs:{id:"lr__"+t.status.id},on:{click:function(e){return t.likeStatus(t.status,e)}}},[e("i",{staticClass:"far fa-heart mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none text-muted",on:{click:function(e){return t.commentFocus(e)}}},[e("i",{staticClass:"far fa-comment cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t\t\tComment\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none",attrs:{disabled:""}},[e("i",{staticClass:"fas fa-external-link-alt cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t\t\tShare\n\t\t\t\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),t.showCommentDrawer?e("comment-drawer",{attrs:{"permalink-mode":t.permalinkMode,"permalink-status":t.childContext,status:t.status,profile:t.profile,"group-id":t.groupId}}):t._e()],2)])])],1)],1):e("div",{staticClass:"border"},[e("poll-card",{attrs:{status:t.status,profile:t.profile,showBorder:!1},on:{"status-delete":t.statusDeleted}}),t._v(" "),e("div",{staticClass:"bg-white",staticStyle:{padding:"0 1.25rem"}},[t.profile?e("div",{staticClass:"border-top my-0"},[e("div",{staticClass:"d-flex justify-content-between py-2 px-4"},[e("div",[e("button",{staticClass:"btn btn-link py-0 text-decoration-none",class:{"font-weight-bold":t.status.favourited,"text-primary":t.status.favourited,"text-muted":!t.status.favourited},attrs:{id:"lr__"+t.status.id},on:{click:function(e){return t.likeStatus(t.status,e)}}},[e("i",{staticClass:"far fa-heart mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"lr__"+t.status.id,triggers:"hover",placement:"top"},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("Popover Title")]},proxy:!0}],null,!1,4088088860)},[t._v("\n\t\t\t\t\t\t\t\t\tI am popover "),e("b",[t._v("component")]),t._v(" content!\n\t\t\t\t\t\t\t\t")])],1),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none text-muted",on:{click:function(e){return t.commentFocus(e)}}},[e("i",{staticClass:"far fa-comment cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\t\tComment\n\t\t\t\t\t\t\t")]),t._v(" "),t._m(0)])]):t._e(),t._v(" "),t.showCommentDrawer?e("comment-drawer",{attrs:{"permalink-mode":t.permalinkMode,"permalink-status":t.childContext,profile:t.profile,status:t.status,"group-id":t.groupId}}):t._e()],1)],1),t._v(" "),t.profile?e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile,"group-id":t.groupId},on:{"status-delete":t.statusDeleted}}):t._e(),t._v(" "),t.showModal?e("post-modal",{ref:"modal",attrs:{status:t.status,profile:t.profile,groupId:t.groupId}}):t._e()],1):e("div",{staticClass:"card card-body shadow-none border mb-3",staticStyle:{height:"200px"}},[t._m(1)])])},o=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-link py-0 text-decoration-none",attrs:{disabled:""}},[t("i",{staticClass:"fas fa-external-link-alt cursor-pointer text-muted mr-1"}),this._v("\n\t\t\t\t\t\t\t\tShare\n\t\t\t\t\t\t\t")])},function(){var t=this._self._c;return t("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center"},[t("div",{staticClass:"spinner-border text-primary",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])])}]},52809:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){return(0,this._self._c)("div")},o=[]},2011:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-md-5",staticStyle:{"background-color":"#fff"}},[t.group.metadata&&t.group.metadata.hasOwnProperty("header")?e("img",{staticClass:"header-image",attrs:{src:t.group.metadata.header.url}}):e("div",{staticClass:"header-jumbotron"})])},o=[]},11568:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 group-feed-component-header px-3 px-md-5"},[e("div",{staticClass:"media align-items-end"},[t.group.metadata&&t.group.metadata.hasOwnProperty("avatar")?e("img",{staticClass:"bg-white mx-4 rounded-circle border shadow p-1",staticStyle:{"object-fit":"cover"},style:{"margin-top":t.group.metadata&&t.group.metadata.hasOwnProperty("header")&&t.group.metadata.header.url?"-100px":"0"},attrs:{src:t.group.metadata.avatar.url,width:"169",height:"169"}}):t._e(),t._v(" "),t.group&&t.group.name?e("div",{staticClass:"media-body px-3"},[e("h3",{staticClass:"d-flex align-items-start"},[e("span",[t._v(t._s(t.group.name.slice(0,118)))]),t._v(" "),t.group.verified?e("sup",{staticClass:"fa-stack ml-n2",attrs:{title:"Verified Group","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-circle fa-stack-1x fa-lg",staticStyle:{color:"#22a7f0cc","font-size":"18px"}}),t._v(" "),e("i",{staticClass:"fas fa-check fa-stack-1x text-white",staticStyle:{"font-size":"10px"}})]):t._e()]),t._v(" "),e("p",{staticClass:"text-muted mb-0",staticStyle:{"font-weight":"300"}},[e("span",[e("i",{staticClass:"fas fa-globe mr-1"}),t._v("\n "+t._s("all"==t.group.membership?"Public Group":"Private Group")+"\n ")]),t._v(" "),e("span",{staticClass:"mx-2"},[t._v("\n ·\n ")]),t._v(" "),e("span",[t._v(t._s(1==t.group.member_count?t.group.member_count+" Member":t.group.member_count+" Members"))]),t._v(" "),e("span",{staticClass:"mx-2"},[t._v("\n ·\n ")]),t._v(" "),t.group.local?e("span",{staticClass:"rounded member-label"},[t._v("Local")]):e("span",{staticClass:"rounded remote-label"},[t._v("Remote")]),t._v(" "),t.group.self&&t.group.self.hasOwnProperty("role")&&t.group.self.role?e("span",[e("span",{staticClass:"mx-2"},[t._v("\n ·\n ")]),t._v(" "),e("span",{staticClass:"rounded member-label"},[t._v(t._s(t.group.self.role))])]):t._e()])]):e("div",{staticClass:"media-body"},[t._m(0)])]),t._v(" "),t.group&&t.group.self?e("div",[t.isMember||t.group.self.is_requested?!t.isMember&&t.group.self.is_requested?e("button",{staticClass:"btn btn-light border cta-btn font-weight-bold",on:{click:function(e){return e.preventDefault(),t.cancelJoinRequest.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-user-clock mr-1"}),t._v(" Requested to Join\n ")]):t.isAdmin||!t.isMember||t.group.self.is_requested?t._e():e("button",{staticClass:"btn btn-light border cta-btn font-weight-bold",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.leaveGroup.apply(null,arguments)}}},[e("i",{staticClass:"fas sign-out-alt mr-1"}),t._v(" Leave Group\n ")]):e("button",{staticClass:"btn btn-primary cta-btn font-weight-bold",attrs:{disabled:t.requestingMembership},on:{click:t.joinGroup}},[t.requestingMembership?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("span",[t._v("\n "+t._s("all"==t.group.membership?"Join":"Request Membership")+"\n ")])])]):t._e()])},o=[function(){var t=this._self._c;return t("h3",{staticClass:"d-flex align-items-start"},[t("span",[this._v("Loading...")])])}]},17859:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t,e,s,a,o,i=this,r=i._self._c;return r("div",[r("div",{staticClass:"col-12 border-top group-feed-component-menu px-5"},[r("ul",{staticClass:"nav font-weight-bold group-feed-component-menu-nav"},[r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link",attrs:{to:"/groups/".concat(i.group.id,"/about")}},[i._v("About")])],1),i._v(" "),r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link",attrs:{to:"/groups/".concat(i.group.id),exact:""}},[i._v("Feed")])],1),i._v(" "),null!==(t=i.group)&&void 0!==t&&t.self&&i.group.self.is_member?r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link",attrs:{to:"/groups/".concat(i.group.id,"/topics")}},[i._v("Topics")])],1):i._e(),i._v(" "),null!==(e=i.group)&&void 0!==e&&e.self&&i.group.self.is_member?r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link",attrs:{to:"/groups/".concat(i.group.id,"/members")}},[i._v("\n Members\n "),i.group.self.is_member&&i.isAdmin&&i.atabs.request_count?r("span",{staticClass:"badge badge-danger rounded-pill ml-2",staticStyle:{height:"20px",padding:"4px 8px","font-size":"11px"}},[i._v(i._s(i.atabs.request_count))]):i._e()])],1):i._e(),i._v(" "),null!==(s=i.group)&&void 0!==s&&s.self&&i.group.self.is_member?r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link",attrs:{to:"/groups/".concat(i.group.id,"/media")}},[i._v("Media")])],1):i._e(),i._v(" "),null!==(a=i.group)&&void 0!==a&&a.self&&i.group.self.is_member&&i.isAdmin?r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link d-flex align-items-top",attrs:{to:"/groups/".concat(i.group.id,"/moderation")}},[r("span",{staticClass:"mr-2"},[i._v("Moderation")]),i._v(" "),i.atabs.moderation_count?r("span",{staticClass:"badge badge-danger rounded-pill",staticStyle:{height:"20px",padding:"4px 8px","font-size":"11px"}},[i._v(i._s(i.atabs.moderation_count))]):i._e()])],1):i._e()]),i._v(" "),r("div",[null!==(o=i.group)&&void 0!==o&&o.self&&i.group.self.is_member?r("button",{staticClass:"btn btn-light btn-sm border px-3 rounded-pill mr-2",on:{click:i.showSearchModal}},[r("i",{staticClass:"far fa-search"})]):i._e(),i._v(" "),r("div",{staticClass:"dropdown d-inline"},[i._m(0),i._v(" "),r("div",{staticClass:"dropdown-menu dropdown-menu-right"},[r("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),i.copyLink.apply(null,arguments)}}},[i._v("\n Copy Group Link\n ")]),i._v(" "),r("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),i.showInviteModal.apply(null,arguments)}}},[i._v("\n Invite friends\n ")]),i._v(" "),i.isAdmin?i._e():r("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),i.reportGroup.apply(null,arguments)}}},[i._v("\n Report Group\n ")]),i._v(" "),i.isAdmin?r("a",{staticClass:"dropdown-item",attrs:{href:i.group.url+"/settings"}},[i._v("\n Settings\n ")]):i._e()])])])]),i._v(" "),r("search-modal",{ref:"searchModal",attrs:{group:i.group,profile:i.profile}})],1)},o=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-light btn-sm border px-3 rounded-pill dropdown-toggle",attrs:{"data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[t("i",{staticClass:"far fa-cog"})])}]},30832:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-all"}},[t.status.content.length<200?e("div",{domProps:{innerHTML:t._s(t.content)}}):e("div",[e("span",{domProps:{innerHTML:t._s(t.content)}}),t._v(" "),200==t.cursor||t.fullContent.length>t.cursor?e("a",{staticClass:"font-weight-bold text-muted",staticStyle:{display:"block","white-space":"nowrap"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.readMore.apply(null,arguments)}}},[e("i",{staticClass:"d-none fas fa-caret-down"}),t._v(" Read more...\n\t\t")]):t._e()])])},o=[]},3391:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t,e,s=this,a=s._self._c;return a("div",{staticClass:"group-post-header media"},[s.showGroupHeader?a("div",{staticClass:"mb-1",staticStyle:{position:"relative"}},[s.group.hasOwnProperty("metadata")&&(s.group.metadata.hasOwnProperty("avatar")||s.group.metadata.hasOwnProperty("header"))?a("img",{staticClass:"rounded-lg box-shadow mr-2",staticStyle:{"object-fit":"cover"},attrs:{src:s.group.metadata.hasOwnProperty("header")?s.group.metadata.header.url:s.group.metadata.avatar.url,width:"52",height:"52",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}):a("span",{staticClass:"d-block rounded-lg box-shadow mr-2 bg-primary",staticStyle:{width:"52px",height:"52px"}}),s._v(" "),a("img",{staticClass:"rounded-circle box-shadow border mr-2",staticStyle:{position:"absolute",bottom:"-4px",right:"-4px"},attrs:{src:s.status.account.avatar,width:"36",height:"36",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]):a("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:s.status.account.avatar,width:"42",height:"42",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}),s._v(" "),a("div",{staticClass:"media-body"},[a("div",{staticClass:"pl-2 d-flex align-items-top"},[a("div",[a("p",{staticClass:"mb-0"},[s.showGroupHeader&&s.group?a("router-link",{staticClass:"group-name-link username",attrs:{to:"/groups/".concat(s.status.gid)}},[s._v("\n "+s._s(s.group.name)+"\n ")]):a("router-link",{staticClass:"group-name-link username",attrs:{to:"/groups/".concat(s.status.gid,"/user/").concat(null===(t=s.status)||void 0===t?void 0:t.account.id)},domProps:{innerHTML:s._s(s.statusCardUsernameFormat(s.status))}},[s._v("\n Loading...\n ")]),s._v(" "),s.showGroupChevron?a("span",[s._m(0),s._v(" "),a("span",[a("router-link",{staticClass:"group-name-link",attrs:{to:"/groups/".concat(s.status.gid)}},[s._v("\n "+s._s(s.group.name)+"\n ")])],1)]):s._e()],1),s._v(" "),a("p",{staticClass:"mb-0 mt-n1"},[s.showGroupHeader&&s.group?a("span",{staticStyle:{"font-size":"13px"}},[a("router-link",{staticClass:"group-name-link-small username",attrs:{to:"/groups/".concat(s.status.gid,"/user/").concat(null===(e=s.status)||void 0===e?void 0:e.account.id)},domProps:{innerHTML:s._s(s.statusCardUsernameFormat(s.status))}},[s._v("\n Loading...\n ")]),s._v(" "),a("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[s._v("·")]),s._v(" "),a("router-link",{staticClass:"font-weight-light text-muted",attrs:{to:"/groups/".concat(s.status.gid,"/p/").concat(s.status.id)}},[s._v("\n "+s._s(s.shortTimestamp(s.status.created_at))+"\n ")]),s._v(" "),a("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[s._v("·")]),s._v(" "),s._m(1)],1):a("span",[a("router-link",{staticClass:"font-weight-light text-muted small",attrs:{to:"/groups/".concat(s.status.gid,"/p/").concat(s.status.id)}},[s._v("\n "+s._s(s.shortTimestamp(s.status.created_at))+"\n ")]),s._v(" "),a("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[s._v("·")]),s._v(" "),s._m(2)],1)])]),s._v(" "),s.profile?a("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[a("div",{staticClass:"dropdown"},[s._m(3),s._v(" "),a("div",{staticClass:"dropdown-menu dropdown-menu-right"},[a("a",{staticClass:"dropdown-item",attrs:{href:"#"}},[s._v("View Post")]),s._v(" "),a("a",{staticClass:"dropdown-item",attrs:{href:"#"}},[s._v("View Profile")]),s._v(" "),a("a",{staticClass:"dropdown-item",attrs:{href:"#"}},[s._v("Copy Link")]),s._v(" "),a("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),s.sendReport()}}},[s._v("Report")]),s._v(" "),a("div",{staticClass:"dropdown-divider"}),s._v(" "),a("a",{staticClass:"dropdown-item text-danger",attrs:{href:"#"}},[s._v("Delete")])])])]):s._e()])])])},o=[function(){var t=this._self._c;return t("span",{staticClass:"text-muted",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[t("i",{staticClass:"fas fa-caret-right"})])},function(){var t=this._self._c;return t("span",{staticClass:"text-muted"},[t("i",{staticClass:"fas fa-globe"})])},function(){var t=this._self._c;return t("span",{staticClass:"text-muted small"},[t("i",{staticClass:"fas fa-globe"})])},function(){var t=this._self._c;return t("button",{staticClass:"btn btn-link dropdown-toggle",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"fas fa-ellipsis-h text-lighter"})])}]},70560:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"18px !important"}},[e("div",{staticClass:"card-body pb-0"},[t._m(0),t._v(" "),e("div",[t.showCommentDrawer?e("comment-drawer",{attrs:{"permalink-mode":t.permalinkMode,"permalink-status":t.childContext,status:t.status,profile:t.profile,"group-id":t.groupId,"can-reply":!1}}):t._e()],1)])])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body border shadow-none mb-3",staticStyle:{"background-color":"#E5E7EB"}},[e("div",{staticClass:"media p-md-4"},[e("div",{staticClass:"mr-4 pt-2"},[e("i",{staticClass:"fas fa-lock fa-2x"})]),t._v(" "),e("div",{staticClass:"media-body",staticStyle:{"max-width":"320px"}},[e("p",{staticClass:"lead font-weight-bold mb-1"},[t._v("This content isn't available right now")]),t._v(" "),e("p",{staticClass:"mb-0",staticStyle:{"font-size":"12px","letter-spacing":"-0.3px"}},[t._v("When this happens, it's usually because the owner only shared it with a small group of people, changed who can see it, or it's been deleted.")])])])])}]},18389:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("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(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("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(s,a){return e("b-carousel-slide",{key:s.id+"-media"},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:s.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{slot:"img",title:s.description},slot:"img"},[e("img",{class:s.filter_class+" d-block img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)]):e("div",{staticClass:"w-100 h-100 p-0"},[e("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(s,a){return e("slide",{key:"px-carousel-"+s.id+"-"+a,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:s.description,width:"100%",height:"100%"}},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{title:s.description}},[e("img",{class:s.filter_class+" img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)},o=[]},28691:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("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(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[e("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(s,a){return e("slide",{key:"px-carousel-"+s.id+"-"+a,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:s.description}},[e("img",{staticClass:"img-fluid w-100 p-0",attrs:{src:s.url,alt:t.altText(s),loading:"lazy","data-bp":s.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),t._v(" "),e("div",{staticClass:"album-overlay"},[!t.status.sensitive&&t.sensitive?e("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}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),e("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)}}},[e("i",{staticClass:"fas fa-expand fa-lg"})]),t._v(" "),t.status.media_attachments[0].license?e("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))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("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 "),e("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._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},84094:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("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(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",[e("div",{staticStyle:{position:"relative"},attrs:{title:t.status.media_attachments[0].description}},[e("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?e("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}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?e("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))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("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 "),e("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._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},12024:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("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(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("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,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)]):e("div",[e("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,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)},o=[]},75593:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("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(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",{staticClass:"embed-responsive embed-responsive-16by9"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"","webkit-playsinline":"",preload:"metadata",loop:"","data-id":t.status.id,poster:t.poster()}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])},o=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},9429:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-status-permalink-component"},[e("group-feed",{attrs:{"group-id":t.gid,permalinkMode:!0,permalinkId:t.sid}})],1)},o=[]},45322:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("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?e("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?e("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?e("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?e("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?e("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?e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" to Followers")]),t._v(" "),e("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?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v("Embed")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.ctxEmbedShowCaption=s.concat([null])):i>-1&&(t.ctxEmbedShowCaption=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowCaption=o}}}),t._v(" "),e("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(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.ctxEmbedShowLikes=s.concat([null])):i>-1&&(t.ctxEmbedShowLikes=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowLikes=o}}}),t._v(" "),e("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(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.ctxEmbedCompactMode=s.concat([null])):i>-1&&(t.ctxEmbedCompactMode=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedCompactMode=o}}}),t._v(" "),e("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(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},o=[]},28995:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"card shadow-none rounded-0",class:{border:t.showBorder,"border-top-0":!t.showBorderTop}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",alt:"avatar"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("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(" "),e("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(" "),e("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(" "),e("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(" "),e("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(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t")]):e("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(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[e("div",{staticClass:"poll py-3"},[e("div",{staticClass:"pt-2 text-break d-flex align-items-center mb-3",staticStyle:{"font-size":"17px"}},[t._m(1),t._v(" "),e("span",{staticClass:"font-weight-bold ml-3",domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),e("div",{staticClass:"mb-2"},["vote"===t.tab?e("div",[t._l(t.status.poll.options,(function(s,a){return e("p",[e("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(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")])])})),t._v(" "),null!=t.selectedIndex?e("p",{staticClass:"text-right"},[e("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?e("div",t._l(t.status.poll.options,(function(s,a){return e("div",{staticClass:"mb-3"},[e("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(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):"results"===t.tab?e("div",t._l(t.status.poll.options,(function(s,a){return e("div",{staticClass:"mb-3"},[e("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(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):t._e()]),t._v(" "),e("div",[e("p",{staticClass:"mb-0 small text-lighter font-weight-bold d-flex justify-content-between"},[e("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?e("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?e("span",{staticClass:"text-lighter"},[t._m(2)]):t._e()])]),t._v(" "),e("div",[e("span",{staticClass:"d-block d-md-none small text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t\t\t")]):e("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(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},o=[function(){var t=this,e=t._self._c;return e("span",{staticClass:"d-none d-md-block px-1 text-primary font-weight-bold"},[e("i",{staticClass:"fas fa-poll-h"}),t._v(" Poll "),e("sup",{staticClass:"text-lighter"},[t._v("BETA")])])},function(){var t=this._self._c;return t("span",{staticClass:"btn btn-primary px-2 py-1"},[t("i",{staticClass:"fas fa-poll-h fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},55722:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"status-card-component",class:{"status-card-sm":"small"===t.size}},["text"===t.status.pf_type?e("div",{staticClass:"card shadow-none border rounded-0",class:{"border-top-0":!t.hasTopBorder}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("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(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("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(" "),e("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(" "),e("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(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[t.status.sensitive?e("details",[e("summary",{staticClass:"mb-2 font-weight-bold text-muted"},[t._v("Content Warning")]),t._v(" "),e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}})]):e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}}),t._v(" "),e("p",{staticClass:"mb-0"},[e("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(" "),e("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?e("div",[e("poll-card",{attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1):e("div",{staticClass:"card rounded-0 border-top-0 status-card card-md-rounded-0 shadow-none border"},[t.status?e("div",{staticClass:"card-header d-inline-flex align-items-center bg-white"},[e("div",[e("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(" "),e("div",{staticClass:"pl-2"},[e("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(" "),t.status.account.is_admin?e("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[t.status.place?e("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"}},[e("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(" "),e("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]):t._e(),t._v(" "),e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):e("div",{staticClass:"w-100"},[e("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?e("div",{staticClass:"card-body border-top border-bottom py-2 cursor-pointer pr-2",on:{click:function(e){return t.labelRedirect()}}},[e("p",{staticClass:"font-weight-bold d-flex justify-content-between align-items-center mb-0"},[e("span",[e("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(" "),e("div",{staticClass:"card-body"},[t.reactionBar?e("div",{staticClass:"reactions my-1 pb-2"},[t.status.favourited?e("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)}}}):e("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():e("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?e("span",{staticClass:"float-right"},[e("span",{staticClass:"font-weight-light small",staticStyle:{color:"#718096"}},[e("i",{staticClass:"far fa-user",attrs:{"data-toggle":"tooltip",title:"Tagged People"}}),t._v(" "),t._l(t.status.taggedPeople,(function(t,s){return e("span",{staticClass:"mr-n2"},[e("a",{attrs:{href:"/"+t.username}},[e("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?e("div",{staticClass:"likes mb-1"},[e("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t"),e("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?e("span",[t._v("\n\t\t\t\t\t\tand "),t.status.liked_by.total_count_pretty?e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v("others")])]):t._e()])]):t._e(),t._v(" "),"text"!=t.status.pf_type?e("div",{staticClass:"caption"},[t.status.sensitive?t._e():e("p",{staticClass:"mb-2 read-more",staticStyle:{overflow:"hidden"}},[e("span",{staticClass:"username font-weight-bold"},[e("bdi",[e("a",{staticClass:"text-dark",attrs:{href:t.profileUrl(t.status)}},[t._v(t._s(t.status.account.username))])])]),t._v(" "),e("span",{staticClass:"status-content",domProps:{innerHTML:t._s(t.content)}})])]):t._e(),t._v(" "),e("div",{staticClass:"timestamp mt-2"},[e("p",{staticClass:"small mb-0"},["archived"!=t.status.visibility?e("a",{staticClass:"text-muted text-uppercase",attrs:{href:t.statusUrl(t.status)}},[e("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):e("span",{staticClass:"text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\tPosted "),e("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?e("span",[e("span",{staticClass:"px-1"},[t._v("·")]),t._v(" "),e("span",{staticClass:"text-muted"},[t._v("Based on popular and trending content")])]):t._e()])])])]),t._v(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},o=[function(){var t=this._self._c;return t("span",[t("i",{staticClass:"fas fa-chevron-right text-lighter"})])}]},87082:(t,e,s)=>{Vue.component("gs-permalink",s(70281).default)},53933:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".card-img-top[data-v-7066737e]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-7066737e]{position:relative}.content-label[data-v-7066737e]{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-7066737e]{position:relative}",""]);const i=o},71336:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".card-img-top[data-v-f935045a]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-f935045a]{position:relative}.content-label[data-v-f935045a]{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 i=o},1685:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".content-label-wrapper[data-v-7871d23c]{position:relative}.content-label[data-v-7871d23c]{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 i=o},71546:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-feed-component-header{align-items:flex-end;background-color:transparent;display:flex;justify-content:space-between;padding:1rem 0}.group-feed-component-header .cta-btn{width:190px}.group-feed-component .header-jumbotron{background-color:#f3f4f6;border-bottom-left-radius:20px;border-bottom-right-radius:20px;height:320px}.group-feed-component-menu{align-items:center;display:flex;justify-content:space-between;padding:0}.group-feed-component-menu-nav .nav-item .nav-link{color:#6c757d;padding-bottom:1rem;padding-top:1rem}.group-feed-component-menu-nav .nav-item .nav-link.active{border-bottom:2px solid #2c78bf;color:#2c78bf}.group-feed-component-menu-nav:not(last-child) .nav-item{margin-right:14px}.group-feed-component-body{min-height:40vh}.group-feed-component .member-label{background:rgba(137,196,244,.2);border:1px solid rgba(137,196,244,.3);color:#4b77be;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}.group-feed-component .dropdown-item{font-weight:600}.group-feed-component .remote-label{background:#fef3c7;border:1px solid #fcd34d;color:#b45309;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}",""]);const i=o},11620:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,'.comment-drawer-component .media{position:relative}.comment-drawer-component .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}.comment-drawer-component .media .comment-border-link:hover{background-color:#bfdbfe}.comment-drawer-component .media .child-reply-form{position:relative}.comment-drawer-component .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}.comment-drawer-component .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.comment-drawer-component .media-status{margin-bottom:1.3rem}.comment-drawer-component .media-avatar{margin-right:12px}.comment-drawer-component .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.comment-drawer-component .media-body-comment-username{color:#000;font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.comment-drawer-component .media-body-comment-username a{color:#000;text-decoration:none}.comment-drawer-component .media-body-comment-content{font-size:16px;margin-bottom:0}.comment-drawer-component .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.25rem!important}.comment-drawer-component .load-more-comments{font-weight:500}.comment-drawer-component .reply-form{margin-bottom:2rem}.comment-drawer-component .reply-form-input{flex:1;position:relative}.comment-drawer-component .reply-form-input textarea{border-radius:10px}.comment-drawer-component .reply-form-input .form-control{padding-right:100px;resize:none}.comment-drawer-component .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.comment-drawer-component .reply-form .btn{text-decoration:none}.comment-drawer-component .reply-form-menu{margin-top:5px}.comment-drawer-component .reply-form-menu .char-counter{color:var(--muted);font-size:10px}.comment-drawer-component .bh-comment,.comment-drawer-component .bh-comment img,.comment-drawer-component .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.comment-drawer-component .bh-comment img{-o-object-fit:cover;object-fit:cover}',""]);const i=o},14941:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,"",""]);const i=o},68863:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,"",""]);const i=o},86716:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-info-card .title[data-v-9d095298]{font-size:16px;font-weight:700}.group-info-card .description[data-v-9d095298]{color:#6c757d;font-size:15px;font-weight:400;margin-bottom:0;white-space:break-spaces}.group-info-card .fact[data-v-9d095298]{align-items:center;display:flex;margin-bottom:1.5rem}.group-info-card .fact-body[data-v-9d095298]{flex:1}.group-info-card .fact-icon[data-v-9d095298]{text-align:center;width:50px}.group-info-card .fact-title[data-v-9d095298]{font-size:17px;font-weight:500;margin-bottom:0}.group-info-card .fact-subtitle[data-v-9d095298]{color:#6c757d;font-size:14px;margin-bottom:0}",""]);const i=o},96187:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-invite-modal-wrapper .media{border-radius:10px;cursor:pointer;height:60px;padding:10px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.group-invite-modal-wrapper .media:hover{background-color:#e5e7eb}",""]);const i=o},43247:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".gpm-media{display:flex;width:70%}.gpm-media img{background-color:#000;height:auto;max-height:70vh;-o-object-fit:contain;object-fit:contain;width:100%}.gpm .comment-drawer-component .my-3{max-height:46vh;overflow:auto}.gpm .cdrawer-reply-form{bottom:0;margin-bottom:1rem!important;min-width:310px;position:absolute}",""]);const i=o},83561:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-search-modal-wrapper .media{border-radius:10px;cursor:pointer;height:60px;padding:10px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.group-search-modal-wrapper .media:hover{background-color:#e5e7eb}",""]);const i=o},69780:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((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}.reaction-bar{border:1px solid #f3f4f6!important;left:-50px!important;max-width:unset;width:auto}.reaction-bar .popover-body{padding:2px}.reaction-bar .arrow{display:none}.reaction-bar img{width:48px}",""]);const i=o},5028:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".header-image[data-v-63bf412f]{border:1px solid var(--light);border-bottom-left-radius:5px;border-bottom-right-radius:5px;height:auto;margin-bottom:0;margin-top:-1px;max-height:220px;-o-object-fit:cover;object-fit:cover;width:100%}@media (min-width:768px){.header-image[data-v-63bf412f]{max-height:420px}}.header-jumbotron[data-v-63bf412f]{background-color:#f3f4f6;border-bottom-left-radius:20px;border-bottom-right-radius:20px;height:320px}",""]);const i=o},13843:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-feed-component-header{align-items:flex-end;background-color:transparent;display:flex;justify-content:space-between;padding:1rem 0}.group-feed-component-header .cta-btn{width:190px}.group-feed-component .member-label{background:rgba(137,196,244,.2);border:1px solid rgba(137,196,244,.3);color:#4b77be;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}.group-feed-component .dropdown-item{font-weight:600}.group-feed-component .remote-label{background:#fef3c7;border:1px solid #fcd34d;color:#b45309;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}",""]);const i=o},35778:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-feed-component-menu{align-items:center;display:flex;justify-content:space-between;padding:0}.group-feed-component-menu-nav .nav-item .nav-link{color:#6c757d;padding-bottom:1rem;padding-top:1rem}.group-feed-component-menu-nav .nav-item .nav-link.active{border-bottom:2px solid #2c78bf;color:#2c78bf}.group-feed-component-menu-nav:not(last-child) .nav-item{margin-right:14px}",""]);const i=o},47292:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-post-header .btn[data-v-139b174c]::focus{box-shadow:none}.group-post-header .dropdown-toggle[data-v-139b174c]:after{display:none}.group-post-header .group-name-link[data-v-139b174c]{font-size:16px}.group-post-header .group-name-link[data-v-139b174c],.group-post-header .group-name-link-small[data-v-139b174c]{word-wrap:break-word!important;color:var(--body-color)!important;font-weight:600;text-decoration:none;word-break:break-word!important}.group-post-header .group-name-link-small[data-v-139b174c]{font-size:14px}",""]);const i=o},93145:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((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 i=o},95442:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(53933),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},27713:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(71336),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},72908:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(1685),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},36889:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(71546),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},1893:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(11620),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},80892:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(14941),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},72284:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(68863),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},90709:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(86716),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},37828:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(96187),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},91944:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(43247),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},44742:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(83561),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},76629:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(69780),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},3055:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(5028),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},58234:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(13843),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},44027:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(35778),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},44499:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(47292),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},1198:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(93145),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},71307:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(31846),o=s(35236),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(65248);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},69513:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(94052),o=s(96046),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(84930);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},66536:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(47173),o=s(7059),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(89483);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},84125:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(22515),o=s(60586),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},17108:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(73143),o=s(22899),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(81189);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},13094:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(15476),o=s(98281),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(24978);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"9d095298",null).exports},19413:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(35343),o=s(75337),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(92585);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},42013:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(2133),o=s(65638),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(99653);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},94559:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(9339),o=s(84552),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(7455);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},95002:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(68786),o=s(60481),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(99258);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},58753:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(40710),o=s(72122),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},49268:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(19748),o=s(85083),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(56766);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"63bf412f",null).exports},52505:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(97741),o=s(36962),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(53861);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},33457:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(89014),o=s(18458),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(62224);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},7764:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(8751),o=s(6723),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},76746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(51716),o=s(28725),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(82030);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"139b174c",null).exports},40798:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(97299),o=s(84381),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},21466:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(63476),o=s(95509),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},98051:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(37086),o=s(90660),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(58877);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"7066737e",null).exports},37128:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(84585),o=s(2815),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(2776);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"f935045a",null).exports},61518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(99521),o=s(4777),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},79427:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(17962),o=s(6452),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(741);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"7871d23c",null).exports},70281:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(98560),o=s(42122),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},53744:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(29375),o=s(21663),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},78841:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(8044),o=s(24966),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},79984:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(53681),o=s(203),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(51627);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},35236:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(72233),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},96046:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(68717),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},7059:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(78828),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},60586:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(15961),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},22899:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(91446),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},98281:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(15426),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},75337:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(51796),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},65638:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(43599),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},84552:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(89905),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},60481:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(6234),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},72122:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(96895),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},85083:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(70714),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},36962:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(9125),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},18458:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(11493),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},6723:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(79270),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},28725:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(33664),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},84381:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(75e3),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},95509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(33422),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},90660:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(36639),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},2815:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(9266),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},4777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(35986),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},6452:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(25189),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},42122:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(59293),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},21663:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(70384),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},24966:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(78615),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},203:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(47898),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},31846:(t,e,s)=>{"use strict";s.r(e);var a=s(91057),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},94052:(t,e,s)=>{"use strict";s.r(e);var a=s(37773),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},47173:(t,e,s)=>{"use strict";s.r(e);var a=s(16560),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},22515:(t,e,s)=>{"use strict";s.r(e);var a=s(57442),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},73143:(t,e,s)=>{"use strict";s.r(e);var a=s(54968),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},15476:(t,e,s)=>{"use strict";s.r(e);var a=s(26177),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},35343:(t,e,s)=>{"use strict";s.r(e);var a=s(22224),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},2133:(t,e,s)=>{"use strict";s.r(e);var a=s(64954),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},9339:(t,e,s)=>{"use strict";s.r(e);var a=s(83560),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},68786:(t,e,s)=>{"use strict";s.r(e);var a=s(79355),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},40710:(t,e,s)=>{"use strict";s.r(e);var a=s(52809),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},19748:(t,e,s)=>{"use strict";s.r(e);var a=s(2011),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},97741:(t,e,s)=>{"use strict";s.r(e);var a=s(11568),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},89014:(t,e,s)=>{"use strict";s.r(e);var a=s(17859),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},8751:(t,e,s)=>{"use strict";s.r(e);var a=s(30832),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},51716:(t,e,s)=>{"use strict";s.r(e);var a=s(3391),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},97299:(t,e,s)=>{"use strict";s.r(e);var a=s(70560),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},63476:(t,e,s)=>{"use strict";s.r(e);var a=s(18389),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},37086:(t,e,s)=>{"use strict";s.r(e);var a=s(28691),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},84585:(t,e,s)=>{"use strict";s.r(e);var a=s(84094),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},99521:(t,e,s)=>{"use strict";s.r(e);var a=s(12024),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},17962:(t,e,s)=>{"use strict";s.r(e);var a=s(75593),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},98560:(t,e,s)=>{"use strict";s.r(e);var a=s(9429),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},29375:(t,e,s)=>{"use strict";s.r(e);var a=s(45322),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},8044:(t,e,s)=>{"use strict";s.r(e);var a=s(28995),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},53681:(t,e,s)=>{"use strict";s.r(e);var a=s(55722),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},58877:(t,e,s)=>{"use strict";s.r(e);var a=s(95442),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},2776:(t,e,s)=>{"use strict";s.r(e);var a=s(27713),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},741:(t,e,s)=>{"use strict";s.r(e);var a=s(72908),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},65248:(t,e,s)=>{"use strict";s.r(e);var a=s(36889),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},84930:(t,e,s)=>{"use strict";s.r(e);var a=s(1893),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},89483:(t,e,s)=>{"use strict";s.r(e);var a=s(80892),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},81189:(t,e,s)=>{"use strict";s.r(e);var a=s(72284),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},24978:(t,e,s)=>{"use strict";s.r(e);var a=s(90709),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},92585:(t,e,s)=>{"use strict";s.r(e);var a=s(37828),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},99653:(t,e,s)=>{"use strict";s.r(e);var a=s(91944),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},7455:(t,e,s)=>{"use strict";s.r(e);var a=s(44742),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},99258:(t,e,s)=>{"use strict";s.r(e);var a=s(76629),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},56766:(t,e,s)=>{"use strict";s.r(e);var a=s(3055),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},53861:(t,e,s)=>{"use strict";s.r(e);var a=s(58234),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},62224:(t,e,s)=>{"use strict";s.r(e);var a=s(44027),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},82030:(t,e,s)=>{"use strict";s.r(e);var a=s(44499),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},51627:(t,e,s)=>{"use strict";s.r(e);var a=s(1198),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)}},t=>{t.O(0,[3660],(()=>{return e=87082,t(t.s=e);var e}));t.O()}]); \ No newline at end of file diff --git a/public/js/group-topic-feed.js b/public/js/group-topic-feed.js new file mode 100644 index 000000000..c4ed457fc --- /dev/null +++ b/public/js/group-topic-feed.js @@ -0,0 +1 @@ +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[8774],{44928:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(95002);const a={props:{gid:{type:String},name:{type:String}},components:{GroupStatus:o.default},data:function(){return{isLoaded:!1,group:!1,profile:!1,feed:[],page:1,ids:[]}},mounted:function(){this.fetchProfile()},methods:{fetchProfile:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.profile=e.data,t.fetchGroup()}))},fetchGroup:function(){var t=this;axios.get("/api/v0/groups/"+this.gid).then((function(e){t.group=e.data,t.fetchFeed()}))},fetchFeed:function(){var t=this;axios.get("/api/v0/groups/topics/tag",{params:{gid:this.gid,name:this.name}}).then((function(e){t.feed=e.data,t.isLoaded=!0;var s=t;e.data.forEach((function(t){-1==s.ids.indexOf(t.id)&&s.ids.push(t.id)})),t.page++}))},infiniteFeed:function(t){var e=this;this.feed.length<2?t.complete():axios.get("/api/v0/groups/topics/tag",{params:{gid:this.gid,name:this.name,limit:1,page:this.page}}).then((function(s){if(s.data.length){var o=s.data,a=e;o.forEach((function(t){-1==a.ids.indexOf(t.id)&&(a.ids.push(t.id),a.feed.push(t))})),t.loaded(),e.page++}else t.complete()}))}}}},68717:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(7764),a=s(66536);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 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,o=new Array(e);s0&&(t.children={feed:[],can_load_more:!0}),t}));t.feed=s,t.isLoaded=!0,t.maxReplyId=e.data[e.data.length-1].id,3==t.feed.length&&(t.canLoadMore=!0)})).catch((function(e){t.isLoaded=!0}))},loadMoreComments:function(){var t=this;this.isLoadingMore=!0,axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:this.status.id,limit:3,max_id:this.maxReplyId}}).then((function(e){var s;if(e.data[e.data.length-1].id==t.maxReplyId)return t.isLoadingMore=!1,void(t.canLoadMore=!1);(s=t.feed).push.apply(s,i(e.data)),setTimeout((function(){t.isLoadingMore=!1}),500),t.maxReplyId=e.data[e.data.length-1].id,e.data.length>0?t.canLoadMore=!0:t.canLoadMore=!1})).catch((function(e){t.isLoadingMore=!1,t.canLoadMore=!1}))},storeComment:function(t){var e,s=this;null===(e=t.currentTarget)||void 0===e||e.blur(),axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,content:this.replyContent}).then((function(t){s.replyContent=null,s.feed.unshift(t.data)})).catch((function(t){422==t.response.status?(s.isUploading=!1,s.uploadProgress=0,swal("Oops!",t.response.data.error,"error")):(s.isUploading=!1,s.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},readMore:function(){this.readMoreCursor=this.readMoreCursor+200},likeComment:function(t,e,s){s.target.blur();var o=!t.favourited;this.feed[e].favourited=o,t.favourited=o,axios.post("/api/v0/groups/comment/".concat(o?"like":"unlike"),{sid:t.id,gid:this.groupId})},deleteComment:function(t){var e=this;0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/api/v0/groups/comment/delete",{gid:this.groupId,id:this.feed[t].id}).then((function(s){e.feed.splice(t,1)})).catch((function(t){console.log(t.response),swal("Error","Something went wrong. Please try again later.","error")}))},uploadImage:function(){this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=this,s=new FormData;s.append("gid",this.groupId),s.append("sid",this.status.id),s.append("photo",this.$refs.fileInput.files[0]),axios.post("/api/v0/groups/comment/photo",s,{onUploadProgress:function(t){e.uploadProgress=Math.floor(t.loaded/t.total*100)}}).then((function(e){t.isUploading=!1,t.uploadProgress=0,t.feed.unshift(e.data)})).catch((function(e){422==e.response.status?(t.isUploading=!1,t.uploadProgress=0,swal("Oops!",e.response.data.error,"error")):(t.isUploading=!1,t.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))}},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},replyToChild:function(t,e){var s=this;if(this.replyChildId==t.id)return this.replyChildId=null,void(this.replyChildIndex=null);this.childReplyContent=null,this.replyChildId=t.id,this.replyChildIndex=e,t.hasOwnProperty("replies_loaded")&&t.replies_loaded||this.$nextTick((function(){s.fetchChildReplies(t,e)}))},fetchChildReplies:function(t,e){var s=this;axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:t.id,cid:1,limit:3}}).then((function(t){s.feed[e].hasOwnProperty("children")?(s.feed[e].children.feed.push(t.data),s.feed[e].children.can_load_more=3==t.data.length):s.feed[e].children={feed:t.data,can_load_more:3==t.data.length},s.replyChildMinId=t.data[t.data.length-1].id,s.$nextTick((function(){s.feed[e].replies_loaded=!0}))})).catch((function(t){s.feed[e].children.can_load_more=!1}))},storeChildComment:function(t){var e=this;this.postingChildComment=!0,axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,cid:this.replyChildId,content:this.childReplyContent}).then((function(s){e.childReplyContent=null,e.postingChildComment=!1,e.feed[t].children.feed.push(s.data)})).catch((function(t){422==t.response.status?swal("Oops!",t.response.data.error,"error"):swal("Oops!","An error occured while processing your request, please try again later","error")}))},loadMoreChildComments:function(t,e){var s=this;this.loadingChildComments=!0,axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:t.id,max_id:this.replyChildMinId,cid:1,limit:3}}).then((function(t){var o;s.feed[e].hasOwnProperty("children")?((o=s.feed[e].children.feed).push.apply(o,i(t.data)),s.feed[e].children.can_load_more=3==t.data.length):s.feed[e].children={feed:t.data,can_load_more:3==t.data.length};s.replyChildMinId=t.data[t.data.length-1].id,s.feed[e].replies_loaded=!0,s.loadingChildComments=!1})).catch((function(t){}))}}}},78828:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(7764);function a(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return i(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);s0?t.canLoadMore=!0:t.canLoadMore=!1})).catch((function(e){t.isLoadingMore=!1,t.canLoadMore=!1}))},storeComment:function(){var t=this;axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,content:this.replyContent}).then((function(e){t.replyContent=null,t.feed.unshift(e.data)})).catch((function(e){422==e.response.status?(t.isUploading=!1,t.uploadProgress=0,swal("Oops!",e.response.data.error,"error")):(t.isUploading=!1,t.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},readMore:function(){this.readMoreCursor=this.readMoreCursor+200},likeComment:function(t,e,s){s.target.blur();var o=!t.favourited;this.feed[e].favourited=o,t.favourited=o,axios.post("/api/v0/groups/like",{sid:t.id,gid:this.groupId})},deleteComment:function(t){var e=this;0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/api/v0/groups/status/delete",{gid:this.groupId,id:this.feed[t].id}).then((function(s){e.feed.splice(t,1)})).catch((function(t){console.log(t.response),swal("Error","Something went wrong. Please try again later.","error")}))},uploadImage:function(){this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=this,s=new FormData;s.append("gid",this.groupId),s.append("sid",this.status.id),s.append("photo",this.$refs.fileInput.files[0]),axios.post("/api/v0/groups/comment/photo",s,{onUploadProgress:function(t){e.uploadProgress=Math.floor(t.loaded/t.total*100)}}).then((function(e){t.isUploading=!1,t.uploadProgress=0,t.feed.unshift(e.data)})).catch((function(e){422==e.response.status?(t.isUploading=!1,t.uploadProgress=0,swal("Oops!",e.response.data.error,"error")):(t.isUploading=!1,t.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))}},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},replyToChild:function(t,e){this.replyChildId!=t.id?(this.childReplyContent=null,this.replyChildId=t.id,t.hasOwnProperty("replies_loaded")&&t.replies_loaded||this.fetchChildReplies(t,e)):this.replyChildId=null},fetchChildReplies:function(t,e){var s=this;axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:t.id,cid:1,limit:3}}).then((function(t){var o;s.feed[e].hasOwnProperty("children")?((o=s.feed[e].children.feed).push.apply(o,a(t.data)),s.feed[e].children.can_load_more=3==t.data.length):s.feed[e].children={feed:t.data,can_load_more:3==t.data.length};s.feed[e].replies_loaded=!0})).catch((function(t){}))},storeChildComment:function(){var t=this;this.postingChildComment=!0,axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,cid:this.replyChildId,content:this.childReplyContent}).then((function(e){t.childReplyContent=null,t.postingChildComment=!1})).catch((function(t){422==t.response.status?swal("Oops!",t.response.data.error,"error"):swal("Oops!","An error occured while processing your request, please try again later","error")})),console.log(this.replyChildId)}}}},15961:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(74692);const a={props:{status:{type:Object},profile:{type:Object},type:{type:String,default:"status",validator:function(t){return["status","comment","profile"].includes(t)}},groupId:{type:String}},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}},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("/api/v0/groups/".concat(e.groupId,"/report/create"),{type:t,id:s}).then((function(t){e.closeCtxMenu(),swal("Report Sent!","We have successfully received your report.","success")})).catch((function(t){422==t.response.status?swal("Oops!",t.response.data.error,"error"):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,a=(t.account.username,t.id,""),i=this;switch(e){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(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,i.closeModals(),i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.closeModals(),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(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,i.closeModals(),i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.closeModals(),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(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"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}));break;case"spammer":a="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:a,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"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.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.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},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()}))}}}},43599:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(7764),a=s(69513);const i={props:{groupId:{type:String},status:{type:Object},profile:{type:Object}},components:{"read-more":o.default,"comment-drawer":a.default},data:function(){return{loaded:!1}},mounted:function(){this.init()},methods:{init:function(){this.loaded=!0,this.$refs.modal.show()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)}}}},6234:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>g});var o=s(69513),a=s(84125),i=s(78841),n=s(21466),r=s(98051),l=s(37128),c=s(61518),d=s(79427),u=s(42013),p=s(93934),h=s(40798),m=s(76746);function f(t){return function(t){if(Array.isArray(t))return v(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 v(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 v(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 v(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,o=new Array(e);s@'+a+"";case"from":return o+' from '+a+"";case"custom":return o+' '+s+" "+a+""}},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){e.currentTarget.blur();var s=t.favourites_count,o=t.favourited?"unlike":"like";axios.post("/api/v0/groups/status/"+o,{sid:t.id,gid:this.groupId}).then((function(a){t.favourited=o,t.favourites_count=o?s+1:s-1,t.favourited=o,t.favourited&&setTimeout((function(){e.target.classList.add("animate__animated","animate__bounce")}),100)})).catch((function(t){422==t.response.status?swal("Error",t.response.data.error,"error"):swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200)},commentFocus:function(t){t.target.blur(),this.showCommentDrawer=!this.showCommentDrawer},commentSubmit:function(t,e){var s=this;this.replySending=!0;var o=t.id,a=this.replyText,i=this.config.uploader.max_caption_length;if(a.length>i)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+i+" characters or less.","error");axios.post("/i/comment",{item:o,comment:a,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")},showPostModal:function(){this.showModal=!0,this.$refs.modal.init()},showLikesModal:function(t){t&&t.hasOwnProperty("currentTarget")&&t.currentTarget().blur(),this.$emit("likes-modal")},infiniteLikesHandler:function(t){var e=this;axios.get("/api/v0/groups/"+this.groupId+"/likes/"+this.status.id,{params:{page:this.likesPage}}).then((function(s){var o,a=s.data;a.data.length>0?((o=e.likes).push.apply(o,f(a.data)),e.likesPage++,t.loaded()):t.complete()}))}}}},79270:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});const o={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{fullContent:null,content:null,cursor:200}},mounted:function(){this.cursor=this.cursorLimit,this.fullContent=this.status.content,this.content=this.status.content.substr(0,this.cursor)},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)}}}},33664:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});const o={props:{group:{type:Object},status:{type:Object},profile:{type:Object},showGroupHeader:{type:Boolean,default:!1},showGroupChevron:{type:Boolean,default:!1}},data:function(){return{reportTypes:[{key:"spam",title:"It's spam"},{key:"sensitive",title:"Nudity or sexual activity"},{key:"abusive",title:"Bullying or harassment"},{key:"underage",title:"I think this account is underage"},{key:"violence",title:"Violence or dangerous organizations"},{key:"copyright",title:"Copyright infringement"},{key:"impersonation",title:"Impersonation"},{key:"scam",title:"Scam or fraud"},{key:"terrorism",title:"Terrorism or terrorism-related content"}]}},methods:{formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return"/groups/"+t.gid+"/p/"+t.id},profileUrl:function(t){return"/groups/"+t.gid+"/user/"+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,a=document.createElement("a");switch(a.href=t.account.url,a=a.hostname,e){case"@":default:return o+'@'+a+"";case"from":return o+' from '+a+"";case"custom":return o+' '+s+" "+a+""}},sendReport:function(t){var e=this,s=document.createElement("div");s.classList.add("list-group"),this.reportTypes.forEach((function(t){var e=document.createElement("button");e.classList.add("list-group-item","small"),e.innerHTML=t.title,e.onclick=function(){document.dispatchEvent(new CustomEvent("reportOption",{detail:{key:t.key,title:t.title}}))},s.appendChild(e)}));var o=document.createElement("div");o.appendChild(s),swal({title:"Report Content",icon:"warning",content:o,buttons:!1}),document.addEventListener("reportOption",(function(t){console.log(t.detail),e.showConfirmation(t.detail)}),{once:!0})},showConfirmation:function(t){var e=this;console.log(t),swal({title:"Confirmation",text:"You selected ".concat(t.title,". Do you want to proceed?"),icon:"info",buttons:!0}).then((function(s){s?axios.post("/api/v0/groups/".concat(e.status.gid,"/report/create"),{type:t.key,id:e.status.id}).then((function(t){swal("Confirmed!","Your report has been submitted.","success")})):swal("Cancelled","Your report was not submitted.","error")}))}}}},75e3:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(69513);const a={props:{showCommentDrawer:{type:Boolean},permalinkMode:{type:Boolean},childContext:{type:Object},status:{type:Object},profile:{type:Object},groupId:{type:String}},components:{"comment-drawer":o.default}}},33422:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});const o={props:["status"]}},36639:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(18634);const a={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)}}}}},9266:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(18634);const a={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}}}},35986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});const o={props:["status"]}},25189:(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")},poster:function(){var t=this.status.media_attachments[0].preview_url;if(!t.endsWith("no-preview.jpg")&&!t.endsWith("no-preview.png"))return t}}}},70384:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(74692);const a={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()},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,a=(t.account.username,t.id,""),i=this;switch(e){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(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,i.closeModals(),i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.closeModals(),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(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,i.closeModals(),i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.closeModals(),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(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"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.ctxModMenuClose(),swal("Error","Something went wrong, please try again later.","error")}))}));break;case"spammer":a="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:a,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"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.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()}))}}}},78615:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(53744),a=s(74692);const i={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,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-topic-feed-component"},[t.isLoaded?e("div",{staticClass:"bg-white py-5 border-bottom"},[e("div",{staticClass:"container"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",[e("h3",{staticClass:"font-weight-bold mb-1"},[t._v("#"+t._s(t.name))]),t._v(" "),e("p",{staticClass:"mb-0 lead text-muted"},[e("span",[t._v("\n\t\t\t\t\t\t\tPosts in "),e("a",{staticClass:"text-muted font-weight-bold",attrs:{href:t.group.url}},[t._v(t._s(t.group.name))])]),t._v(" "),e("span",[t._v("·")]),t._v(" "),t._m(0),t._v(" "),e("span",[t._v("·")]),t._v(" "),e("span",[t._v(t._s("all"!=t.group.membership?"Private":"Public")+" Group")])])])])])]):t._e(),t._v(" "),t.isLoaded?e("div",{staticClass:"row justify-content-center mt-3"},[t.feed.length?e("div",{staticClass:"col-12 col-md-5"},[t._l(t.feed,(function(s,o){return e("group-status",{key:"gs:"+s.id+o,attrs:{prestatus:s,profile:t.profile,group:t.group,"show-group-chevron":!0,"group-id":t.gid}})})),t._v(" "),t.feed.length>2?e("div",[e("infinite-loading",{on:{infinite:t.infiniteFeed}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1):t._e()],2):e("div",{staticClass:"col-12 col-md-5 d-flex justify-content-center"},[e("div",{staticClass:"mt-5"},[t._m(1),t._v(" "),e("p",{staticClass:"font-weight-bold text-muted"},[t._v("Cannot load any posts containg the "),e("span",{staticClass:"font-weight-normal"},[t._v("#"+t._s(t.name))]),t._v(" hashtag")]),t._v(" "),e("p",{staticClass:"text-left"},[t._v("\n\t\t\t\t\tThis can happen for a few reasons:\n\t\t\t\t")]),t._v(" "),t._m(2)])])]):t._e()])},a=[function(){var t=this._self._c;return t("span",[t("i",{staticClass:"fas fa-globe"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-lighter text-center"},[t("i",{staticClass:"fal fa-exclamation-circle fa-4x"})])},function(){var t=this,e=t._self._c;return e("ul",{staticClass:"text-left"},[e("li",[t._v("There is a typo in the url")]),t._v(" "),e("li",[t._v("No posts exist that contain this hashtag")]),t._v(" "),e("li",[t._v("This hashtag has been banned by group admins")]),t._v(" "),e("li",[t._v("The hashtag is new or used infrequently")]),t._v(" "),e("li",[t._v("A technical issue has occured")])])}]},37773:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t,e,s=this,o=s._self._c;return o("div",{staticClass:"comment-drawer-component"},[o("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:s.handleImageUpload}}),s._v(" "),s.hide?o("div"):s.isLoaded?o("div",{staticClass:"border-top"},[o("div",{staticClass:"my-3"},s._l(s.feed,(function(t,e){return o("div",{key:"cdf"+e+t.id,staticClass:"media media-status align-items-top"},[s.replyChildId==t.id?o("a",{staticClass:"comment-border-link",attrs:{href:"#comment-1"},on:{click:function(e){return e.preventDefault(),s.replyToChild(t)}}},[o("span",{staticClass:"sr-only"},[s._v("Jump to comment-"+s._s(e))])]):s._e(),s._v(" "),o("a",{attrs:{href:t.account.url}},[o("img",{staticClass:"rounded-circle media-avatar border",attrs:{src:t.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),s._v(" "),o("div",{staticClass:"media-body"},[t.media_attachments.length?o("div",[o("p",{staticClass:"media-body-comment-username"},[o("a",{attrs:{href:t.account.url}},[s._v("\n\t\t\t\t\t\t\t\t\t"+s._s(t.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),s._v(" "),o("div",{staticClass:"bh-comment",on:{click:function(e){return s.lightbox(t)}}},[o("blur-hash-image",{staticClass:"img-fluid rounded-lg border shadow",attrs:{width:s.blurhashWidth(t),height:s.blurhashHeight(t),punch:1,hash:t.media_attachments[0].blurhash,src:s.getMediaSource(t)}})],1)]):o("div",{staticClass:"media-body-comment"},[o("p",{staticClass:"media-body-comment-username"},[o("a",{attrs:{href:t.account.url}},[s._v("\n\t\t\t\t\t\t\t\t\t"+s._s(t.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),s._v(" "),o("read-more",{attrs:{status:t}})],1),s._v(" "),o("p",{staticClass:"media-body-reactions"},[s.profile?o("a",{staticClass:"font-weight-bold",class:[t.favourited?"text-primary":"text-muted"],attrs:{href:"#"},on:{click:function(o){return o.preventDefault(),s.likeComment(t,e,o)}}},[s._v("\n\t\t\t\t\t\t\t\t\t"+s._s(t.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]):s._e(),s._v(" "),o("span",{staticClass:"mx-1"},[s._v("·")]),s._v(" "),o("a",{staticClass:"text-muted font-weight-bold",attrs:{href:"#"},on:{click:function(o){return o.preventDefault(),s.replyToChild(t,e)}}},[s._v("Reply")]),s._v(" "),s.profile?o("span",{staticClass:"mx-1"},[s._v("·")]):s._e(),s._v(" "),s._o(o("a",{staticClass:"font-weight-bold text-muted",attrs:{href:t.url}},[s._v("\n\t\t\t\t\t\t\t\t"+s._s(s.shortTimestamp(t.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cdf"+e+t.id),s._v(" "),s.profile&&t.account.id===s.profile.id?o("span",[o("span",{staticClass:"mx-1"},[s._v("·")]),s._v(" "),o("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),s.deleteComment(e)}}},[s._v("\n\t\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t\t")])]):s._e()]),s._v(" "),s.replyChildIndex==e&&t.hasOwnProperty("children")&&t.children.hasOwnProperty("feed")&&t.children.feed.length?o("div",s._l(t.children.feed,(function(t,e){return o("comment-post",{key:"scp_"+e+"_"+t.id,attrs:{status:t,profile:s.profile,commentBorderArrow:!0}})})),1):s._e(),s._v(" "),s.replyChildIndex==e&&t.hasOwnProperty("children")&&t.children.hasOwnProperty("can_load_more")&&1==t.children.can_load_more?o("a",{staticClass:"text-muted font-weight-bold mt-1 mb-0",staticStyle:{"font-size":"13px"},attrs:{href:"#",disabled:s.loadingChildComments},on:{click:function(o){return o.preventDefault(),s.loadMoreChildComments(t,e)}}},[o("div",{staticClass:"comment-border-arrow"}),s._v(" "),o("i",{staticClass:"far fa-long-arrow-right mr-1"}),s._v("\n\t\t\t\t\t\t\t"+s._s(s.loadingChildComments?"Loading":"Load")+" more comments\n\t\t\t\t\t\t")]):s.replyChildIndex!==e&&t.hasOwnProperty("children")&&t.children.hasOwnProperty("can_load_more")&&1==t.children.can_load_more&&t.reply_count>0&&!s.loadingChildComments?o("a",{staticClass:"text-muted font-weight-bold mt-1 mb-0",staticStyle:{"font-size":"13px"},attrs:{href:"#",disabled:s.loadingChildComments},on:{click:function(o){return o.preventDefault(),s.replyToChild(t,e)}}},[o("i",{staticClass:"far fa-long-arrow-right mr-1"}),s._v("\n\t\t\t\t\t\t\t"+s._s(s.loadingChildComments?"Loading":"Load")+" more comments\n\t\t\t\t\t\t")]):s._e(),s._v(" "),s.replyChildId==t.id?o("div",{staticClass:"mt-3 mb-3 d-flex align-items-top reply-form child-reply-form"},[o("div",{staticClass:"comment-border-arrow"}),s._v(" "),o("img",{staticClass:"rounded-circle mr-2 border",attrs:{src:s.avatar,width:"38",height:"38",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}),s._v(" "),s.isUploading?o("div",{staticClass:"w-100"},[o("p",{staticClass:"font-weight-light mb-1"},[s._v("Uploading image ...")]),s._v(" "),o("div",{staticClass:"progress rounded-pill",staticStyle:{height:"10px"}},[o("div",{staticClass:"progress-bar progress-bar-striped progress-bar-animated",style:{width:s.uploadProgress+"%"},attrs:{role:"progressbar","aria-valuenow":s.uploadProgress,"aria-valuemin":"0","aria-valuemax":"100"}})])]):o("div",{staticClass:"reply-form-input"},[o("input",{directives:[{name:"model",rawName:"v-model",value:s.childReplyContent,expression:"childReplyContent"}],staticClass:"form-control bg-light border-lighter rounded-pill",attrs:{placeholder:"Write a comment....",disabled:s.postingChildComment},domProps:{value:s.childReplyContent},on:{keyup:function(t){return!t.type.indexOf("key")&&s._k(t.keyCode,"enter",13,t.key,"Enter")?null:s.storeChildComment(e)},input:function(t){t.target.composing||(s.childReplyContent=t.target.value)}}})])]):s._e()])])})),0),s._v(" "),s.canLoadMore?o("button",{staticClass:"btn btn-link btn-sm text-muted mb-2",attrs:{disabled:s.isLoadingMore},on:{click:s.loadMoreComments}},[s.isLoadingMore?o("div",{staticClass:"spinner-border spinner-border-sm text-muted",attrs:{role:"status"}},[o("span",{staticClass:"sr-only"},[s._v("Loading...")])]):o("span",[s._v("\n\t\t\t\t\tLoad more comments ...\n\t\t\t\t")])]):s._e(),s._v(" "),s.profile&&s.canReply?o("div",{staticClass:"mt-3 mb-n3"},[o("div",{staticClass:"d-flex align-items-top reply-form cdrawer-reply-form"},[o("img",{staticClass:"rounded-circle mr-2 border",attrs:{src:s.avatar,width:"38",height:"38",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}),s._v(" "),s.isUploading?o("div",{staticClass:"w-100"},[o("p",{staticClass:"font-weight-light small text-muted mb-1"},[s._v("Uploading image ...")]),s._v(" "),o("div",{staticClass:"progress rounded-pill",staticStyle:{height:"10px"}},[o("div",{staticClass:"progress-bar progress-bar-striped progress-bar-animated",style:{width:s.uploadProgress+"%"},attrs:{role:"progressbar","aria-valuenow":s.uploadProgress,"aria-valuemin":"0","aria-valuemax":"100"}})])]):o("div",{staticClass:"w-100"},[o("div",{staticClass:"reply-form-input"},[o("textarea",{directives:[{name:"model",rawName:"v-model",value:s.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light border-lighter",attrs:{placeholder:"Write a comment....",rows:s.replyContent&&s.replyContent.length>40?4:1},domProps:{value:s.replyContent},on:{input:function(t){t.target.composing||(s.replyContent=t.target.value)}}}),s._v(" "),o("div",{staticClass:"reply-form-input-actions"},[o("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:s.uploadImage}},[o("i",{staticClass:"far fa-image fa-lg"})])])]),s._v(" "),o("div",{staticClass:"d-flex justify-content-between reply-form-menu"},[o("div",{staticClass:"char-counter"},[o("span",[s._v(s._s(null!==(t=null===(e=s.replyContent)||void 0===e?void 0:e.length)&&void 0!==t?t:0))]),s._v(" "),o("span",[s._v("/")]),s._v(" "),o("span",[s._v("500")])])])]),s._v(" "),o("button",{staticClass:"btn btn-link btn-sm font-weight-bold align-self-center ml-3 mb-3",on:{click:s.storeComment}},[s._v("Post")])])]):s._e()]):o("div",{staticClass:"border-top d-flex justify-content-center py-3"},[s._m(0)]),s._v(" "),o("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"}},[s.lightboxStatus?o("div",{on:{click:s.hideLightbox}},[o("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:s.lightboxStatus.url}})]):s._e()])],1)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"text-center"},[e("div",{staticClass:"spinner-border text-lighter",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]),t._v(" "),e("p",{staticClass:"text-muted"},[t._v("Loading Comments ...")])])}]},16560:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-post-component"},[e("div",{staticClass:"media media-status align-items-top mt-3"},[t.commentBorderArrow?e("div",{staticClass:"comment-border-arrow"}):t._e(),t._v(" "),e("a",{attrs:{href:t.status.account.url}},[e("img",{staticClass:"rounded-circle media-avatar border",attrs:{src:t.status.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),t._v(" "),e("div",{staticClass:"media-body"},[t.status.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:t.status.account.url}},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"bh-comment",on:{click:function(e){return t.lightbox(t.status)}}},[e("blur-hash-image",{staticClass:"img-fluid rounded-lg border shadow",attrs:{width:t.blurhashWidth(t.status),height:t.blurhashHeight(t.status),punch:1,hash:t.status.media_attachments[0].blurhash,src:t.getMediaSource(t.status)}})],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:t.status.account.url}},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t")])]),t._v(" "),e("read-more",{attrs:{status:t.status}})],1),t._v(" "),e("p",{staticClass:"media-body-reactions"},[t.profile?e("a",{staticClass:"font-weight-bold",class:[t.status.favourited?"text-primary":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.likeComment(t.status,t.index,e)}}},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t")]):t._e(),t._v(" "),t.profile?e("span",{staticClass:"mx-1"},[t._v("·")]):t._e(),t._v(" "),t._m(0),t._v(" "),t.profile&&t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(t.index)}}},[t._v("\n\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t")])]):t._e()])])])])},a=[function(){var t=this;return(0,t._self._c)("a",{staticClass:"font-weight-bold text-muted",attrs:{href:t.status.url}},[t._v("\n\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t")])}]},57442:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"context-menu-component modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("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.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,o=e.target,a=!!o.checked;if(Array.isArray(s)){var i=t._i(s,null);o.checked?i<0&&(t.ctxEmbedShowCaption=s.concat([null])):i>-1&&(t.ctxEmbedShowCaption=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowCaption=a}}}),t._v(" "),e("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(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,o=e.target,a=!!o.checked;if(Array.isArray(s)){var i=t._i(s,null);o.checked?i<0&&(t.ctxEmbedShowLikes=s.concat([null])):i>-1&&(t.ctxEmbedShowLikes=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowLikes=a}}}),t._v(" "),e("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(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,o=e.target,a=!!o.checked;if(Array.isArray(s)){var i=t._i(s,null);o.checked?i<0&&(t.ctxEmbedCompactMode=s.concat([null])):i>-1&&(t.ctxEmbedCompactMode=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedCompactMode=a}}}),t._v(" "),e("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(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},a=[]},64954:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-post-modal"},[e("b-modal",{ref:"modal",attrs:{size:"xl","hide-footer":"","hide-header":"",centered:"","body-class":"gpm p-0"}},[e("div",{staticClass:"d-flex"},[e("div",{staticClass:"gpm-media"},[e("img",{attrs:{src:t.status.media_attachments[0].preview_url}})]),t._v(" "),e("div",{staticClass:"p-3",staticStyle:{width:"30%"}},[e("div",{staticClass:"media align-items-center mb-2"},[e("a",{attrs:{href:t.status.account.url}},[e("img",{staticClass:"rounded-circle media-avatar border mr-2",attrs:{src:t.status.account.avatar,width:"32",height:"32"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username mb-n1"},[e("a",{staticClass:"text-dark text-decoration-none font-weight-bold",attrs:{href:t.status.account.url}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e("p",{staticClass:"media-body-comment-timestamp mb-0"},[e("a",{staticClass:"font-weight-light text-muted small",attrs:{href:t.status.url}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[t._v("·")]),t._v(" "),e("span",{staticClass:"text-muted small"},[e("i",{staticClass:"fas fa-globe"})])])])]),t._v(" "),e("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("read-more",{attrs:{status:t.status}}),t._v(" "),e("div",{staticClass:"border-top border-bottom mt-3"},[e("div",{staticClass:"d-flex justify-content-between",staticStyle:{padding:"8px 5px"}},[e("button",{staticClass:"btn btn-link py-0 text-decoration-none btn-sm",class:{"font-weight-bold":t.status.favourited,"text-primary":t.status.favourited,"text-muted":!t.status.favourited}},[e("i",{staticClass:"far fa-heart mr-1"}),t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none btn-sm text-muted"},[e("i",{staticClass:"far fa-comment cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\tComment\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none btn-sm",attrs:{disabled:""}},[e("i",{staticClass:"fas fa-external-link-alt cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\tShare\n\t\t\t\t\t\t")])])])],1)])])],1)},a=[]},79355:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"status-card-component",class:{"status-card-sm":t.loaded&&"small"===t.size}},[t.loaded?e("div",{staticClass:"shadow-none mb-3"},["poll"!==t.status.pf_type?e("div",{staticClass:"card shadow-sm",class:{"border-top-0":!t.hasTopBorder},staticStyle:{"border-radius":"18px !important"}},[1==t.parentUnavailable?e("parent-unavailable",{attrs:{"permalink-mode":t.permalinkMode,"permalink-status":t.childContext,status:t.status,profile:t.profile,"group-id":t.groupId}}):e("div",{staticClass:"card-body pb-0"},[e("group-post-header",{attrs:{group:t.group,status:t.status,profile:t.profile,showGroupHeader:t.showGroupHeader,showGroupChevron:t.showGroupChevron}}),t._v(" "),e("div",[e("div",[e("div",{staticClass:"pl-2"},[t.status.sensitive&&t.status.content.length?e("div",{staticClass:"card card-body shadow-none border bg-light py-2 my-2 text-center user-select-none cursor-pointer",on:{click:function(e){t.status.sensitive=!1}}},[e("div",{staticClass:"media justify-content-center align-items-center"},[e("div",{staticClass:"mx-3"},[e("i",{staticClass:"far fa-exclamation-triangle fa-2x text-lighter"})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Warning, may contain sensitive content. ")]),t._v(" "),e("p",{staticClass:"mb-0 text-lighter small text-center font-weight-bold"},[t._v("Click to view")])])])]):[e("p",{staticClass:"pt-2 text-break",staticStyle:{"font-size":"15px"},domProps:{innerHTML:t._s(t.renderedCaption)}})],t._v(" "),"photo"===t.status.pf_type?e("photo-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{lightbox:t.showPostModal,togglecw:function(e){t.status.sensitive=!1},click:t.showPostModal}}):"video"===t.status.pf_type?e("video-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}}):"photo:album"===t.status.pf_type?e("photo-album-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}}):"video:album"===t.status.pf_type?e("video-album-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}}):"photo:video:album"===t.status.pf_type?e("mixed-album-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}}):t._e(),t._v(" "),t.status.favourites_count||t.status.reply_count?e("div",{staticClass:"border-top my-0"},[e("div",{staticClass:"d-flex justify-content-between py-2",staticStyle:{"font-size":"14px"}},[t.status.favourites_count?e("button",{staticClass:"btn btn-light py-0 text-decoration-none text-dark",staticStyle:{"font-size":"12px","font-weight":"600"},on:{click:function(e){return t.showLikesModal(e)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.status.favourites_count)+" "+t._s(1==t.status.favourites_count?"Like":"Likes")+"\n\t\t\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t.status.reply_count?e("button",{staticClass:"btn btn-light py-0 text-decoration-none text-dark",staticStyle:{"font-size":"12px","font-weight":"600"},on:{click:function(e){return t.commentFocus(e)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.status.reply_count)+" "+t._s(1==t.status.reply_count?"Comment":"Comments")+"\n\t\t\t\t\t\t\t\t\t\t")]):t._e()])]):t._e(),t._v(" "),t.profile?e("div",{staticClass:"border-top my-0"},[e("div",{staticClass:"d-flex justify-content-between py-2 px-4"},[e("div",[e("button",{staticClass:"btn btn-link py-0 text-decoration-none",class:{"font-weight-bold":t.status.favourited,"text-primary":t.status.favourited,"text-muted":!t.status.favourited},attrs:{id:"lr__"+t.status.id},on:{click:function(e){return t.likeStatus(t.status,e)}}},[e("i",{staticClass:"far fa-heart mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none text-muted",on:{click:function(e){return t.commentFocus(e)}}},[e("i",{staticClass:"far fa-comment cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t\t\tComment\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none",attrs:{disabled:""}},[e("i",{staticClass:"fas fa-external-link-alt cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t\t\tShare\n\t\t\t\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),t.showCommentDrawer?e("comment-drawer",{attrs:{"permalink-mode":t.permalinkMode,"permalink-status":t.childContext,status:t.status,profile:t.profile,"group-id":t.groupId}}):t._e()],2)])])],1)],1):e("div",{staticClass:"border"},[e("poll-card",{attrs:{status:t.status,profile:t.profile,showBorder:!1},on:{"status-delete":t.statusDeleted}}),t._v(" "),e("div",{staticClass:"bg-white",staticStyle:{padding:"0 1.25rem"}},[t.profile?e("div",{staticClass:"border-top my-0"},[e("div",{staticClass:"d-flex justify-content-between py-2 px-4"},[e("div",[e("button",{staticClass:"btn btn-link py-0 text-decoration-none",class:{"font-weight-bold":t.status.favourited,"text-primary":t.status.favourited,"text-muted":!t.status.favourited},attrs:{id:"lr__"+t.status.id},on:{click:function(e){return t.likeStatus(t.status,e)}}},[e("i",{staticClass:"far fa-heart mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"lr__"+t.status.id,triggers:"hover",placement:"top"},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("Popover Title")]},proxy:!0}],null,!1,4088088860)},[t._v("\n\t\t\t\t\t\t\t\t\tI am popover "),e("b",[t._v("component")]),t._v(" content!\n\t\t\t\t\t\t\t\t")])],1),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none text-muted",on:{click:function(e){return t.commentFocus(e)}}},[e("i",{staticClass:"far fa-comment cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\t\tComment\n\t\t\t\t\t\t\t")]),t._v(" "),t._m(0)])]):t._e(),t._v(" "),t.showCommentDrawer?e("comment-drawer",{attrs:{"permalink-mode":t.permalinkMode,"permalink-status":t.childContext,profile:t.profile,status:t.status,"group-id":t.groupId}}):t._e()],1)],1),t._v(" "),t.profile?e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile,"group-id":t.groupId},on:{"status-delete":t.statusDeleted}}):t._e(),t._v(" "),t.showModal?e("post-modal",{ref:"modal",attrs:{status:t.status,profile:t.profile,groupId:t.groupId}}):t._e()],1):e("div",{staticClass:"card card-body shadow-none border mb-3",staticStyle:{height:"200px"}},[t._m(1)])])},a=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-link py-0 text-decoration-none",attrs:{disabled:""}},[t("i",{staticClass:"fas fa-external-link-alt cursor-pointer text-muted mr-1"}),this._v("\n\t\t\t\t\t\t\t\tShare\n\t\t\t\t\t\t\t")])},function(){var t=this._self._c;return t("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center"},[t("div",{staticClass:"spinner-border text-primary",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])])}]},30832:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-all"}},[t.status.content.length<200?e("div",{domProps:{innerHTML:t._s(t.content)}}):e("div",[e("span",{domProps:{innerHTML:t._s(t.content)}}),t._v(" "),200==t.cursor||t.fullContent.length>t.cursor?e("a",{staticClass:"font-weight-bold text-muted",staticStyle:{display:"block","white-space":"nowrap"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.readMore.apply(null,arguments)}}},[e("i",{staticClass:"d-none fas fa-caret-down"}),t._v(" Read more...\n\t\t")]):t._e()])])},a=[]},3391:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t,e,s=this,o=s._self._c;return o("div",{staticClass:"group-post-header media"},[s.showGroupHeader?o("div",{staticClass:"mb-1",staticStyle:{position:"relative"}},[s.group.hasOwnProperty("metadata")&&(s.group.metadata.hasOwnProperty("avatar")||s.group.metadata.hasOwnProperty("header"))?o("img",{staticClass:"rounded-lg box-shadow mr-2",staticStyle:{"object-fit":"cover"},attrs:{src:s.group.metadata.hasOwnProperty("header")?s.group.metadata.header.url:s.group.metadata.avatar.url,width:"52",height:"52",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}):o("span",{staticClass:"d-block rounded-lg box-shadow mr-2 bg-primary",staticStyle:{width:"52px",height:"52px"}}),s._v(" "),o("img",{staticClass:"rounded-circle box-shadow border mr-2",staticStyle:{position:"absolute",bottom:"-4px",right:"-4px"},attrs:{src:s.status.account.avatar,width:"36",height:"36",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]):o("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:s.status.account.avatar,width:"42",height:"42",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}),s._v(" "),o("div",{staticClass:"media-body"},[o("div",{staticClass:"pl-2 d-flex align-items-top"},[o("div",[o("p",{staticClass:"mb-0"},[s.showGroupHeader&&s.group?o("router-link",{staticClass:"group-name-link username",attrs:{to:"/groups/".concat(s.status.gid)}},[s._v("\n "+s._s(s.group.name)+"\n ")]):o("router-link",{staticClass:"group-name-link username",attrs:{to:"/groups/".concat(s.status.gid,"/user/").concat(null===(t=s.status)||void 0===t?void 0:t.account.id)},domProps:{innerHTML:s._s(s.statusCardUsernameFormat(s.status))}},[s._v("\n Loading...\n ")]),s._v(" "),s.showGroupChevron?o("span",[s._m(0),s._v(" "),o("span",[o("router-link",{staticClass:"group-name-link",attrs:{to:"/groups/".concat(s.status.gid)}},[s._v("\n "+s._s(s.group.name)+"\n ")])],1)]):s._e()],1),s._v(" "),o("p",{staticClass:"mb-0 mt-n1"},[s.showGroupHeader&&s.group?o("span",{staticStyle:{"font-size":"13px"}},[o("router-link",{staticClass:"group-name-link-small username",attrs:{to:"/groups/".concat(s.status.gid,"/user/").concat(null===(e=s.status)||void 0===e?void 0:e.account.id)},domProps:{innerHTML:s._s(s.statusCardUsernameFormat(s.status))}},[s._v("\n Loading...\n ")]),s._v(" "),o("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[s._v("·")]),s._v(" "),o("router-link",{staticClass:"font-weight-light text-muted",attrs:{to:"/groups/".concat(s.status.gid,"/p/").concat(s.status.id)}},[s._v("\n "+s._s(s.shortTimestamp(s.status.created_at))+"\n ")]),s._v(" "),o("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[s._v("·")]),s._v(" "),s._m(1)],1):o("span",[o("router-link",{staticClass:"font-weight-light text-muted small",attrs:{to:"/groups/".concat(s.status.gid,"/p/").concat(s.status.id)}},[s._v("\n "+s._s(s.shortTimestamp(s.status.created_at))+"\n ")]),s._v(" "),o("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[s._v("·")]),s._v(" "),s._m(2)],1)])]),s._v(" "),s.profile?o("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[o("div",{staticClass:"dropdown"},[s._m(3),s._v(" "),o("div",{staticClass:"dropdown-menu dropdown-menu-right"},[o("a",{staticClass:"dropdown-item",attrs:{href:"#"}},[s._v("View Post")]),s._v(" "),o("a",{staticClass:"dropdown-item",attrs:{href:"#"}},[s._v("View Profile")]),s._v(" "),o("a",{staticClass:"dropdown-item",attrs:{href:"#"}},[s._v("Copy Link")]),s._v(" "),o("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),s.sendReport()}}},[s._v("Report")]),s._v(" "),o("div",{staticClass:"dropdown-divider"}),s._v(" "),o("a",{staticClass:"dropdown-item text-danger",attrs:{href:"#"}},[s._v("Delete")])])])]):s._e()])])])},a=[function(){var t=this._self._c;return t("span",{staticClass:"text-muted",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[t("i",{staticClass:"fas fa-caret-right"})])},function(){var t=this._self._c;return t("span",{staticClass:"text-muted"},[t("i",{staticClass:"fas fa-globe"})])},function(){var t=this._self._c;return t("span",{staticClass:"text-muted small"},[t("i",{staticClass:"fas fa-globe"})])},function(){var t=this._self._c;return t("button",{staticClass:"btn btn-link dropdown-toggle",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"fas fa-ellipsis-h text-lighter"})])}]},70560:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"18px !important"}},[e("div",{staticClass:"card-body pb-0"},[t._m(0),t._v(" "),e("div",[t.showCommentDrawer?e("comment-drawer",{attrs:{"permalink-mode":t.permalinkMode,"permalink-status":t.childContext,status:t.status,profile:t.profile,"group-id":t.groupId,"can-reply":!1}}):t._e()],1)])])},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body border shadow-none mb-3",staticStyle:{"background-color":"#E5E7EB"}},[e("div",{staticClass:"media p-md-4"},[e("div",{staticClass:"mr-4 pt-2"},[e("i",{staticClass:"fas fa-lock fa-2x"})]),t._v(" "),e("div",{staticClass:"media-body",staticStyle:{"max-width":"320px"}},[e("p",{staticClass:"lead font-weight-bold mb-1"},[t._v("This content isn't available right now")]),t._v(" "),e("p",{staticClass:"mb-0",staticStyle:{"font-size":"12px","letter-spacing":"-0.3px"}},[t._v("When this happens, it's usually because the owner only shared it with a small group of people, changed who can see it, or it's been deleted.")])])])])}]},18389:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("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(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("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(s,o){return e("b-carousel-slide",{key:s.id+"-media"},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:s.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{slot:"img",title:s.description},slot:"img"},[e("img",{class:s.filter_class+" d-block img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)]):e("div",{staticClass:"w-100 h-100 p-0"},[e("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(s,o){return e("slide",{key:"px-carousel-"+s.id+"-"+o,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:s.description,width:"100%",height:"100%"}},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{title:s.description}},[e("img",{class:s.filter_class+" img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)},a=[]},28691:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("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(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[e("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(s,o){return e("slide",{key:"px-carousel-"+s.id+"-"+o,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:s.description}},[e("img",{staticClass:"img-fluid w-100 p-0",attrs:{src:s.url,alt:t.altText(s),loading:"lazy","data-bp":s.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),t._v(" "),e("div",{staticClass:"album-overlay"},[!t.status.sensitive&&t.sensitive?e("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}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),e("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)}}},[e("i",{staticClass:"fas fa-expand fa-lg"})]),t._v(" "),t.status.media_attachments[0].license?e("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))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("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 "),e("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)},a=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},84094:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("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(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",[e("div",{staticStyle:{position:"relative"},attrs:{title:t.status.media_attachments[0].description}},[e("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?e("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}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?e("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))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("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 "),e("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()])])},a=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},12024:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("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(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("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,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)]):e("div",[e("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,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)},a=[]},75593:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("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(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",{staticClass:"embed-responsive embed-responsive-16by9"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"","webkit-playsinline":"",preload:"metadata",loop:"","data-id":t.status.id,poster:t.poster()}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])},a=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},45322:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("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?e("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?e("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?e("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?e("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?e("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?e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" to Followers")]),t._v(" "),e("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?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v("Embed")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,o=e.target,a=!!o.checked;if(Array.isArray(s)){var i=t._i(s,null);o.checked?i<0&&(t.ctxEmbedShowCaption=s.concat([null])):i>-1&&(t.ctxEmbedShowCaption=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowCaption=a}}}),t._v(" "),e("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(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,o=e.target,a=!!o.checked;if(Array.isArray(s)){var i=t._i(s,null);o.checked?i<0&&(t.ctxEmbedShowLikes=s.concat([null])):i>-1&&(t.ctxEmbedShowLikes=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowLikes=a}}}),t._v(" "),e("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(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,o=e.target,a=!!o.checked;if(Array.isArray(s)){var i=t._i(s,null);o.checked?i<0&&(t.ctxEmbedCompactMode=s.concat([null])):i>-1&&(t.ctxEmbedCompactMode=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedCompactMode=a}}}),t._v(" "),e("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(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},a=[]},28995:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>a});var o=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"card shadow-none rounded-0",class:{border:t.showBorder,"border-top-0":!t.showBorderTop}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",alt:"avatar"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("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(" "),e("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(" "),e("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(" "),e("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(" "),e("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(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t")]):e("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(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[e("div",{staticClass:"poll py-3"},[e("div",{staticClass:"pt-2 text-break d-flex align-items-center mb-3",staticStyle:{"font-size":"17px"}},[t._m(1),t._v(" "),e("span",{staticClass:"font-weight-bold ml-3",domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),e("div",{staticClass:"mb-2"},["vote"===t.tab?e("div",[t._l(t.status.poll.options,(function(s,o){return e("p",[e("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(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")])])})),t._v(" "),null!=t.selectedIndex?e("p",{staticClass:"text-right"},[e("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?e("div",t._l(t.status.poll.options,(function(s,o){return e("div",{staticClass:"mb-3"},[e("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(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):"results"===t.tab?e("div",t._l(t.status.poll.options,(function(s,o){return e("div",{staticClass:"mb-3"},[e("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(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):t._e()]),t._v(" "),e("div",[e("p",{staticClass:"mb-0 small text-lighter font-weight-bold d-flex justify-content-between"},[e("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?e("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?e("span",{staticClass:"text-lighter"},[t._m(2)]):t._e()])]),t._v(" "),e("div",[e("span",{staticClass:"d-block d-md-none small text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t\t\t")]):e("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(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},a=[function(){var t=this,e=t._self._c;return e("span",{staticClass:"d-none d-md-block px-1 text-primary font-weight-bold"},[e("i",{staticClass:"fas fa-poll-h"}),t._v(" Poll "),e("sup",{staticClass:"text-lighter"},[t._v("BETA")])])},function(){var t=this._self._c;return t("span",{staticClass:"btn btn-primary px-2 py-1"},[t("i",{staticClass:"fas fa-poll-h fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},29030:(t,e,s)=>{Vue.component("group-topic-feed",s(41056).default)},53933:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(76798),a=s.n(o)()((function(t){return t[1]}));a.push([t.id,".card-img-top[data-v-7066737e]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-7066737e]{position:relative}.content-label[data-v-7066737e]{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-7066737e]{position:relative}",""]);const i=a},71336:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(76798),a=s.n(o)()((function(t){return t[1]}));a.push([t.id,".card-img-top[data-v-f935045a]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-f935045a]{position:relative}.content-label[data-v-f935045a]{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 i=a},1685:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(76798),a=s.n(o)()((function(t){return t[1]}));a.push([t.id,".content-label-wrapper[data-v-7871d23c]{position:relative}.content-label[data-v-7871d23c]{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 i=a},11620:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(76798),a=s.n(o)()((function(t){return t[1]}));a.push([t.id,'.comment-drawer-component .media{position:relative}.comment-drawer-component .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}.comment-drawer-component .media .comment-border-link:hover{background-color:#bfdbfe}.comment-drawer-component .media .child-reply-form{position:relative}.comment-drawer-component .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}.comment-drawer-component .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.comment-drawer-component .media-status{margin-bottom:1.3rem}.comment-drawer-component .media-avatar{margin-right:12px}.comment-drawer-component .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.comment-drawer-component .media-body-comment-username{color:#000;font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.comment-drawer-component .media-body-comment-username a{color:#000;text-decoration:none}.comment-drawer-component .media-body-comment-content{font-size:16px;margin-bottom:0}.comment-drawer-component .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.25rem!important}.comment-drawer-component .load-more-comments{font-weight:500}.comment-drawer-component .reply-form{margin-bottom:2rem}.comment-drawer-component .reply-form-input{flex:1;position:relative}.comment-drawer-component .reply-form-input textarea{border-radius:10px}.comment-drawer-component .reply-form-input .form-control{padding-right:100px;resize:none}.comment-drawer-component .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.comment-drawer-component .reply-form .btn{text-decoration:none}.comment-drawer-component .reply-form-menu{margin-top:5px}.comment-drawer-component .reply-form-menu .char-counter{color:var(--muted);font-size:10px}.comment-drawer-component .bh-comment,.comment-drawer-component .bh-comment img,.comment-drawer-component .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.comment-drawer-component .bh-comment img{-o-object-fit:cover;object-fit:cover}',""]);const i=a},14941:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(76798),a=s.n(o)()((function(t){return t[1]}));a.push([t.id,"",""]);const i=a},43247:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(76798),a=s.n(o)()((function(t){return t[1]}));a.push([t.id,".gpm-media{display:flex;width:70%}.gpm-media img{background-color:#000;height:auto;max-height:70vh;-o-object-fit:contain;object-fit:contain;width:100%}.gpm .comment-drawer-component .my-3{max-height:46vh;overflow:auto}.gpm .cdrawer-reply-form{bottom:0;margin-bottom:1rem!important;min-width:310px;position:absolute}",""]);const i=a},69780:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(76798),a=s.n(o)()((function(t){return t[1]}));a.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}.reaction-bar{border:1px solid #f3f4f6!important;left:-50px!important;max-width:unset;width:auto}.reaction-bar .popover-body{padding:2px}.reaction-bar .arrow{display:none}.reaction-bar img{width:48px}",""]);const i=a},47292:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(76798),a=s.n(o)()((function(t){return t[1]}));a.push([t.id,".group-post-header .btn[data-v-139b174c]::focus{box-shadow:none}.group-post-header .dropdown-toggle[data-v-139b174c]:after{display:none}.group-post-header .group-name-link[data-v-139b174c]{font-size:16px}.group-post-header .group-name-link[data-v-139b174c],.group-post-header .group-name-link-small[data-v-139b174c]{word-wrap:break-word!important;color:var(--body-color)!important;font-weight:600;text-decoration:none;word-break:break-word!important}.group-post-header .group-name-link-small[data-v-139b174c]{font-size:14px}",""]);const i=a},95442:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),a=s.n(o),i=s(53933),n={insert:"head",singleton:!1};a()(i.default,n);const r=i.default.locals||{}},27713:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),a=s.n(o),i=s(71336),n={insert:"head",singleton:!1};a()(i.default,n);const r=i.default.locals||{}},72908:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),a=s.n(o),i=s(1685),n={insert:"head",singleton:!1};a()(i.default,n);const r=i.default.locals||{}},1893:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),a=s.n(o),i=s(11620),n={insert:"head",singleton:!1};a()(i.default,n);const r=i.default.locals||{}},80892:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),a=s.n(o),i=s(14941),n={insert:"head",singleton:!1};a()(i.default,n);const r=i.default.locals||{}},91944:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),a=s.n(o),i=s(43247),n={insert:"head",singleton:!1};a()(i.default,n);const r=i.default.locals||{}},76629:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),a=s.n(o),i=s(69780),n={insert:"head",singleton:!1};a()(i.default,n);const r=i.default.locals||{}},44499:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),a=s.n(o),i=s(47292),n={insert:"head",singleton:!1};a()(i.default,n);const r=i.default.locals||{}},41056:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(25041),a=s(74795),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},69513:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(94052),a=s(96046),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);s(84930);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},66536:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(47173),a=s(7059),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);s(89483);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},84125:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(22515),a=s(60586),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},42013:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(2133),a=s(65638),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);s(99653);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},95002:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(68786),a=s(60481),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);s(99258);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},7764:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(8751),a=s(6723),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},76746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(51716),a=s(28725),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);s(82030);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,"139b174c",null).exports},40798:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(97299),a=s(84381),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},21466:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(63476),a=s(95509),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},98051:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(37086),a=s(90660),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);s(58877);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,"7066737e",null).exports},37128:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(84585),a=s(2815),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);s(2776);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,"f935045a",null).exports},61518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(99521),a=s(4777),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},79427:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(17962),a=s(6452),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);s(741);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,"7871d23c",null).exports},53744:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(29375),a=s(21663),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},78841:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(8044),a=s(24966),i={};for(const t in a)"default"!==t&&(i[t]=()=>a[t]);s.d(e,i);const n=(0,s(14486).default)(a.default,o.render,o.staticRenderFns,!1,null,null,null).exports},74795:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(44928),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},96046:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(68717),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},7059:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(78828),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},60586:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(15961),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},65638:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(43599),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},60481:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(6234),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},6723:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(79270),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},28725:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(33664),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},84381:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(75e3),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},95509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(33422),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},90660:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(36639),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},2815:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(9266),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},4777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(35986),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},6452:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(25189),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},21663:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(70384),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},24966:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(78615),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const i=o.default},25041:(t,e,s)=>{"use strict";s.r(e);var o=s(85620),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},94052:(t,e,s)=>{"use strict";s.r(e);var o=s(37773),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},47173:(t,e,s)=>{"use strict";s.r(e);var o=s(16560),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},22515:(t,e,s)=>{"use strict";s.r(e);var o=s(57442),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},2133:(t,e,s)=>{"use strict";s.r(e);var o=s(64954),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},68786:(t,e,s)=>{"use strict";s.r(e);var o=s(79355),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},8751:(t,e,s)=>{"use strict";s.r(e);var o=s(30832),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},51716:(t,e,s)=>{"use strict";s.r(e);var o=s(3391),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},97299:(t,e,s)=>{"use strict";s.r(e);var o=s(70560),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},63476:(t,e,s)=>{"use strict";s.r(e);var o=s(18389),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},37086:(t,e,s)=>{"use strict";s.r(e);var o=s(28691),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},84585:(t,e,s)=>{"use strict";s.r(e);var o=s(84094),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},99521:(t,e,s)=>{"use strict";s.r(e);var o=s(12024),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},17962:(t,e,s)=>{"use strict";s.r(e);var o=s(75593),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},29375:(t,e,s)=>{"use strict";s.r(e);var o=s(45322),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},8044:(t,e,s)=>{"use strict";s.r(e);var o=s(28995),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},58877:(t,e,s)=>{"use strict";s.r(e);var o=s(95442),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},2776:(t,e,s)=>{"use strict";s.r(e);var o=s(27713),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},741:(t,e,s)=>{"use strict";s.r(e);var o=s(72908),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},84930:(t,e,s)=>{"use strict";s.r(e);var o=s(1893),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},89483:(t,e,s)=>{"use strict";s.r(e);var o=s(80892),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},99653:(t,e,s)=>{"use strict";s.r(e);var o=s(91944),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},99258:(t,e,s)=>{"use strict";s.r(e);var o=s(76629),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)},82030:(t,e,s)=>{"use strict";s.r(e);var o=s(44499),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a)}},t=>{t.O(0,[3660],(()=>{return e=29030,t(t.s=e);var e}));t.O()}]); \ No newline at end of file diff --git a/public/js/group.create.9836b689acf0fc1b.js b/public/js/group.create.9836b689acf0fc1b.js new file mode 100644 index 000000000..6ee5f1c16 --- /dev/null +++ b/public/js/group.create.9836b689acf0fc1b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[2822],{96140:(t,e,a)=>{a.r(e),a.d(e,{default:()=>d});var o=a(26679),n=a(16080),r=a(49139);const d={components:{sidebar:o.default,loader:n.default,"create-group":r.default},data:function(){return{loaded:!1,loadTimeout:void 0}},created:function(){var t=this;this.loadTimeout=setTimeout((function(){t.loaded=!0}),1e3)},beforeUnmount:function(){clearTimeout(this.loadTimeout)}}},42360:(t,e,a)=>{a.r(e),a.d(e,{render:()=>o,staticRenderFns:()=>n});var o=function(){var t=this._self._c;return t("div",{staticClass:"group-notifications-component"},[t("div",{staticClass:"row border-bottom m-0 p-0"},[t("sidebar"),this._v(" "),t("create-group")],1)])},n=[]},36015:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var o=a(76798),n=a.n(o)()((function(t){return t[1]}));n.push([t.id,".group-notifications-component[data-v-a4ffe9ee]{font-family:var(--font-family-sans-serif)}.group-notifications-component .jumbotron[data-v-a4ffe9ee]{background-color:#fff;border-radius:0}",""]);const r=n},3850:(t,e,a)=>{a.r(e),a.d(e,{default:()=>f});var o=a(85072),n=a.n(o),r=a(36015),d={insert:"head",singleton:!1};n()(r.default,d);const f=r.default.locals||{}},22500:(t,e,a)=>{a.r(e),a.d(e,{default:()=>d});var o=a(47393),n=a(45607),r={};for(const t in n)"default"!==t&&(r[t]=()=>n[t]);a.d(e,r);a(82989);const d=(0,a(14486).default)(n.default,o.render,o.staticRenderFns,!1,null,"a4ffe9ee",null).exports},45607:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var o=a(96140),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);a.d(e,n);const r=o.default},47393:(t,e,a)=>{a.r(e);var o=a(42360),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);a.d(e,n)},82989:(t,e,a)=>{a.r(e);var o=a(3850),n={};for(const t in o)"default"!==t&&(n[t]=()=>o[t]);a.d(e,n)}}]); \ No newline at end of file diff --git a/public/js/groups-page-about.150f2f899988e65c.js b/public/js/groups-page-about.150f2f899988e65c.js new file mode 100644 index 000000000..8941d3183 --- /dev/null +++ b/public/js/groups-page-about.150f2f899988e65c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[8257],{91652:(t,e,a)=>{a.r(e),a.d(e,{default:()=>w});var s=a(79984),i=a(78277),n=a(17108),r=a(95002),o=a(87223),l=a(48204),c=a(9716),d=a(20524),u=a(13094),p=a(58753),f=a(54451),m=a(94559),v=a(19413),h=a(26679),g=a(49268),b=a(52505),_=a(33457),C=a(72890);const w={props:{groupId:{type:String},path:{type:String}},components:{"status-card":s.default,"group-about":o.default,"group-status":r.default,"group-members":i.default,"group-compose":n.default,"group-topics":d.default,"group-info-card":u.default,"group-media":l.default,"group-moderation":c.default,"leave-group":p.default,"group-insights":f.default,"search-modal":m.default,"invite-modal":v.default,sidebar:h.default,"group-banner":g.default,"group-header-details":b.default,"group-nav-tabs":_.default,"member-only-warning":C.default},data:function(){return{initialLoad:!1,profile:void 0,group:{},isMember:!1,isAdmin:!1,renderIdx:1,atabs:{moderation_count:0,request_count:0}}},created:function(){this.init()},methods:{init:function(){var t=this;this.initialLoad=!1,axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.profile=e.data,t.fetchGroup()})).catch((function(t){window.location.href="/login?_next="+encodeURIComponent(window.location.href)}))},handleRefresh:function(){this.initialLoad=!1,this.init(),this.renderIdx++},fetchGroup:function(){var t=this;axios.get("/api/v0/groups/"+this.groupId).then((function(e){t.group=e.data,t.isMember=e.data.self.is_member,t.isAdmin=["founder","admin"].includes(e.data.self.role),t.isAdmin&&t.fetchAdminTabs(),t.initialLoad=!0})).catch((function(t){alert("error")}))},fetchAdminTabs:function(){var t=this;axios.get("/api/v0/groups/"+this.groupId+"/atabs").then((function(e){t.atabs=e.data}))}}}},12189:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object}},methods:{timestampFormat:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=new Date(t);return e?a.toDateString()+" · "+a.toLocaleTimeString():a.toDateString()}}}},52327:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object}},data:function(){return{}},methods:{}}},14366:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object}},data:function(){return{isLoaded:!1,feed:[],photos:[],videos:[],albums:[],tab:"photo",tabs:["photo","video","album"],page:{photo:1,video:1,album:1},hasNextPage:{photo:!1,video:!1,album:!1}}},mounted:function(){this.fetchMedia()},methods:{fetchMedia:function(){var t=this;axios.get("/api/v0/groups/media/list",{params:{gid:this.group.id,page:this.page[this.tab],type:this.tab}}).then((function(e){e.data.length>0&&(t.hasNextPage[t.tab]=!0),t.isLoaded=!0,e.data.forEach((function(e){"photo"==e.pf_type&&t.photos.push(e),"video"==e.pf_type&&t.videos.push(e),"photo:album"==e.pf_type&&t.albums.push(e)})),t.page[t.tab]=t.page[t.tab]+1})).catch((function(e){t.hasNextPage[t.tab]=!1,console.log(e.response)}))},loadNextPage:function(){var t=this;axios.get("/api/v0/groups/media/list",{params:{gid:this.group.id,page:this.page[this.tab],type:this.tab}}).then((function(e){0!=e.data.length?(e.data.forEach((function(e){"photo"==e.pf_type&&t.photos.push(e),"video"==e.pf_type&&t.videos.push(e),"photo:album"==e.pf_type&&t.albums.push(e)})),t.page[t.tab]=t.page[t.tab]+1):t.hasNextPage[t.tab]=!1})).catch((function(e){t.hasNextPage[t.tab]=!1}))},formatDate:function(t){return new Date(t).toDateString()},switchTab:function(t){this.tab=t,this.fetchMedia()},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&&e.preview_url.endsWith("storage/no-preview.png")||e.preview_url&&e.preview_url.length,e.url}}}},95871:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(62724),i=a(74692);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 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 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 a=0,s=new Array(e);a{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,s=new Array(e);an});const n={props:{group:{type:Object}},data:function(){return{initalLoad:!1,reports:[],page:1,canLoadMore:!1,tab:"home"}},mounted:function(){this.getReports()},methods:{getReports:function(){var t=this;axios.get("/api/v0/groups/".concat(this.group.id,"/reports/list")).then((function(e){t.reports=e.data,t.initalLoad=!0,t.page++,t.canLoadMore=10==e.data.length}))},loadMoreReports:function(){var t=this;axios.get("/api/v0/groups/".concat(this.group.id,"/reports/list"),{params:{page:this.page}}).then((function(e){var a;(a=t.reports).push.apply(a,s(e.data)),t.page++,t.canLoadMore=10==e.data.length}))},timeago:function(t){return App.util.format.timeAgo(t)},actionMenu:function(t){var e=this;event.currentTarget.blur(),swal({title:"Moderator Action",dangerMode:!0,text:"Please select an action to take, press ESC to close",buttons:{ignore:{text:"Ignore",className:"btn-warning",value:"ignore"},cw:{text:"NSFW",className:"btn-warning",value:"cw"},delete:{text:"Delete",className:"btn-danger",value:"delete"}}}).then((function(a){switch(a){case"ignore":axios.post("/api/v0/groups/".concat(e.group.id,"/report/action"),{action:"ignore",id:e.reports[t].id}).then((function(a){var s=e.reports[t];e.$emit("decrement",s.total_count),e.reports.splice(t,1),e.$bvToast.toast("Ignored and closed moderation report",{title:"Moderation Action",autoHideDelay:5e3,appendToast:!0})}));break;case"cw":axios.post("/api/v0/groups/".concat(e.group.id,"/report/action"),{action:"cw",id:e.reports[t].id}).then((function(a){var s=e.reports[t];e.$emit("decrement",s.total_count),e.reports.splice(t,1),e.$bvToast.toast("Succesfully applied content warning and closed moderation report",{title:"Moderation Action",autoHideDelay:5e3,appendToast:!0})}));break;case"delete":swal("Oops, this is embarassing!","We have not implemented this moderation action yet.","error")}}))}}}},44128:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object}},data:function(){return{feed:[]}},mounted:function(){this.fetchTopics()},methods:{fetchTopics:function(){var t=this;axios.get("/api/v0/groups/topics/list",{params:{gid:this.group.id}}).then((function(e){t.feed=e.data}))}}}},52070:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object},profile:{type:Object}},data:function(){return{limitsLoaded:!1,limits:{can_post:!0,can_comment:!0,can_like:!0},updated:null,savingChanges:!1}},methods:{fetchInteractionLimits:function(){var t=this;axios.get("/api/v0/groups/".concat(this.group.id,"/members/interaction-limits"),{params:{profile_id:this.profile.id}}).then((function(e){t.limits=e.data.limits,t.updated=e.data.updated_at,t.limitsLoaded=!0})).catch((function(e){t.$refs.home.hide(),swal("Oops!","Cannot fetch interaction limits at this time, please try again later.","error")}))},open:function(t){this.loaded=!0,this.$refs.home.show(),this.fetchInteractionLimits()},formatDate:function(t){return new Date(t).toDateString()},saveChanges:function(){var t=this;event.currentTarget.blur(),this.savingChanges=!0,axios.post("/api/v0/groups/".concat(this.group.id,"/members/interaction-limits"),{profile_id:this.profile.id,can_post:this.limits.can_post,can_comment:this.limits.can_comment,can_like:this.limits.can_like}).then((function(e){t.savingChanges=!1,t.$refs.home.hide(),t.$bvToast.toast("Updated interaction limits for ".concat(t.profile.username),{title:"Success",variant:"success",autoHideDelay:5e3})})).catch((function(e){t.savingChanges=!1,t.$refs.home.hide(),422==e.response.status&&"limit_reached"==e.response.data.error?swal("Limit Reached","You cannot add any more member limitations","info"):swal("Oops!","An error occured while processing this request, please try again later.","error")}))}}}},99464:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-feed-component"},[e("div",{staticClass:"row border-bottom m-0 p-0"},[e("sidebar"),t._v(" "),e("div",{staticClass:"col-12 col-md-9 px-md-0"},[e("div",{staticClass:"bg-white mb-3 border-bottom"},[e("div",[e("group-banner",{attrs:{group:t.group}}),t._v(" "),e("group-header-details",{attrs:{group:t.group,isAdmin:t.isAdmin,isMember:t.isMember},on:{refresh:t.handleRefresh}}),t._v(" "),e("group-nav-tabs",{attrs:{group:t.group,isAdmin:t.isAdmin,isMember:t.isMember,atabs:t.atabs}})],1)]),t._v(" "),t.initialLoad?[e("div",{staticClass:"container-xl group-feed-component-body"},[t.initialLoad&&t.group.self.is_member?[e("group-about",{key:t.renderIdx,attrs:{group:t.group,profile:t.profile}})]:e("member-only-warning")],2)]:e("div",[e("p",{staticClass:"text-center mt-5 pt-5 font-weight-bold"},[t._v("Loading...")])])],2)],1)])},i=[]},91722:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-about-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-7"},[e("div",{staticClass:"card shadow-none border mt-3 rounded-lg"},[t._m(0),t._v(" "),e("div",{staticClass:"card-body"},[t.group.description&&t.group.description.length>1?e("p",{staticClass:"description",domProps:{innerHTML:t._s(t.group.description)}}):e("p",{staticClass:"description"},[t._v("This group does not have a description.")]),t._v(" "),e("p",{staticClass:"mb-0 font-weight-light text-lighter"},[t._v("Created: "+t._s(t.timestampFormat(t.group.created_at)))])])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-5"},[e("div",{staticClass:"card card-body mt-3 shadow-none border rounded-lg"},["all"==t.group.membership?e("div",{staticClass:"fact"},[t._m(1),t._v(" "),t._m(2)]):t._e(),t._v(" "),"private"==t.group.membership?e("div",{staticClass:"fact"},[t._m(3),t._v(" "),t._m(4)]):t._e(),t._v(" "),t._m(5),t._v(" "),t._m(6),t._v(" "),t._m(7)])])])])},i=[function(){var t=this._self._c;return t("div",{staticClass:"card-header bg-white"},[t("h5",{staticClass:"mb-0"},[this._v("About This Group")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-globe fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Public")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Anyone can see who's in the group and what they post.")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-lock fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Private")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Only members can see who's in the group and what they post.")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact"},[e("div",{staticClass:"fact-icon"},[e("i",{staticClass:"fal fa-eye fa-lg"})]),t._v(" "),e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Visible")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Anyone can find this group.")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact"},[e("div",{staticClass:"fact-icon"},[e("i",{staticClass:"fal fa-map-marker-alt fa-lg"})]),t._v(" "),e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Fediverse")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("This group has not specified a location.")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact mb-0"},[e("div",{staticClass:"fact-icon"},[e("i",{staticClass:"fal fa-users fa-lg"})]),t._v(" "),e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("General")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("This group has not specified a category.")])])])}]},3843:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-insights-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-3 mb-3"},[e("div",{staticClass:"bg-light p-3 border rounded d-flex justify-content-between align-items-center"},[e("p",{staticClass:"h3 font-weight-bold mb-0"},[t._v("124K")]),t._v(" "),e("p",{staticClass:"font-weight-bold text-uppercase text-lighter mb-0"},[t._v("Posts")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-3 mb-3"},[e("div",{staticClass:"bg-light p-3 border rounded d-flex justify-content-between align-items-center"},[e("p",{staticClass:"h3 font-weight-bold mb-0"},[t._v("9K")]),t._v(" "),e("p",{staticClass:"font-weight-bold text-uppercase text-lighter mb-0"},[t._v("Users")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-3 mb-3"},[e("div",{staticClass:"bg-light p-3 border rounded d-flex justify-content-between align-items-center"},[e("p",{staticClass:"h3 font-weight-bold mb-0"},[t._v("1.7M")]),t._v(" "),e("p",{staticClass:"font-weight-bold text-uppercase text-lighter mb-0"},[t._v("Interactions")])])])]),t._v(" "),e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-3 mb-3"},[e("div",{staticClass:"bg-light p-3 border rounded d-flex justify-content-between align-items-center"},[e("p",{staticClass:"h3 font-weight-bold mb-0"},[t._v("50")]),t._v(" "),e("p",{staticClass:"font-weight-bold text-uppercase text-lighter mb-0"},[t._v("Mod Reports")])])])])])}]},78059:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-media-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"card card-body border shadow-sm"},[t._m(0),t._v(" "),t.isLoaded?e("div",[e("div",{staticClass:"mb-5"},[e("button",{staticClass:"btn btn-light mr-2",class:["photo"==t.tab?"text-primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.switchTab("photo")}}},[t._v("\n\t\t\t\t\t\t\tPhotos\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-light mr-2",class:["video"==t.tab?"text-primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.switchTab("video")}}},[t._v("\n\t\t\t\t\t\t\tVideos\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-light mr-2",class:["album"==t.tab?"text-primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.switchTab("album")}}},[t._v("\n\t\t\t\t\t\t\tAlbums\n\t\t\t\t\t\t")])]),t._v(" "),"photo"==t.tab?e("div",{staticClass:"row px-3"},[t._l(t.photos,(function(a,s){return e("div",{staticClass:"m-1"},[e("a",{staticClass:"bh-content",attrs:{href:a.url}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.getMediaSource(a),width:"205",height:"205"}})])])})),t._v(" "),0==t.photos.length?e("div",{staticClass:"col-12 py-5 text-center"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[t._v("No photos found")])]):t._e()],2):t._e(),t._v(" "),"video"==t.tab?e("div",{staticClass:"row px-3"},[t._l(t.videos,(function(a,s){return e("div",{staticClass:"m-1"},[e("a",{staticClass:"bh-content text-decoration-none",attrs:{href:a.url}},[a.media_attachments[0].preview_url.endsWith("no-preview.png")?e("div",{staticClass:"bg-light text-dark d-flex align-items-center justify-content-center border",staticStyle:{width:"205px",height:"205px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("No preview available")])]):e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.getMediaSource(a),width:"205",height:"205"}})])])})),t._v(" "),0==t.videos.length?e("div",{staticClass:"col-12 py-5 text-center"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[t._v("No videos found")])]):t._e()],2):t._e(),t._v(" "),"album"==t.tab?e("div",{staticClass:"row px-3"},[t._l(t.albums,(function(a,s){return e("div",{staticClass:"m-1"},[e("a",{staticClass:"bh-content",attrs:{href:a.url}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.getMediaSource(a),width:"205",height:"205"}})])])})),t._v(" "),0==t.albums.length?e("div",{staticClass:"col-12 py-5 text-center"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[t._v("No albums found")])]):t._e()],2):t._e(),t._v(" "),t.hasNextPage[t.tab]?e("div",{staticClass:"mt-3"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block border",on:{click:t.loadNextPage}},[t._v("Load more")])]):t._e()]):e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{height:"500px"}},[t._m(1)])])])])])},i=[function(){var t=this._self._c;return t("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[t("p",{staticClass:"h4 font-weight-bold mb-0"},[this._v("Media")])])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border text-primary",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},49012:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t,e=this,a=e._self._c;return a("div",{staticClass:"group-members-component"},[a("div",{staticClass:"row justify-content-center"},[a("div",{staticClass:"col-12 col-md-8 mb-5"},[e.isAdmin&&e.requestCount&&!e.hideHeader?a("div",{staticClass:"card card-body border shadow-sm bg-dark text-light mb-4 rounded-pill p-2 pl-3"},[a("div",{staticClass:"d-flex align-items-center justify-content-between"},[a("span",{staticClass:"lead mb-0 text-lighter"},[a("i",{staticClass:"fal fa-exclamation-triangle mr-2 text-warning"}),e._v("\n\t\t\t\t\t\t\tYou have "),a("strong",{staticClass:"text-white"},[e._v(e._s(e.requestCount))]),e._v(" member applications to review\n\t\t\t\t\t\t")]),e._v(" "),a("span",[a("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill btn-sm px-3",on:{click:function(t){return e.reviewApplicants()}}},[e._v("Review")])])])]):e._e(),e._v(" "),a("div",{staticClass:"card card-body border shadow-sm"},[e.hideHeader?e._e():a("div",[a("p",{staticClass:"d-flex align-items-center mb-0"},[a("span",{staticClass:"lead font-weight-bold"},[e._v("Members")]),e._v(" "),a("span",{staticClass:"mx-2"},[e._v("·")]),e._v(" "),a("span",{staticClass:"text-muted"},[e._v(e._s(e.group.member_count))])]),e._v(" "),a("div",{staticClass:"form-group mt-3",staticStyle:{position:"relative"}},[a("i",{staticClass:"fas fa-search fa-lg text-lighter",staticStyle:{position:"absolute",left:"20px",top:"50%",transform:"translateY(-50%)"}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.memberSearchModel,expression:"memberSearchModel"}],staticClass:"form-control form-control-lg bg-light border rounded-pill",staticStyle:{"padding-left":"50px","padding-right":"50px"},attrs:{placeholder:"Find a member"},domProps:{value:e.memberSearchModel},on:{input:function(t){t.target.composing||(e.memberSearchModel=t.target.value)}}}),e._v(" "),a("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill px-3",staticStyle:{position:"absolute",right:"6px",top:"50%",transform:"translateY(-50%)"}},[e._v("Search")])]),e._v(" "),a("hr")]),e._v(" "),"list"==e.tab?a("div",[a("div",{staticClass:"group-members-component-paginated-list py-3"},[a("div",{staticClass:"media align-items-center"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:e.profile.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null===(t=e.profile)||void 0===t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[e._v("\n\t\t\t\t\t\t\t\t\t\t"+e._s(e.profile.username)+"\n\t\t\t\t\t\t\t\t\t\t"),a("span",{staticClass:"member-label rounded ml-1"},[e._v("Me")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Founded group "+e._s(e.formatDate(e.group.created_at)))])])])]),e._v(" "),e.mutual.length>0?a("hr"):e._e(),e._v(" "),e.mutual.length>0?a("div",{staticClass:"group-members-component-paginated-list"},[a("p",{staticClass:"font-weight-bold mb-1"},[e._v("Mutual Friends")]),e._v(" "),e._l(e.mutual,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url,title:t.acct,"data-toggle":"tooltip"}},[e._v(e._s(t.username))]),e._v(" "),"founder"==t.role?a("span",{staticClass:"member-label rounded ml-1"},[e._v("Admin")]):e._e(),e._v(" "),t.local?e._e():a("span",{staticClass:"remote-label rounded ml-1"},[e._v("Remote")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Member since "+e._s(e.formatDate(t.joined)))])]),e._v(" "),a("a",{staticClass:"btn btn-light lead font-weight-bolder px-3 border",attrs:{href:"/account/direct/t/"+t.id}},[a("i",{staticClass:"far fa-comment-dots mr-1"}),e._v(" Message\n\t\t\t\t\t\t\t\t")]),e._v(" "),e.isAdmin?a("b-dropdown",{attrs:{"toggle-class":"btn btn-light font-weight-bold px-3 border ml-2","toggle-tag":"a",lazy:!0,right:"","no-caret":""},scopedSlots:e._u([{key:"button-content",fn:function(){return[a("i",{staticClass:"fas fa-ellipsis-h"})]},proxy:!0}],null,!0)},[e._v(" "),a("b-dropdown-item",{attrs:{href:t.url}},[e._v("View Profile")]),e._v(" "),a("b-dropdown-item",{attrs:{href:"/account/direct/t/"+t.id}},[e._v("Send Message")]),e._v(" "),a("b-dropdown-item",[e._v("View Activity")]),e._v(" "),a("b-dropdown-divider"),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(a){return a.preventDefault(),e.openInteractionLimitModal(t)}}},[e._v("Limit interactions")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold text-danger"}},[e._v("Remove from group")])],1):e._e()],1)}))],2):e._e(),e._v(" "),e.members.length>0?a("hr"):e._e(),e._v(" "),e.members.length>0?a("div",{staticClass:"group-members-component-paginated-list"},[a("p",{staticClass:"font-weight-bold mb-1"},[e._v("Other Members")]),e._v(" "),e._l(e.members,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url,title:t.acct,"data-toggle":"tooltip"}},[e._v(e._s(t.username))]),e._v(" "),t.is_admin?a("span",{staticClass:"member-label rounded ml-1"},[e._v("Admin")]):e._e(),e._v(" "),t.local?e._e():a("span",{staticClass:"remote-label rounded ml-1"},[e._v("Remote")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Member since "+e._s(e.formatDate(t.joined)))])]),e._v(" "),a("button",{staticClass:"btn lead font-weight-bolder px-4 border",class:[t.following?"btn-primary":"btn-light"],on:{click:function(t){return e.follow(s)}}},[t.following?a("span",[e._v("\n\t\t\t\t\t\t\t\t\t\tFollowing\n\t\t\t\t\t\t\t\t\t")]):a("span",[a("i",{staticClass:"fas fa-user-plus mr-2"}),e._v(" Follow\n\t\t\t\t\t\t\t\t\t")])]),e._v(" "),e.isAdmin?a("b-dropdown",{attrs:{"toggle-class":"btn btn-light font-weight-bold px-3 border ml-2","toggle-tag":"a",lazy:!0,right:"","no-caret":""},scopedSlots:e._u([{key:"button-content",fn:function(){return[a("i",{staticClass:"fas fa-ellipsis-h"})]},proxy:!0}],null,!0)},[e._v(" "),a("b-dropdown-item",{attrs:{href:t.url,"link-class":"font-weight-bold"}},[e._v("View Profile")]),e._v(" "),a("b-dropdown-item",{attrs:{href:"/account/direct/t/"+t.id,"link-class":"font-weight-bold"}},[e._v("Send Message")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"}},[e._v("View Activity")]),e._v(" "),a("b-dropdown-divider"),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(a){return a.preventDefault(),e.openInteractionLimitModal(t)}}},[e._v("Limit interactions")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold text-danger"}},[e._v("Remove from group")])],1):e._e()],1)}))],2):e._e(),e._v(" "),e.members.length>0&&e.hasNextPage?a("p",{staticClass:"mt-4"},[a("button",{staticClass:"btn btn-light btn-block border font-weight-bold",on:{click:e.loadNextPage}},[e._v("Load more")])]):e._e()]):e._e(),e._v(" "),"search"==e.tab?a("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{"min-height":"100px"}},[e._m(0)]):e._e(),e._v(" "),"results"==e.tab?a("div",[e.results.length>0?a("div",{staticClass:"group-members-component-paginated-list"},[a("p",{staticClass:"font-weight-bold mb-1"},[e._v("Results")]),e._v(" "),e._l(e.results,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url,title:t.acct,"data-toggle":"tooltip"}},[e._v(e._s(t.username))]),e._v(" "),"founder"==t.role?a("span",{staticClass:"member-label rounded ml-1"},[e._v("Admin")]):e._e(),e._v(" "),t.local?e._e():a("span",{staticClass:"remote-label rounded ml-1"},[e._v("Remote")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Member since "+e._s(e.formatDate(t.joined)))])]),e._v(" "),a("a",{staticClass:"btn btn-light lead font-weight-bolder px-3 border",attrs:{href:"/account/direct/t/"+t.id}},[a("i",{staticClass:"far fa-comment-dots mr-1"}),e._v(" Message\n\t\t\t\t\t\t\t\t")]),e._v(" "),e.isAdmin?a("b-dropdown",{attrs:{"toggle-class":"btn btn-light font-weight-bold px-3 border ml-2","toggle-tag":"a",lazy:!0,right:"","no-caret":""},scopedSlots:e._u([{key:"button-content",fn:function(){return[a("i",{staticClass:"fas fa-ellipsis-h"})]},proxy:!0}],null,!0)},[e._v(" "),a("b-dropdown-item",{attrs:{href:t.url}},[e._v("View Profile")]),e._v(" "),a("b-dropdown-item",{attrs:{href:"/account/direct/t/"+t.id}},[e._v("Send Message")]),e._v(" "),a("b-dropdown-item",[e._v("View Activity")]),e._v(" "),a("b-dropdown-divider"),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(a){return a.preventDefault(),e.openInteractionLimitModal(t)}}},[e._v("Limit interactions")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold text-danger"}},[e._v("Remove from group")])],1):e._e()],1)})),e._v(" "),a("p",{staticClass:"text-center mt-5"},[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:e.backFromSearch}},[e._v("Go back")])])],2):a("div",{staticClass:"text-center text-muted mt-3"},[a("p",{staticClass:"lead"},[e._v("No results found.")]),e._v(" "),a("p",[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:e.backFromSearch}},[e._v("Go back")])])])]):e._e(),e._v(" "),"memberInteractionLimits"==e.tab?a("div",[e.results.length>0?a("div",{staticClass:"group-members-component-paginated-list"},[a("p",{staticClass:"font-weight-bold mb-1"},[e._v("Interaction Limits")]),e._v(" "),e._l(e.results,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[e._v(e._s(t.username))]),e._v(" "),"founder"==t.role?a("span",{staticClass:"member-label rounded ml-1"},[e._v("Admin")]):e._e()]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Member since "+e._s(e.formatDate(t.joined)))])]),e._v(" "),a("a",{staticClass:"btn btn-light lead font-weight-bolder px-3 border",attrs:{href:"/account/direct/t/"+t.id}},[a("i",{staticClass:"far fa-comment-dots mr-1"}),e._v(" Message\n\t\t\t\t\t\t\t\t")]),e._v(" "),e.isAdmin?a("b-dropdown",{attrs:{"toggle-class":"btn btn-light font-weight-bold px-3 border ml-2","toggle-tag":"a",lazy:!0,right:"","no-caret":""},scopedSlots:e._u([{key:"button-content",fn:function(){return[a("i",{staticClass:"fas fa-ellipsis-h"})]},proxy:!0}],null,!0)},[e._v(" "),a("b-dropdown-item",{attrs:{href:t.url}},[e._v("View Profile")]),e._v(" "),a("b-dropdown-item",{attrs:{href:"/account/direct/t/"+t.id}},[e._v("Send Message")]),e._v(" "),a("b-dropdown-item",[e._v("View Activity")]),e._v(" "),a("b-dropdown-divider"),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(a){return a.preventDefault(),e.openInteractionLimitModal(t)}}},[e._v("Limit interactions")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold text-danger"}},[e._v("Remove from group")])],1):e._e()],1)})),e._v(" "),a("p",{staticClass:"text-center mt-5"},[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.backFromSearch.apply(null,arguments)}}},[e._v("Go back")])])],2):a("div",{staticClass:"text-center text-muted mt-3"},[a("p",{staticClass:"lead"},[e._v("No results found.")]),e._v(" "),a("p",[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.backFromSearch.apply(null,arguments)}}},[e._v("Go back")])])])]):e._e(),e._v(" "),"review"==e.tab?a("div",[e.reviewsLoaded?a("div",[a("div",{staticClass:"group-members-component-paginated-list"},[a("div",{staticClass:"d-flex justify-content-between align-items-center"},[a("div",{staticClass:"d-flex"},[a("button",{staticClass:"btn btn-link btn-sm mr-2",on:{click:e.backFromReview}},[a("i",{staticClass:"far fa-chevron-left fa-lg"})]),e._v(" "),a("p",{staticClass:"font-weight-bold mb-0"},[e._v("Review Membership Applicants")])])]),e._v(" "),a("hr"),e._v(" "),e._l(e.applicants,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url,title:t.acct,"data-toggle":"tooltip"}},[e._v(e._s(t.username))]),e._v(" "),t.local?e._e():a("span",{staticClass:"remote-label rounded ml-1"},[e._v("Remote")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0 small"},[a("span",[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(t.followers_count)+" Followers\n\t\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),a("span",{staticClass:"mx-1"},[e._v("·")]),e._v(" "),a("span",[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\tJoined "+e._s(e.formatDate(t.created_at))+"\n\t\t\t\t\t\t\t\t\t\t\t")])])]),e._v(" "),a("button",{staticClass:"btn btn-light lead font-weight-bolder px-3 border",attrs:{type:"button"},on:{click:function(t){return e.handleApplicant(s,"ignore")}}},[a("i",{staticClass:"far fa-times mr-1"}),e._v(" Ignore\n\t\t\t\t\t\t\t\t\t")]),e._v(" "),a("button",{staticClass:"btn btn-danger lead font-weight-bolder px-3 border",attrs:{type:"button"},on:{click:function(t){return e.handleApplicant(s,"reject")}}},[a("i",{staticClass:"far fa-times mr-1"}),e._v(" Reject\n\t\t\t\t\t\t\t\t\t")]),e._v(" "),a("button",{staticClass:"btn btn-primary lead font-weight-bolder px-3 border",attrs:{type:"button"},on:{click:function(t){return e.handleApplicant(s,"approve")}}},[a("i",{staticClass:"far fa-check mr-1"}),e._v(" Approve\n\t\t\t\t\t\t\t\t\t")])])})),e._v(" "),e.applicantsCanLoadMore?a("button",{staticClass:"btn btn-light font-weight-bold btn-block",attrs:{disabled:e.loadingMoreApplicants},on:{click:e.loadMoreApplicants}},[e._v("\n\t\t\t\t\t\t\t\t\tLoad More\n\t\t\t\t\t\t\t\t")]):e._e(),e._v(" "),e.applicants&&e.applicants.length?e._e():a("div",[a("p",{staticClass:"text-center lead mb-0"},[e._v("No content found")]),e._v(" "),a("p",{staticClass:"text-center mb-0"},[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.backFromReview.apply(null,arguments)}}},[e._v("Go back")])])])],2)]):a("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"100px"}},[a("b-spinner",{attrs:{variant:"muted"}})],1)]):e._e(),e._v(" "),"loading"==e.tab?a("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"100px"}},[a("b-spinner",{attrs:{variant:"muted"}})],1):e._e()])])]),e._v(" "),a("group-interaction-limits-modal",{ref:"interactionModal",attrs:{group:e.group,profile:e.activeProfile}})],1)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"text-center text-muted"},[e("div",{staticClass:"spinner-border",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]),t._v(" "),e("p",{staticClass:"lead mb-0 mt-2"},[t._v("Loading results ...")])])}]},45450:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-moderation-component"},[t.initalLoad?e("div",["home"===t.tab?e("div",[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-6 pt-4"},[t._m(0),t._v(" "),t.reports.length?e("div",{staticClass:"list-group"},[t._l(t.reports,(function(a,s){return e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"rounded-circle mr-3",attrs:{src:a.profile.avatar,width:"40",height:"40"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0"},[1==a.total_count?e("a",{staticClass:"font-weight-bold",attrs:{href:a.profile.url}},[t._v(t._s(a.profile.username))]):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:a.profile.url}},[t._v(t._s(a.profile.username))]),t._v(" and "),e("a",{staticClass:"font-weight-bold",attrs:{href:"#"}},[t._v(t._s(a.total_count-1)+" others")])]),t._v("\n\t\t\t\t\t\t\t\t\t\treported\n\t\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold",attrs:{href:"#",id:"report_post:".concat(s)}},[t._v("this post")]),t._v("\n\t\t\t\t\t\t\t\t\t\tas "+t._s(a.type)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0 small"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(a.created_at))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",[t._v("·")]),t._v(" "),e("a",{staticClass:"text-danger font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.actionMenu(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\tActions\n\t\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("b-popover",{attrs:{target:"report_post:".concat(s),triggers:"hover",placement:"bottom","custom-class":"popover-wide"},scopedSlots:t._u([{key:"title",fn:function(){return[e("div",{staticClass:"d-flex justify-content-between"},[e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t@"+t._s(a.status.account.username)+"\n\t\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(a.status.created_at))+"\n\t\t\t\t\t\t\t\t\t\t\t")])])]},proxy:!0}],null,!0)},[t._v(" "),"group:post"==a.status.pf_type?e("div",[a.status.media_attachments.length?e("div",[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:a.status.media_attachments[0].url,width:"100%",height:"300"}})]):e("div",[e("p",{domProps:{innerHTML:t._s(a.status.content)}})])]):"reply-text"==a.status.pf_type?e("div",[e("p",{domProps:{innerHTML:t._s(a.status.content)}})]):e("div",[e("p",[t._v("Cannot generate preview.")])]),t._v(" "),e("p",{staticClass:"mb-1 mt-3"},[e("a",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{href:a.status.url}},[t._v("View Post")])])])],1)])})),t._v(" "),t.canLoadMore?e("div",{staticClass:"list-group-item"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block",on:{click:function(e){return e.preventDefault(),t.loadMoreReports()}}},[t._v("Load more")])]):t._e()],2):e("div",{staticClass:"card card-body shadow-none border rounded-pill"},[e("p",{staticClass:"lead font-weight-bold text-center mb-0"},[t._v("No moderation reports found!")])])])])]):t._e()]):e("div",{staticClass:"col-12 col-md-6 pt-4 d-flex align-items-center justify-content-center"},[t._m(1)])])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("p",{staticClass:"lead mb-0"},[t._v("Latest Mod Reports")]),t._v(" "),e("button",{staticClass:"btn btn-light border font-weight-bold btn-sm rounded shadow-sm"},[e("i",{staticClass:"far fa-redo"})])])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},30820:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-topics-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-8"},[e("div",{staticClass:"card card-body border shadow-sm"},[t._m(0),t._v(" "),t.feed.length?e("div",t._l(t.feed,(function(a,s){return e("div",{},[e("div",{staticClass:"media py-2"},[e("i",{staticClass:"fas fa-hashtag fa-lg text-lighter mr-3 mt-2"}),t._v(" "),e("div",{staticClass:"media-body",class:{"border-bottom":s!=t.feed.length-1}},[e("a",{staticClass:"font-weight-bold mb-1 text-dark",staticStyle:{"font-size":"16px"},attrs:{href:a.url}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(a.name)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-muted",staticStyle:{"font-size":"13px"}},[t._v(t._s(a.count)+" posts in this group")])])])])})),0):e("div",{staticClass:"py-5"},[e("p",{staticClass:"lead text-center font-weight-bold"},[t._v("No topics found")])])])])])])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("p",{staticClass:"h4 font-weight-bold mb-0"},[t._v("Group Topics")]),t._v(" "),e("select",{staticClass:"form-control bg-light rounded-lg border font-weight-bold py-2",staticStyle:{width:"95px"},attrs:{disabled:""}},[e("option",[t._v("All")]),t._v(" "),e("option",[t._v("Pinned")])])])}]},25652:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",[t.profile&&t.profile.hasOwnProperty("avatar")?e("b-modal",{ref:"home",attrs:{"hide-footer":"",centered:"",rounded:"",title:"Limit Interactions","body-class":"rounded"}},[e("div",{staticClass:"media mb-3"},[e("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.profile.url}},[e("img",{staticClass:"rounded-circle border mr-2",attrs:{src:t.profile.avatar,width:"56",height:"56"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[e("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.profile.url}},[t._v(t._s(t.profile.username))]),t._v(" "),"founder"==t.profile.role?e("span",{staticClass:"member-label rounded ml-1"},[t._v("Admin")]):t._e()]),t._v(" "),e("p",{staticClass:"text-muted mb-0"},[t._v("Member since "+t._s(t.formatDate(t.profile.joined)))])])]),t._v(" "),e("div",{staticClass:"w-100 bg-light mb-1 font-weight-bold d-flex justify-content-center align-items-center border rounded",staticStyle:{"min-height":"240px"}},[t.limitsLoaded?e("div",{staticClass:"py-3"},[e("p",{staticClass:"lead mb-0"},[t._v("Interaction Permissions")]),t._v(" "),e("p",{staticClass:"small text-muted"},[t._v("Last updated: "+t._s(t.updated?t.formatDate(t.updated):"Never"))]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.limits.can_post,expression:"limits.can_post"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:t.savingChanges},domProps:{checked:Array.isArray(t.limits.can_post)?t._i(t.limits.can_post,null)>-1:t.limits.can_post},on:{change:function(e){var a=t.limits.can_post,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&t.$set(t.limits,"can_post",a.concat([null])):n>-1&&t.$set(t.limits,"can_post",a.slice(0,n).concat(a.slice(n+1)))}else t.$set(t.limits,"can_post",i)}}}),t._v(" "),e("label",{staticClass:"form-check-label"},[t._v("\n\t\t\t\t\t\tCan create posts\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.limits.can_comment,expression:"limits.can_comment"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:t.savingChanges},domProps:{checked:Array.isArray(t.limits.can_comment)?t._i(t.limits.can_comment,null)>-1:t.limits.can_comment},on:{change:function(e){var a=t.limits.can_comment,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&t.$set(t.limits,"can_comment",a.concat([null])):n>-1&&t.$set(t.limits,"can_comment",a.slice(0,n).concat(a.slice(n+1)))}else t.$set(t.limits,"can_comment",i)}}}),t._v(" "),e("label",{staticClass:"form-check-label"},[t._v("\n\t\t\t\t\t\tCan create comments\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.limits.can_like,expression:"limits.can_like"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:t.savingChanges},domProps:{checked:Array.isArray(t.limits.can_like)?t._i(t.limits.can_like,null)>-1:t.limits.can_like},on:{change:function(e){var a=t.limits.can_like,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&t.$set(t.limits,"can_like",a.concat([null])):n>-1&&t.$set(t.limits,"can_like",a.slice(0,n).concat(a.slice(n+1)))}else t.$set(t.limits,"can_like",i)}}}),t._v(" "),e("label",{staticClass:"form-check-label"},[t._v("\n\t\t\t\t\t\tCan like posts and comments\n\t\t\t\t\t")])]),t._v(" "),e("hr"),t._v(" "),e("button",{staticClass:"btn btn-primary font-weight-bold float-right",staticStyle:{width:"130px"},attrs:{disabled:t.savingChanges},on:{click:function(e){return e.preventDefault(),t.saveChanges.apply(null,arguments)}}},[t.savingChanges?e("b-spinner",{attrs:{variant:"light",small:""}}):e("span",[t._v("Save changes")])],1)]):e("div",{staticClass:"d-flex align-items-center flex-column"},[e("b-spinner",{attrs:{variant:"muted"}}),t._v(" "),e("p",{staticClass:"pt-3 small text-muted font-weight-bold"},[t._v("Loading interaction limits...")])],1)])]):t._e()],1)},i=[]},72157:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"member-only-warning"},[e("div",{staticClass:"member-only-warning-wrapper"},[e("h3",[t._v("Content unavailable")]),t._v(" "),e("p",[t._v("You need to join this Group before you can access this content.")])])])}]},75623:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-feed-component-body{min-height:40vh}",""]);const n=i},13017:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-about-component[data-v-a3964586]{margin-bottom:50vh}.group-about-component .title[data-v-a3964586]{font-size:16px;font-weight:700}.group-about-component .description[data-v-a3964586]{color:#6c757d;font-size:15px;font-weight:400;margin-bottom:30px;white-space:break-spaces}.group-about-component .fact[data-v-a3964586]{align-items:center;display:flex;margin-bottom:1.5rem}.group-about-component .fact-body[data-v-a3964586]{flex:1}.group-about-component .fact-icon[data-v-a3964586]{text-align:center;width:50px}.group-about-component .fact-title[data-v-a3964586]{font-size:17px;font-weight:500;margin-bottom:0}.group-about-component .fact-subtitle[data-v-a3964586]{color:#6c757d;font-size:14px;margin-bottom:0}",""]);const n=i},66600:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,"",""]);const n=i},2874:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,"",""]);const n=i},26873:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-members-component{min-height:100vh}.group-members-component .member-label{background:rgba(137,196,244,.2);border:1px solid rgba(137,196,244,.3);color:#4b77be;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}.group-members-component .remote-label{background:#fef3c7;border:1px solid #fcd34d;color:#b45309;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}",""]);const n=i},91599:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-moderation-component{margin-bottom:100px;min-height:80vh}.popover-wide{min-width:200px!important}",""]);const n=i},47273:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-topics-component{margin-bottom:50vh}",""]);const n=i},65834:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".member-only-warning[data-v-608810bc],.member-only-warning-wrapper[data-v-608810bc]{display:flex;justify-content:center}.member-only-warning-wrapper[data-v-608810bc]{align-items:center;border:1px solid var(--border-color);border-radius:10px;flex-direction:column;max-width:550px;padding:4rem 1rem;width:100%}.member-only-warning-wrapper h3[data-v-608810bc]{font-weight:700;letter-spacing:-1px}.member-only-warning-wrapper p[data-v-608810bc]{font-size:1.2em;margin-bottom:0}",""]);const n=i},35372:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(75623),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},19826:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(13017),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},35081:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(66600),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},51785:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(2874),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},81766:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(26873),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},45550:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(91599),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},79024:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(47273),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},4761:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(65834),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},72962:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(56667),i=a(14193),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(53349);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},87223:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(1281),i=a(19264),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(24543);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,"a3964586",null).exports},54451:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(43338),i=a(60040),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(65594);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,"43b239a3",null).exports},48204:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(49696),i=a(56307),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(30676);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},78277:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(22767),i=a(21049),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(5083);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},9716:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(40443),i=a(61095),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(98593);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},20524:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(87301),i=a(15859),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(17623);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},62724:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(43355),i=a(36235),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},72890:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});var s=a(50678);a(12376);const i=(0,a(14486).default)({},s.render,s.staticRenderFns,!1,null,"608810bc",null).exports},14193:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(91652),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},19264:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(12189),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},60040:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(52327),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},56307:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(14366),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},21049:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(95871),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},61095:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(2336),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},15859:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(44128),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},36235:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(52070),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},56667:(t,e,a)=>{a.r(e);var s=a(99464),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},1281:(t,e,a)=>{a.r(e);var s=a(91722),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},43338:(t,e,a)=>{a.r(e);var s=a(3843),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},49696:(t,e,a)=>{a.r(e);var s=a(78059),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},22767:(t,e,a)=>{a.r(e);var s=a(49012),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},40443:(t,e,a)=>{a.r(e);var s=a(45450),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},87301:(t,e,a)=>{a.r(e);var s=a(30820),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},43355:(t,e,a)=>{a.r(e);var s=a(25652),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},50678:(t,e,a)=>{a.r(e);var s=a(72157),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},53349:(t,e,a)=>{a.r(e);var s=a(35372),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},24543:(t,e,a)=>{a.r(e);var s=a(19826),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},65594:(t,e,a)=>{a.r(e);var s=a(35081),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},30676:(t,e,a)=>{a.r(e);var s=a(51785),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},5083:(t,e,a)=>{a.r(e);var s=a(81766),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},98593:(t,e,a)=>{a.r(e);var s=a(45550),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},17623:(t,e,a)=>{a.r(e);var s=a(79024),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},12376:(t,e,a)=>{a.r(e);var s=a(4761),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)}}]); \ No newline at end of file diff --git a/public/js/groups-page-media.a57186ce36fd8972.js b/public/js/groups-page-media.a57186ce36fd8972.js new file mode 100644 index 000000000..eab30646b --- /dev/null +++ b/public/js/groups-page-media.a57186ce36fd8972.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[6438],{67703:(t,e,a)=>{a.r(e),a.d(e,{default:()=>w});var s=a(79984),i=a(78277),n=a(17108),r=a(95002),o=a(87223),l=a(48204),c=a(9716),d=a(20524),u=a(13094),p=a(58753),f=a(54451),m=a(94559),v=a(19413),h=a(26679),g=a(49268),b=a(52505),_=a(33457),C=a(72890);const w={props:{groupId:{type:String},path:{type:String}},components:{"status-card":s.default,"group-about":o.default,"group-status":r.default,"group-members":i.default,"group-compose":n.default,"group-topics":d.default,"group-info-card":u.default,"group-media":l.default,"group-moderation":c.default,"leave-group":p.default,"group-insights":f.default,"search-modal":m.default,"invite-modal":v.default,sidebar:h.default,"group-banner":g.default,"group-header-details":b.default,"group-nav-tabs":_.default,"member-only-warning":C.default},data:function(){return{initialLoad:!1,profile:void 0,group:{},isMember:!1,isAdmin:!1,renderIdx:1,atabs:{moderation_count:0,request_count:0}}},created:function(){this.init()},methods:{init:function(){var t=this;this.initialLoad=!1,axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.profile=e.data,t.fetchGroup()})).catch((function(t){window.location.href="/login?_next="+encodeURIComponent(window.location.href)}))},handleRefresh:function(){this.initialLoad=!1,this.init(),this.renderIdx++},fetchGroup:function(){var t=this;axios.get("/api/v0/groups/"+this.groupId).then((function(e){t.group=e.data,t.isMember=e.data.self.is_member,t.isAdmin=["founder","admin"].includes(e.data.self.role),t.isAdmin&&t.fetchAdminTabs(),t.initialLoad=!0})).catch((function(t){alert("error")}))},fetchAdminTabs:function(){var t=this;axios.get("/api/v0/groups/"+this.groupId+"/atabs").then((function(e){t.atabs=e.data}))}}}},12189:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object}},methods:{timestampFormat:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=new Date(t);return e?a.toDateString()+" · "+a.toLocaleTimeString():a.toDateString()}}}},52327:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object}},data:function(){return{}},methods:{}}},14366:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object}},data:function(){return{isLoaded:!1,feed:[],photos:[],videos:[],albums:[],tab:"photo",tabs:["photo","video","album"],page:{photo:1,video:1,album:1},hasNextPage:{photo:!1,video:!1,album:!1}}},mounted:function(){this.fetchMedia()},methods:{fetchMedia:function(){var t=this;axios.get("/api/v0/groups/media/list",{params:{gid:this.group.id,page:this.page[this.tab],type:this.tab}}).then((function(e){e.data.length>0&&(t.hasNextPage[t.tab]=!0),t.isLoaded=!0,e.data.forEach((function(e){"photo"==e.pf_type&&t.photos.push(e),"video"==e.pf_type&&t.videos.push(e),"photo:album"==e.pf_type&&t.albums.push(e)})),t.page[t.tab]=t.page[t.tab]+1})).catch((function(e){t.hasNextPage[t.tab]=!1,console.log(e.response)}))},loadNextPage:function(){var t=this;axios.get("/api/v0/groups/media/list",{params:{gid:this.group.id,page:this.page[this.tab],type:this.tab}}).then((function(e){0!=e.data.length?(e.data.forEach((function(e){"photo"==e.pf_type&&t.photos.push(e),"video"==e.pf_type&&t.videos.push(e),"photo:album"==e.pf_type&&t.albums.push(e)})),t.page[t.tab]=t.page[t.tab]+1):t.hasNextPage[t.tab]=!1})).catch((function(e){t.hasNextPage[t.tab]=!1}))},formatDate:function(t){return new Date(t).toDateString()},switchTab:function(t){this.tab=t,this.fetchMedia()},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&&e.preview_url.endsWith("storage/no-preview.png")||e.preview_url&&e.preview_url.length,e.url}}}},95871:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(62724),i=a(74692);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 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 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 a=0,s=new Array(e);a{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,s=new Array(e);an});const n={props:{group:{type:Object}},data:function(){return{initalLoad:!1,reports:[],page:1,canLoadMore:!1,tab:"home"}},mounted:function(){this.getReports()},methods:{getReports:function(){var t=this;axios.get("/api/v0/groups/".concat(this.group.id,"/reports/list")).then((function(e){t.reports=e.data,t.initalLoad=!0,t.page++,t.canLoadMore=10==e.data.length}))},loadMoreReports:function(){var t=this;axios.get("/api/v0/groups/".concat(this.group.id,"/reports/list"),{params:{page:this.page}}).then((function(e){var a;(a=t.reports).push.apply(a,s(e.data)),t.page++,t.canLoadMore=10==e.data.length}))},timeago:function(t){return App.util.format.timeAgo(t)},actionMenu:function(t){var e=this;event.currentTarget.blur(),swal({title:"Moderator Action",dangerMode:!0,text:"Please select an action to take, press ESC to close",buttons:{ignore:{text:"Ignore",className:"btn-warning",value:"ignore"},cw:{text:"NSFW",className:"btn-warning",value:"cw"},delete:{text:"Delete",className:"btn-danger",value:"delete"}}}).then((function(a){switch(a){case"ignore":axios.post("/api/v0/groups/".concat(e.group.id,"/report/action"),{action:"ignore",id:e.reports[t].id}).then((function(a){var s=e.reports[t];e.$emit("decrement",s.total_count),e.reports.splice(t,1),e.$bvToast.toast("Ignored and closed moderation report",{title:"Moderation Action",autoHideDelay:5e3,appendToast:!0})}));break;case"cw":axios.post("/api/v0/groups/".concat(e.group.id,"/report/action"),{action:"cw",id:e.reports[t].id}).then((function(a){var s=e.reports[t];e.$emit("decrement",s.total_count),e.reports.splice(t,1),e.$bvToast.toast("Succesfully applied content warning and closed moderation report",{title:"Moderation Action",autoHideDelay:5e3,appendToast:!0})}));break;case"delete":swal("Oops, this is embarassing!","We have not implemented this moderation action yet.","error")}}))}}}},44128:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object}},data:function(){return{feed:[]}},mounted:function(){this.fetchTopics()},methods:{fetchTopics:function(){var t=this;axios.get("/api/v0/groups/topics/list",{params:{gid:this.group.id}}).then((function(e){t.feed=e.data}))}}}},52070:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object},profile:{type:Object}},data:function(){return{limitsLoaded:!1,limits:{can_post:!0,can_comment:!0,can_like:!0},updated:null,savingChanges:!1}},methods:{fetchInteractionLimits:function(){var t=this;axios.get("/api/v0/groups/".concat(this.group.id,"/members/interaction-limits"),{params:{profile_id:this.profile.id}}).then((function(e){t.limits=e.data.limits,t.updated=e.data.updated_at,t.limitsLoaded=!0})).catch((function(e){t.$refs.home.hide(),swal("Oops!","Cannot fetch interaction limits at this time, please try again later.","error")}))},open:function(t){this.loaded=!0,this.$refs.home.show(),this.fetchInteractionLimits()},formatDate:function(t){return new Date(t).toDateString()},saveChanges:function(){var t=this;event.currentTarget.blur(),this.savingChanges=!0,axios.post("/api/v0/groups/".concat(this.group.id,"/members/interaction-limits"),{profile_id:this.profile.id,can_post:this.limits.can_post,can_comment:this.limits.can_comment,can_like:this.limits.can_like}).then((function(e){t.savingChanges=!1,t.$refs.home.hide(),t.$bvToast.toast("Updated interaction limits for ".concat(t.profile.username),{title:"Success",variant:"success",autoHideDelay:5e3})})).catch((function(e){t.savingChanges=!1,t.$refs.home.hide(),422==e.response.status&&"limit_reached"==e.response.data.error?swal("Limit Reached","You cannot add any more member limitations","info"):swal("Oops!","An error occured while processing this request, please try again later.","error")}))}}}},69974:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-feed-component"},[e("div",{staticClass:"row border-bottom m-0 p-0"},[e("sidebar"),t._v(" "),e("div",{staticClass:"col-12 col-md-9 px-md-0"},[e("div",{staticClass:"bg-white mb-3 border-bottom"},[e("div",[e("group-banner",{attrs:{group:t.group}}),t._v(" "),e("group-header-details",{attrs:{group:t.group,isAdmin:t.isAdmin,isMember:t.isMember},on:{refresh:t.handleRefresh}}),t._v(" "),e("group-nav-tabs",{attrs:{group:t.group,isAdmin:t.isAdmin,isMember:t.isMember,atabs:t.atabs}})],1)]),t._v(" "),t.initialLoad?[e("div",{staticClass:"container-xl group-feed-component-body"},[t.initialLoad&&t.group.self.is_member?[e("group-media",{key:t.renderIdx,attrs:{group:t.group,profile:t.profile}})]:e("member-only-warning")],2)]:e("div",[e("p",{staticClass:"text-center mt-5 pt-5 font-weight-bold"},[t._v("Loading...")])])],2)],1)])},i=[]},91722:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-about-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-7"},[e("div",{staticClass:"card shadow-none border mt-3 rounded-lg"},[t._m(0),t._v(" "),e("div",{staticClass:"card-body"},[t.group.description&&t.group.description.length>1?e("p",{staticClass:"description",domProps:{innerHTML:t._s(t.group.description)}}):e("p",{staticClass:"description"},[t._v("This group does not have a description.")]),t._v(" "),e("p",{staticClass:"mb-0 font-weight-light text-lighter"},[t._v("Created: "+t._s(t.timestampFormat(t.group.created_at)))])])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-5"},[e("div",{staticClass:"card card-body mt-3 shadow-none border rounded-lg"},["all"==t.group.membership?e("div",{staticClass:"fact"},[t._m(1),t._v(" "),t._m(2)]):t._e(),t._v(" "),"private"==t.group.membership?e("div",{staticClass:"fact"},[t._m(3),t._v(" "),t._m(4)]):t._e(),t._v(" "),t._m(5),t._v(" "),t._m(6),t._v(" "),t._m(7)])])])])},i=[function(){var t=this._self._c;return t("div",{staticClass:"card-header bg-white"},[t("h5",{staticClass:"mb-0"},[this._v("About This Group")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-globe fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Public")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Anyone can see who's in the group and what they post.")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-lock fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Private")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Only members can see who's in the group and what they post.")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact"},[e("div",{staticClass:"fact-icon"},[e("i",{staticClass:"fal fa-eye fa-lg"})]),t._v(" "),e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Visible")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Anyone can find this group.")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact"},[e("div",{staticClass:"fact-icon"},[e("i",{staticClass:"fal fa-map-marker-alt fa-lg"})]),t._v(" "),e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Fediverse")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("This group has not specified a location.")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact mb-0"},[e("div",{staticClass:"fact-icon"},[e("i",{staticClass:"fal fa-users fa-lg"})]),t._v(" "),e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("General")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("This group has not specified a category.")])])])}]},3843:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-insights-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-3 mb-3"},[e("div",{staticClass:"bg-light p-3 border rounded d-flex justify-content-between align-items-center"},[e("p",{staticClass:"h3 font-weight-bold mb-0"},[t._v("124K")]),t._v(" "),e("p",{staticClass:"font-weight-bold text-uppercase text-lighter mb-0"},[t._v("Posts")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-3 mb-3"},[e("div",{staticClass:"bg-light p-3 border rounded d-flex justify-content-between align-items-center"},[e("p",{staticClass:"h3 font-weight-bold mb-0"},[t._v("9K")]),t._v(" "),e("p",{staticClass:"font-weight-bold text-uppercase text-lighter mb-0"},[t._v("Users")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-3 mb-3"},[e("div",{staticClass:"bg-light p-3 border rounded d-flex justify-content-between align-items-center"},[e("p",{staticClass:"h3 font-weight-bold mb-0"},[t._v("1.7M")]),t._v(" "),e("p",{staticClass:"font-weight-bold text-uppercase text-lighter mb-0"},[t._v("Interactions")])])])]),t._v(" "),e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-3 mb-3"},[e("div",{staticClass:"bg-light p-3 border rounded d-flex justify-content-between align-items-center"},[e("p",{staticClass:"h3 font-weight-bold mb-0"},[t._v("50")]),t._v(" "),e("p",{staticClass:"font-weight-bold text-uppercase text-lighter mb-0"},[t._v("Mod Reports")])])])])])}]},78059:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-media-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"card card-body border shadow-sm"},[t._m(0),t._v(" "),t.isLoaded?e("div",[e("div",{staticClass:"mb-5"},[e("button",{staticClass:"btn btn-light mr-2",class:["photo"==t.tab?"text-primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.switchTab("photo")}}},[t._v("\n\t\t\t\t\t\t\tPhotos\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-light mr-2",class:["video"==t.tab?"text-primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.switchTab("video")}}},[t._v("\n\t\t\t\t\t\t\tVideos\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-light mr-2",class:["album"==t.tab?"text-primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.switchTab("album")}}},[t._v("\n\t\t\t\t\t\t\tAlbums\n\t\t\t\t\t\t")])]),t._v(" "),"photo"==t.tab?e("div",{staticClass:"row px-3"},[t._l(t.photos,(function(a,s){return e("div",{staticClass:"m-1"},[e("a",{staticClass:"bh-content",attrs:{href:a.url}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.getMediaSource(a),width:"205",height:"205"}})])])})),t._v(" "),0==t.photos.length?e("div",{staticClass:"col-12 py-5 text-center"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[t._v("No photos found")])]):t._e()],2):t._e(),t._v(" "),"video"==t.tab?e("div",{staticClass:"row px-3"},[t._l(t.videos,(function(a,s){return e("div",{staticClass:"m-1"},[e("a",{staticClass:"bh-content text-decoration-none",attrs:{href:a.url}},[a.media_attachments[0].preview_url.endsWith("no-preview.png")?e("div",{staticClass:"bg-light text-dark d-flex align-items-center justify-content-center border",staticStyle:{width:"205px",height:"205px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("No preview available")])]):e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.getMediaSource(a),width:"205",height:"205"}})])])})),t._v(" "),0==t.videos.length?e("div",{staticClass:"col-12 py-5 text-center"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[t._v("No videos found")])]):t._e()],2):t._e(),t._v(" "),"album"==t.tab?e("div",{staticClass:"row px-3"},[t._l(t.albums,(function(a,s){return e("div",{staticClass:"m-1"},[e("a",{staticClass:"bh-content",attrs:{href:a.url}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.getMediaSource(a),width:"205",height:"205"}})])])})),t._v(" "),0==t.albums.length?e("div",{staticClass:"col-12 py-5 text-center"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[t._v("No albums found")])]):t._e()],2):t._e(),t._v(" "),t.hasNextPage[t.tab]?e("div",{staticClass:"mt-3"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block border",on:{click:t.loadNextPage}},[t._v("Load more")])]):t._e()]):e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{height:"500px"}},[t._m(1)])])])])])},i=[function(){var t=this._self._c;return t("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[t("p",{staticClass:"h4 font-weight-bold mb-0"},[this._v("Media")])])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border text-primary",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},49012:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t,e=this,a=e._self._c;return a("div",{staticClass:"group-members-component"},[a("div",{staticClass:"row justify-content-center"},[a("div",{staticClass:"col-12 col-md-8 mb-5"},[e.isAdmin&&e.requestCount&&!e.hideHeader?a("div",{staticClass:"card card-body border shadow-sm bg-dark text-light mb-4 rounded-pill p-2 pl-3"},[a("div",{staticClass:"d-flex align-items-center justify-content-between"},[a("span",{staticClass:"lead mb-0 text-lighter"},[a("i",{staticClass:"fal fa-exclamation-triangle mr-2 text-warning"}),e._v("\n\t\t\t\t\t\t\tYou have "),a("strong",{staticClass:"text-white"},[e._v(e._s(e.requestCount))]),e._v(" member applications to review\n\t\t\t\t\t\t")]),e._v(" "),a("span",[a("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill btn-sm px-3",on:{click:function(t){return e.reviewApplicants()}}},[e._v("Review")])])])]):e._e(),e._v(" "),a("div",{staticClass:"card card-body border shadow-sm"},[e.hideHeader?e._e():a("div",[a("p",{staticClass:"d-flex align-items-center mb-0"},[a("span",{staticClass:"lead font-weight-bold"},[e._v("Members")]),e._v(" "),a("span",{staticClass:"mx-2"},[e._v("·")]),e._v(" "),a("span",{staticClass:"text-muted"},[e._v(e._s(e.group.member_count))])]),e._v(" "),a("div",{staticClass:"form-group mt-3",staticStyle:{position:"relative"}},[a("i",{staticClass:"fas fa-search fa-lg text-lighter",staticStyle:{position:"absolute",left:"20px",top:"50%",transform:"translateY(-50%)"}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.memberSearchModel,expression:"memberSearchModel"}],staticClass:"form-control form-control-lg bg-light border rounded-pill",staticStyle:{"padding-left":"50px","padding-right":"50px"},attrs:{placeholder:"Find a member"},domProps:{value:e.memberSearchModel},on:{input:function(t){t.target.composing||(e.memberSearchModel=t.target.value)}}}),e._v(" "),a("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill px-3",staticStyle:{position:"absolute",right:"6px",top:"50%",transform:"translateY(-50%)"}},[e._v("Search")])]),e._v(" "),a("hr")]),e._v(" "),"list"==e.tab?a("div",[a("div",{staticClass:"group-members-component-paginated-list py-3"},[a("div",{staticClass:"media align-items-center"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:e.profile.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null===(t=e.profile)||void 0===t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[e._v("\n\t\t\t\t\t\t\t\t\t\t"+e._s(e.profile.username)+"\n\t\t\t\t\t\t\t\t\t\t"),a("span",{staticClass:"member-label rounded ml-1"},[e._v("Me")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Founded group "+e._s(e.formatDate(e.group.created_at)))])])])]),e._v(" "),e.mutual.length>0?a("hr"):e._e(),e._v(" "),e.mutual.length>0?a("div",{staticClass:"group-members-component-paginated-list"},[a("p",{staticClass:"font-weight-bold mb-1"},[e._v("Mutual Friends")]),e._v(" "),e._l(e.mutual,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url,title:t.acct,"data-toggle":"tooltip"}},[e._v(e._s(t.username))]),e._v(" "),"founder"==t.role?a("span",{staticClass:"member-label rounded ml-1"},[e._v("Admin")]):e._e(),e._v(" "),t.local?e._e():a("span",{staticClass:"remote-label rounded ml-1"},[e._v("Remote")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Member since "+e._s(e.formatDate(t.joined)))])]),e._v(" "),a("a",{staticClass:"btn btn-light lead font-weight-bolder px-3 border",attrs:{href:"/account/direct/t/"+t.id}},[a("i",{staticClass:"far fa-comment-dots mr-1"}),e._v(" Message\n\t\t\t\t\t\t\t\t")]),e._v(" "),e.isAdmin?a("b-dropdown",{attrs:{"toggle-class":"btn btn-light font-weight-bold px-3 border ml-2","toggle-tag":"a",lazy:!0,right:"","no-caret":""},scopedSlots:e._u([{key:"button-content",fn:function(){return[a("i",{staticClass:"fas fa-ellipsis-h"})]},proxy:!0}],null,!0)},[e._v(" "),a("b-dropdown-item",{attrs:{href:t.url}},[e._v("View Profile")]),e._v(" "),a("b-dropdown-item",{attrs:{href:"/account/direct/t/"+t.id}},[e._v("Send Message")]),e._v(" "),a("b-dropdown-item",[e._v("View Activity")]),e._v(" "),a("b-dropdown-divider"),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(a){return a.preventDefault(),e.openInteractionLimitModal(t)}}},[e._v("Limit interactions")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold text-danger"}},[e._v("Remove from group")])],1):e._e()],1)}))],2):e._e(),e._v(" "),e.members.length>0?a("hr"):e._e(),e._v(" "),e.members.length>0?a("div",{staticClass:"group-members-component-paginated-list"},[a("p",{staticClass:"font-weight-bold mb-1"},[e._v("Other Members")]),e._v(" "),e._l(e.members,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url,title:t.acct,"data-toggle":"tooltip"}},[e._v(e._s(t.username))]),e._v(" "),t.is_admin?a("span",{staticClass:"member-label rounded ml-1"},[e._v("Admin")]):e._e(),e._v(" "),t.local?e._e():a("span",{staticClass:"remote-label rounded ml-1"},[e._v("Remote")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Member since "+e._s(e.formatDate(t.joined)))])]),e._v(" "),a("button",{staticClass:"btn lead font-weight-bolder px-4 border",class:[t.following?"btn-primary":"btn-light"],on:{click:function(t){return e.follow(s)}}},[t.following?a("span",[e._v("\n\t\t\t\t\t\t\t\t\t\tFollowing\n\t\t\t\t\t\t\t\t\t")]):a("span",[a("i",{staticClass:"fas fa-user-plus mr-2"}),e._v(" Follow\n\t\t\t\t\t\t\t\t\t")])]),e._v(" "),e.isAdmin?a("b-dropdown",{attrs:{"toggle-class":"btn btn-light font-weight-bold px-3 border ml-2","toggle-tag":"a",lazy:!0,right:"","no-caret":""},scopedSlots:e._u([{key:"button-content",fn:function(){return[a("i",{staticClass:"fas fa-ellipsis-h"})]},proxy:!0}],null,!0)},[e._v(" "),a("b-dropdown-item",{attrs:{href:t.url,"link-class":"font-weight-bold"}},[e._v("View Profile")]),e._v(" "),a("b-dropdown-item",{attrs:{href:"/account/direct/t/"+t.id,"link-class":"font-weight-bold"}},[e._v("Send Message")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"}},[e._v("View Activity")]),e._v(" "),a("b-dropdown-divider"),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(a){return a.preventDefault(),e.openInteractionLimitModal(t)}}},[e._v("Limit interactions")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold text-danger"}},[e._v("Remove from group")])],1):e._e()],1)}))],2):e._e(),e._v(" "),e.members.length>0&&e.hasNextPage?a("p",{staticClass:"mt-4"},[a("button",{staticClass:"btn btn-light btn-block border font-weight-bold",on:{click:e.loadNextPage}},[e._v("Load more")])]):e._e()]):e._e(),e._v(" "),"search"==e.tab?a("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{"min-height":"100px"}},[e._m(0)]):e._e(),e._v(" "),"results"==e.tab?a("div",[e.results.length>0?a("div",{staticClass:"group-members-component-paginated-list"},[a("p",{staticClass:"font-weight-bold mb-1"},[e._v("Results")]),e._v(" "),e._l(e.results,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url,title:t.acct,"data-toggle":"tooltip"}},[e._v(e._s(t.username))]),e._v(" "),"founder"==t.role?a("span",{staticClass:"member-label rounded ml-1"},[e._v("Admin")]):e._e(),e._v(" "),t.local?e._e():a("span",{staticClass:"remote-label rounded ml-1"},[e._v("Remote")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Member since "+e._s(e.formatDate(t.joined)))])]),e._v(" "),a("a",{staticClass:"btn btn-light lead font-weight-bolder px-3 border",attrs:{href:"/account/direct/t/"+t.id}},[a("i",{staticClass:"far fa-comment-dots mr-1"}),e._v(" Message\n\t\t\t\t\t\t\t\t")]),e._v(" "),e.isAdmin?a("b-dropdown",{attrs:{"toggle-class":"btn btn-light font-weight-bold px-3 border ml-2","toggle-tag":"a",lazy:!0,right:"","no-caret":""},scopedSlots:e._u([{key:"button-content",fn:function(){return[a("i",{staticClass:"fas fa-ellipsis-h"})]},proxy:!0}],null,!0)},[e._v(" "),a("b-dropdown-item",{attrs:{href:t.url}},[e._v("View Profile")]),e._v(" "),a("b-dropdown-item",{attrs:{href:"/account/direct/t/"+t.id}},[e._v("Send Message")]),e._v(" "),a("b-dropdown-item",[e._v("View Activity")]),e._v(" "),a("b-dropdown-divider"),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(a){return a.preventDefault(),e.openInteractionLimitModal(t)}}},[e._v("Limit interactions")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold text-danger"}},[e._v("Remove from group")])],1):e._e()],1)})),e._v(" "),a("p",{staticClass:"text-center mt-5"},[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:e.backFromSearch}},[e._v("Go back")])])],2):a("div",{staticClass:"text-center text-muted mt-3"},[a("p",{staticClass:"lead"},[e._v("No results found.")]),e._v(" "),a("p",[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:e.backFromSearch}},[e._v("Go back")])])])]):e._e(),e._v(" "),"memberInteractionLimits"==e.tab?a("div",[e.results.length>0?a("div",{staticClass:"group-members-component-paginated-list"},[a("p",{staticClass:"font-weight-bold mb-1"},[e._v("Interaction Limits")]),e._v(" "),e._l(e.results,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[e._v(e._s(t.username))]),e._v(" "),"founder"==t.role?a("span",{staticClass:"member-label rounded ml-1"},[e._v("Admin")]):e._e()]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Member since "+e._s(e.formatDate(t.joined)))])]),e._v(" "),a("a",{staticClass:"btn btn-light lead font-weight-bolder px-3 border",attrs:{href:"/account/direct/t/"+t.id}},[a("i",{staticClass:"far fa-comment-dots mr-1"}),e._v(" Message\n\t\t\t\t\t\t\t\t")]),e._v(" "),e.isAdmin?a("b-dropdown",{attrs:{"toggle-class":"btn btn-light font-weight-bold px-3 border ml-2","toggle-tag":"a",lazy:!0,right:"","no-caret":""},scopedSlots:e._u([{key:"button-content",fn:function(){return[a("i",{staticClass:"fas fa-ellipsis-h"})]},proxy:!0}],null,!0)},[e._v(" "),a("b-dropdown-item",{attrs:{href:t.url}},[e._v("View Profile")]),e._v(" "),a("b-dropdown-item",{attrs:{href:"/account/direct/t/"+t.id}},[e._v("Send Message")]),e._v(" "),a("b-dropdown-item",[e._v("View Activity")]),e._v(" "),a("b-dropdown-divider"),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(a){return a.preventDefault(),e.openInteractionLimitModal(t)}}},[e._v("Limit interactions")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold text-danger"}},[e._v("Remove from group")])],1):e._e()],1)})),e._v(" "),a("p",{staticClass:"text-center mt-5"},[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.backFromSearch.apply(null,arguments)}}},[e._v("Go back")])])],2):a("div",{staticClass:"text-center text-muted mt-3"},[a("p",{staticClass:"lead"},[e._v("No results found.")]),e._v(" "),a("p",[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.backFromSearch.apply(null,arguments)}}},[e._v("Go back")])])])]):e._e(),e._v(" "),"review"==e.tab?a("div",[e.reviewsLoaded?a("div",[a("div",{staticClass:"group-members-component-paginated-list"},[a("div",{staticClass:"d-flex justify-content-between align-items-center"},[a("div",{staticClass:"d-flex"},[a("button",{staticClass:"btn btn-link btn-sm mr-2",on:{click:e.backFromReview}},[a("i",{staticClass:"far fa-chevron-left fa-lg"})]),e._v(" "),a("p",{staticClass:"font-weight-bold mb-0"},[e._v("Review Membership Applicants")])])]),e._v(" "),a("hr"),e._v(" "),e._l(e.applicants,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url,title:t.acct,"data-toggle":"tooltip"}},[e._v(e._s(t.username))]),e._v(" "),t.local?e._e():a("span",{staticClass:"remote-label rounded ml-1"},[e._v("Remote")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0 small"},[a("span",[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(t.followers_count)+" Followers\n\t\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),a("span",{staticClass:"mx-1"},[e._v("·")]),e._v(" "),a("span",[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\tJoined "+e._s(e.formatDate(t.created_at))+"\n\t\t\t\t\t\t\t\t\t\t\t")])])]),e._v(" "),a("button",{staticClass:"btn btn-light lead font-weight-bolder px-3 border",attrs:{type:"button"},on:{click:function(t){return e.handleApplicant(s,"ignore")}}},[a("i",{staticClass:"far fa-times mr-1"}),e._v(" Ignore\n\t\t\t\t\t\t\t\t\t")]),e._v(" "),a("button",{staticClass:"btn btn-danger lead font-weight-bolder px-3 border",attrs:{type:"button"},on:{click:function(t){return e.handleApplicant(s,"reject")}}},[a("i",{staticClass:"far fa-times mr-1"}),e._v(" Reject\n\t\t\t\t\t\t\t\t\t")]),e._v(" "),a("button",{staticClass:"btn btn-primary lead font-weight-bolder px-3 border",attrs:{type:"button"},on:{click:function(t){return e.handleApplicant(s,"approve")}}},[a("i",{staticClass:"far fa-check mr-1"}),e._v(" Approve\n\t\t\t\t\t\t\t\t\t")])])})),e._v(" "),e.applicantsCanLoadMore?a("button",{staticClass:"btn btn-light font-weight-bold btn-block",attrs:{disabled:e.loadingMoreApplicants},on:{click:e.loadMoreApplicants}},[e._v("\n\t\t\t\t\t\t\t\t\tLoad More\n\t\t\t\t\t\t\t\t")]):e._e(),e._v(" "),e.applicants&&e.applicants.length?e._e():a("div",[a("p",{staticClass:"text-center lead mb-0"},[e._v("No content found")]),e._v(" "),a("p",{staticClass:"text-center mb-0"},[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.backFromReview.apply(null,arguments)}}},[e._v("Go back")])])])],2)]):a("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"100px"}},[a("b-spinner",{attrs:{variant:"muted"}})],1)]):e._e(),e._v(" "),"loading"==e.tab?a("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"100px"}},[a("b-spinner",{attrs:{variant:"muted"}})],1):e._e()])])]),e._v(" "),a("group-interaction-limits-modal",{ref:"interactionModal",attrs:{group:e.group,profile:e.activeProfile}})],1)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"text-center text-muted"},[e("div",{staticClass:"spinner-border",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]),t._v(" "),e("p",{staticClass:"lead mb-0 mt-2"},[t._v("Loading results ...")])])}]},45450:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-moderation-component"},[t.initalLoad?e("div",["home"===t.tab?e("div",[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-6 pt-4"},[t._m(0),t._v(" "),t.reports.length?e("div",{staticClass:"list-group"},[t._l(t.reports,(function(a,s){return e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"rounded-circle mr-3",attrs:{src:a.profile.avatar,width:"40",height:"40"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0"},[1==a.total_count?e("a",{staticClass:"font-weight-bold",attrs:{href:a.profile.url}},[t._v(t._s(a.profile.username))]):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:a.profile.url}},[t._v(t._s(a.profile.username))]),t._v(" and "),e("a",{staticClass:"font-weight-bold",attrs:{href:"#"}},[t._v(t._s(a.total_count-1)+" others")])]),t._v("\n\t\t\t\t\t\t\t\t\t\treported\n\t\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold",attrs:{href:"#",id:"report_post:".concat(s)}},[t._v("this post")]),t._v("\n\t\t\t\t\t\t\t\t\t\tas "+t._s(a.type)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0 small"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(a.created_at))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",[t._v("·")]),t._v(" "),e("a",{staticClass:"text-danger font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.actionMenu(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\tActions\n\t\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("b-popover",{attrs:{target:"report_post:".concat(s),triggers:"hover",placement:"bottom","custom-class":"popover-wide"},scopedSlots:t._u([{key:"title",fn:function(){return[e("div",{staticClass:"d-flex justify-content-between"},[e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t@"+t._s(a.status.account.username)+"\n\t\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(a.status.created_at))+"\n\t\t\t\t\t\t\t\t\t\t\t")])])]},proxy:!0}],null,!0)},[t._v(" "),"group:post"==a.status.pf_type?e("div",[a.status.media_attachments.length?e("div",[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:a.status.media_attachments[0].url,width:"100%",height:"300"}})]):e("div",[e("p",{domProps:{innerHTML:t._s(a.status.content)}})])]):"reply-text"==a.status.pf_type?e("div",[e("p",{domProps:{innerHTML:t._s(a.status.content)}})]):e("div",[e("p",[t._v("Cannot generate preview.")])]),t._v(" "),e("p",{staticClass:"mb-1 mt-3"},[e("a",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{href:a.status.url}},[t._v("View Post")])])])],1)])})),t._v(" "),t.canLoadMore?e("div",{staticClass:"list-group-item"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block",on:{click:function(e){return e.preventDefault(),t.loadMoreReports()}}},[t._v("Load more")])]):t._e()],2):e("div",{staticClass:"card card-body shadow-none border rounded-pill"},[e("p",{staticClass:"lead font-weight-bold text-center mb-0"},[t._v("No moderation reports found!")])])])])]):t._e()]):e("div",{staticClass:"col-12 col-md-6 pt-4 d-flex align-items-center justify-content-center"},[t._m(1)])])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("p",{staticClass:"lead mb-0"},[t._v("Latest Mod Reports")]),t._v(" "),e("button",{staticClass:"btn btn-light border font-weight-bold btn-sm rounded shadow-sm"},[e("i",{staticClass:"far fa-redo"})])])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},30820:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-topics-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-8"},[e("div",{staticClass:"card card-body border shadow-sm"},[t._m(0),t._v(" "),t.feed.length?e("div",t._l(t.feed,(function(a,s){return e("div",{},[e("div",{staticClass:"media py-2"},[e("i",{staticClass:"fas fa-hashtag fa-lg text-lighter mr-3 mt-2"}),t._v(" "),e("div",{staticClass:"media-body",class:{"border-bottom":s!=t.feed.length-1}},[e("a",{staticClass:"font-weight-bold mb-1 text-dark",staticStyle:{"font-size":"16px"},attrs:{href:a.url}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(a.name)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-muted",staticStyle:{"font-size":"13px"}},[t._v(t._s(a.count)+" posts in this group")])])])])})),0):e("div",{staticClass:"py-5"},[e("p",{staticClass:"lead text-center font-weight-bold"},[t._v("No topics found")])])])])])])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("p",{staticClass:"h4 font-weight-bold mb-0"},[t._v("Group Topics")]),t._v(" "),e("select",{staticClass:"form-control bg-light rounded-lg border font-weight-bold py-2",staticStyle:{width:"95px"},attrs:{disabled:""}},[e("option",[t._v("All")]),t._v(" "),e("option",[t._v("Pinned")])])])}]},25652:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",[t.profile&&t.profile.hasOwnProperty("avatar")?e("b-modal",{ref:"home",attrs:{"hide-footer":"",centered:"",rounded:"",title:"Limit Interactions","body-class":"rounded"}},[e("div",{staticClass:"media mb-3"},[e("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.profile.url}},[e("img",{staticClass:"rounded-circle border mr-2",attrs:{src:t.profile.avatar,width:"56",height:"56"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[e("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.profile.url}},[t._v(t._s(t.profile.username))]),t._v(" "),"founder"==t.profile.role?e("span",{staticClass:"member-label rounded ml-1"},[t._v("Admin")]):t._e()]),t._v(" "),e("p",{staticClass:"text-muted mb-0"},[t._v("Member since "+t._s(t.formatDate(t.profile.joined)))])])]),t._v(" "),e("div",{staticClass:"w-100 bg-light mb-1 font-weight-bold d-flex justify-content-center align-items-center border rounded",staticStyle:{"min-height":"240px"}},[t.limitsLoaded?e("div",{staticClass:"py-3"},[e("p",{staticClass:"lead mb-0"},[t._v("Interaction Permissions")]),t._v(" "),e("p",{staticClass:"small text-muted"},[t._v("Last updated: "+t._s(t.updated?t.formatDate(t.updated):"Never"))]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.limits.can_post,expression:"limits.can_post"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:t.savingChanges},domProps:{checked:Array.isArray(t.limits.can_post)?t._i(t.limits.can_post,null)>-1:t.limits.can_post},on:{change:function(e){var a=t.limits.can_post,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&t.$set(t.limits,"can_post",a.concat([null])):n>-1&&t.$set(t.limits,"can_post",a.slice(0,n).concat(a.slice(n+1)))}else t.$set(t.limits,"can_post",i)}}}),t._v(" "),e("label",{staticClass:"form-check-label"},[t._v("\n\t\t\t\t\t\tCan create posts\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.limits.can_comment,expression:"limits.can_comment"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:t.savingChanges},domProps:{checked:Array.isArray(t.limits.can_comment)?t._i(t.limits.can_comment,null)>-1:t.limits.can_comment},on:{change:function(e){var a=t.limits.can_comment,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&t.$set(t.limits,"can_comment",a.concat([null])):n>-1&&t.$set(t.limits,"can_comment",a.slice(0,n).concat(a.slice(n+1)))}else t.$set(t.limits,"can_comment",i)}}}),t._v(" "),e("label",{staticClass:"form-check-label"},[t._v("\n\t\t\t\t\t\tCan create comments\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.limits.can_like,expression:"limits.can_like"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:t.savingChanges},domProps:{checked:Array.isArray(t.limits.can_like)?t._i(t.limits.can_like,null)>-1:t.limits.can_like},on:{change:function(e){var a=t.limits.can_like,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&t.$set(t.limits,"can_like",a.concat([null])):n>-1&&t.$set(t.limits,"can_like",a.slice(0,n).concat(a.slice(n+1)))}else t.$set(t.limits,"can_like",i)}}}),t._v(" "),e("label",{staticClass:"form-check-label"},[t._v("\n\t\t\t\t\t\tCan like posts and comments\n\t\t\t\t\t")])]),t._v(" "),e("hr"),t._v(" "),e("button",{staticClass:"btn btn-primary font-weight-bold float-right",staticStyle:{width:"130px"},attrs:{disabled:t.savingChanges},on:{click:function(e){return e.preventDefault(),t.saveChanges.apply(null,arguments)}}},[t.savingChanges?e("b-spinner",{attrs:{variant:"light",small:""}}):e("span",[t._v("Save changes")])],1)]):e("div",{staticClass:"d-flex align-items-center flex-column"},[e("b-spinner",{attrs:{variant:"muted"}}),t._v(" "),e("p",{staticClass:"pt-3 small text-muted font-weight-bold"},[t._v("Loading interaction limits...")])],1)])]):t._e()],1)},i=[]},72157:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"member-only-warning"},[e("div",{staticClass:"member-only-warning-wrapper"},[e("h3",[t._v("Content unavailable")]),t._v(" "),e("p",[t._v("You need to join this Group before you can access this content.")])])])}]},46151:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-feed-component-body{min-height:40vh}",""]);const n=i},13017:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-about-component[data-v-a3964586]{margin-bottom:50vh}.group-about-component .title[data-v-a3964586]{font-size:16px;font-weight:700}.group-about-component .description[data-v-a3964586]{color:#6c757d;font-size:15px;font-weight:400;margin-bottom:30px;white-space:break-spaces}.group-about-component .fact[data-v-a3964586]{align-items:center;display:flex;margin-bottom:1.5rem}.group-about-component .fact-body[data-v-a3964586]{flex:1}.group-about-component .fact-icon[data-v-a3964586]{text-align:center;width:50px}.group-about-component .fact-title[data-v-a3964586]{font-size:17px;font-weight:500;margin-bottom:0}.group-about-component .fact-subtitle[data-v-a3964586]{color:#6c757d;font-size:14px;margin-bottom:0}",""]);const n=i},66600:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,"",""]);const n=i},2874:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,"",""]);const n=i},26873:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-members-component{min-height:100vh}.group-members-component .member-label{background:rgba(137,196,244,.2);border:1px solid rgba(137,196,244,.3);color:#4b77be;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}.group-members-component .remote-label{background:#fef3c7;border:1px solid #fcd34d;color:#b45309;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}",""]);const n=i},91599:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-moderation-component{margin-bottom:100px;min-height:80vh}.popover-wide{min-width:200px!important}",""]);const n=i},47273:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-topics-component{margin-bottom:50vh}",""]);const n=i},65834:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".member-only-warning[data-v-608810bc],.member-only-warning-wrapper[data-v-608810bc]{display:flex;justify-content:center}.member-only-warning-wrapper[data-v-608810bc]{align-items:center;border:1px solid var(--border-color);border-radius:10px;flex-direction:column;max-width:550px;padding:4rem 1rem;width:100%}.member-only-warning-wrapper h3[data-v-608810bc]{font-weight:700;letter-spacing:-1px}.member-only-warning-wrapper p[data-v-608810bc]{font-size:1.2em;margin-bottom:0}",""]);const n=i},96807:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(46151),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},19826:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(13017),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},35081:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(66600),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},51785:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(2874),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},81766:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(26873),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},45550:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(91599),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},79024:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(47273),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},4761:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(65834),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},69529:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(56861),i=a(69762),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(63573);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},87223:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(1281),i=a(19264),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(24543);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,"a3964586",null).exports},54451:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(43338),i=a(60040),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(65594);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,"43b239a3",null).exports},48204:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(49696),i=a(56307),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(30676);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},78277:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(22767),i=a(21049),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(5083);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},9716:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(40443),i=a(61095),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(98593);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},20524:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(87301),i=a(15859),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(17623);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},62724:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(43355),i=a(36235),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},72890:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});var s=a(50678);a(12376);const i=(0,a(14486).default)({},s.render,s.staticRenderFns,!1,null,"608810bc",null).exports},69762:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(67703),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},19264:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(12189),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},60040:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(52327),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},56307:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(14366),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},21049:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(95871),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},61095:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(2336),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},15859:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(44128),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},36235:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(52070),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},56861:(t,e,a)=>{a.r(e);var s=a(69974),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},1281:(t,e,a)=>{a.r(e);var s=a(91722),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},43338:(t,e,a)=>{a.r(e);var s=a(3843),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},49696:(t,e,a)=>{a.r(e);var s=a(78059),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},22767:(t,e,a)=>{a.r(e);var s=a(49012),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},40443:(t,e,a)=>{a.r(e);var s=a(45450),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},87301:(t,e,a)=>{a.r(e);var s=a(30820),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},43355:(t,e,a)=>{a.r(e);var s=a(25652),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},50678:(t,e,a)=>{a.r(e);var s=a(72157),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},63573:(t,e,a)=>{a.r(e);var s=a(96807),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},24543:(t,e,a)=>{a.r(e);var s=a(19826),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},65594:(t,e,a)=>{a.r(e);var s=a(35081),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},30676:(t,e,a)=>{a.r(e);var s=a(51785),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},5083:(t,e,a)=>{a.r(e);var s=a(81766),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},98593:(t,e,a)=>{a.r(e);var s=a(45550),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},17623:(t,e,a)=>{a.r(e);var s=a(79024),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},12376:(t,e,a)=>{a.r(e);var s=a(4761),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)}}]); \ No newline at end of file diff --git a/public/js/groups-page-members.20f9217256d06bf3.js b/public/js/groups-page-members.20f9217256d06bf3.js new file mode 100644 index 000000000..e6be9561b --- /dev/null +++ b/public/js/groups-page-members.20f9217256d06bf3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[6791],{89266:(t,e,a)=>{a.r(e),a.d(e,{default:()=>w});var s=a(79984),i=a(78277),n=a(17108),r=a(95002),o=a(87223),l=a(48204),c=a(9716),d=a(20524),u=a(13094),p=a(58753),m=a(54451),f=a(94559),v=a(19413),h=a(26679),g=a(49268),b=a(52505),_=a(33457),C=a(72890);const w={props:{groupId:{type:String},path:{type:String}},components:{"status-card":s.default,"group-about":o.default,"group-status":r.default,"group-members":i.default,"group-compose":n.default,"group-topics":d.default,"group-info-card":u.default,"group-media":l.default,"group-moderation":c.default,"leave-group":p.default,"group-insights":m.default,"search-modal":f.default,"invite-modal":v.default,sidebar:h.default,"group-banner":g.default,"group-header-details":b.default,"group-nav-tabs":_.default,"member-only-warning":C.default},data:function(){return{initialLoad:!1,profile:void 0,group:{},isMember:!1,isAdmin:!1,renderIdx:1,atabs:{moderation_count:0,request_count:0}}},created:function(){this.init()},methods:{init:function(){var t=this;this.initialLoad=!1,axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.profile=e.data,t.fetchGroup()})).catch((function(t){window.location.href="/login?_next="+encodeURIComponent(window.location.href)}))},handleRefresh:function(){this.initialLoad=!1,this.init(),this.renderIdx++},fetchGroup:function(){var t=this;axios.get("/api/v0/groups/"+this.groupId).then((function(e){t.group=e.data,t.isMember=e.data.self.is_member,t.isAdmin=["founder","admin"].includes(e.data.self.role),t.isAdmin&&t.fetchAdminTabs(),t.initialLoad=!0})).catch((function(t){alert("error")}))},fetchAdminTabs:function(){var t=this;axios.get("/api/v0/groups/"+this.groupId+"/atabs").then((function(e){t.atabs=e.data}))}}}},12189:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object}},methods:{timestampFormat:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=new Date(t);return e?a.toDateString()+" · "+a.toLocaleTimeString():a.toDateString()}}}},52327:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object}},data:function(){return{}},methods:{}}},14366:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object}},data:function(){return{isLoaded:!1,feed:[],photos:[],videos:[],albums:[],tab:"photo",tabs:["photo","video","album"],page:{photo:1,video:1,album:1},hasNextPage:{photo:!1,video:!1,album:!1}}},mounted:function(){this.fetchMedia()},methods:{fetchMedia:function(){var t=this;axios.get("/api/v0/groups/media/list",{params:{gid:this.group.id,page:this.page[this.tab],type:this.tab}}).then((function(e){e.data.length>0&&(t.hasNextPage[t.tab]=!0),t.isLoaded=!0,e.data.forEach((function(e){"photo"==e.pf_type&&t.photos.push(e),"video"==e.pf_type&&t.videos.push(e),"photo:album"==e.pf_type&&t.albums.push(e)})),t.page[t.tab]=t.page[t.tab]+1})).catch((function(e){t.hasNextPage[t.tab]=!1,console.log(e.response)}))},loadNextPage:function(){var t=this;axios.get("/api/v0/groups/media/list",{params:{gid:this.group.id,page:this.page[this.tab],type:this.tab}}).then((function(e){0!=e.data.length?(e.data.forEach((function(e){"photo"==e.pf_type&&t.photos.push(e),"video"==e.pf_type&&t.videos.push(e),"photo:album"==e.pf_type&&t.albums.push(e)})),t.page[t.tab]=t.page[t.tab]+1):t.hasNextPage[t.tab]=!1})).catch((function(e){t.hasNextPage[t.tab]=!1}))},formatDate:function(t){return new Date(t).toDateString()},switchTab:function(t){this.tab=t,this.fetchMedia()},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&&e.preview_url.endsWith("storage/no-preview.png")||e.preview_url&&e.preview_url.length,e.url}}}},95871:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(62724),i=a(74692);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 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 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 a=0,s=new Array(e);a{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,s=new Array(e);an});const n={props:{group:{type:Object}},data:function(){return{initalLoad:!1,reports:[],page:1,canLoadMore:!1,tab:"home"}},mounted:function(){this.getReports()},methods:{getReports:function(){var t=this;axios.get("/api/v0/groups/".concat(this.group.id,"/reports/list")).then((function(e){t.reports=e.data,t.initalLoad=!0,t.page++,t.canLoadMore=10==e.data.length}))},loadMoreReports:function(){var t=this;axios.get("/api/v0/groups/".concat(this.group.id,"/reports/list"),{params:{page:this.page}}).then((function(e){var a;(a=t.reports).push.apply(a,s(e.data)),t.page++,t.canLoadMore=10==e.data.length}))},timeago:function(t){return App.util.format.timeAgo(t)},actionMenu:function(t){var e=this;event.currentTarget.blur(),swal({title:"Moderator Action",dangerMode:!0,text:"Please select an action to take, press ESC to close",buttons:{ignore:{text:"Ignore",className:"btn-warning",value:"ignore"},cw:{text:"NSFW",className:"btn-warning",value:"cw"},delete:{text:"Delete",className:"btn-danger",value:"delete"}}}).then((function(a){switch(a){case"ignore":axios.post("/api/v0/groups/".concat(e.group.id,"/report/action"),{action:"ignore",id:e.reports[t].id}).then((function(a){var s=e.reports[t];e.$emit("decrement",s.total_count),e.reports.splice(t,1),e.$bvToast.toast("Ignored and closed moderation report",{title:"Moderation Action",autoHideDelay:5e3,appendToast:!0})}));break;case"cw":axios.post("/api/v0/groups/".concat(e.group.id,"/report/action"),{action:"cw",id:e.reports[t].id}).then((function(a){var s=e.reports[t];e.$emit("decrement",s.total_count),e.reports.splice(t,1),e.$bvToast.toast("Succesfully applied content warning and closed moderation report",{title:"Moderation Action",autoHideDelay:5e3,appendToast:!0})}));break;case"delete":swal("Oops, this is embarassing!","We have not implemented this moderation action yet.","error")}}))}}}},44128:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object}},data:function(){return{feed:[]}},mounted:function(){this.fetchTopics()},methods:{fetchTopics:function(){var t=this;axios.get("/api/v0/groups/topics/list",{params:{gid:this.group.id}}).then((function(e){t.feed=e.data}))}}}},52070:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object},profile:{type:Object}},data:function(){return{limitsLoaded:!1,limits:{can_post:!0,can_comment:!0,can_like:!0},updated:null,savingChanges:!1}},methods:{fetchInteractionLimits:function(){var t=this;axios.get("/api/v0/groups/".concat(this.group.id,"/members/interaction-limits"),{params:{profile_id:this.profile.id}}).then((function(e){t.limits=e.data.limits,t.updated=e.data.updated_at,t.limitsLoaded=!0})).catch((function(e){t.$refs.home.hide(),swal("Oops!","Cannot fetch interaction limits at this time, please try again later.","error")}))},open:function(t){this.loaded=!0,this.$refs.home.show(),this.fetchInteractionLimits()},formatDate:function(t){return new Date(t).toDateString()},saveChanges:function(){var t=this;event.currentTarget.blur(),this.savingChanges=!0,axios.post("/api/v0/groups/".concat(this.group.id,"/members/interaction-limits"),{profile_id:this.profile.id,can_post:this.limits.can_post,can_comment:this.limits.can_comment,can_like:this.limits.can_like}).then((function(e){t.savingChanges=!1,t.$refs.home.hide(),t.$bvToast.toast("Updated interaction limits for ".concat(t.profile.username),{title:"Success",variant:"success",autoHideDelay:5e3})})).catch((function(e){t.savingChanges=!1,t.$refs.home.hide(),422==e.response.status&&"limit_reached"==e.response.data.error?swal("Limit Reached","You cannot add any more member limitations","info"):swal("Oops!","An error occured while processing this request, please try again later.","error")}))}}}},60702:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-feed-component"},[e("div",{staticClass:"row border-bottom m-0 p-0"},[e("sidebar"),t._v(" "),e("div",{staticClass:"col-12 col-md-9 px-md-0"},[e("div",{staticClass:"bg-white mb-3 border-bottom"},[e("div",[e("group-banner",{attrs:{group:t.group}}),t._v(" "),e("group-header-details",{attrs:{group:t.group,isAdmin:t.isAdmin,isMember:t.isMember},on:{refresh:t.handleRefresh}}),t._v(" "),e("group-nav-tabs",{attrs:{group:t.group,isAdmin:t.isAdmin,isMember:t.isMember,atabs:t.atabs}})],1)]),t._v(" "),t.initialLoad?[e("div",{staticClass:"container-xl group-feed-component-body"},[t.initialLoad&&t.group.self.is_member?[e("group-members",{key:t.renderIdx,attrs:{group:t.group,profile:t.profile}})]:e("member-only-warning")],2)]:e("div",[e("p",{staticClass:"text-center mt-5 pt-5 font-weight-bold"},[t._v("Loading...")])])],2)],1)])},i=[]},91722:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-about-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-7"},[e("div",{staticClass:"card shadow-none border mt-3 rounded-lg"},[t._m(0),t._v(" "),e("div",{staticClass:"card-body"},[t.group.description&&t.group.description.length>1?e("p",{staticClass:"description",domProps:{innerHTML:t._s(t.group.description)}}):e("p",{staticClass:"description"},[t._v("This group does not have a description.")]),t._v(" "),e("p",{staticClass:"mb-0 font-weight-light text-lighter"},[t._v("Created: "+t._s(t.timestampFormat(t.group.created_at)))])])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-5"},[e("div",{staticClass:"card card-body mt-3 shadow-none border rounded-lg"},["all"==t.group.membership?e("div",{staticClass:"fact"},[t._m(1),t._v(" "),t._m(2)]):t._e(),t._v(" "),"private"==t.group.membership?e("div",{staticClass:"fact"},[t._m(3),t._v(" "),t._m(4)]):t._e(),t._v(" "),t._m(5),t._v(" "),t._m(6),t._v(" "),t._m(7)])])])])},i=[function(){var t=this._self._c;return t("div",{staticClass:"card-header bg-white"},[t("h5",{staticClass:"mb-0"},[this._v("About This Group")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-globe fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Public")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Anyone can see who's in the group and what they post.")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-lock fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Private")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Only members can see who's in the group and what they post.")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact"},[e("div",{staticClass:"fact-icon"},[e("i",{staticClass:"fal fa-eye fa-lg"})]),t._v(" "),e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Visible")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Anyone can find this group.")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact"},[e("div",{staticClass:"fact-icon"},[e("i",{staticClass:"fal fa-map-marker-alt fa-lg"})]),t._v(" "),e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Fediverse")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("This group has not specified a location.")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact mb-0"},[e("div",{staticClass:"fact-icon"},[e("i",{staticClass:"fal fa-users fa-lg"})]),t._v(" "),e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("General")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("This group has not specified a category.")])])])}]},3843:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-insights-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-3 mb-3"},[e("div",{staticClass:"bg-light p-3 border rounded d-flex justify-content-between align-items-center"},[e("p",{staticClass:"h3 font-weight-bold mb-0"},[t._v("124K")]),t._v(" "),e("p",{staticClass:"font-weight-bold text-uppercase text-lighter mb-0"},[t._v("Posts")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-3 mb-3"},[e("div",{staticClass:"bg-light p-3 border rounded d-flex justify-content-between align-items-center"},[e("p",{staticClass:"h3 font-weight-bold mb-0"},[t._v("9K")]),t._v(" "),e("p",{staticClass:"font-weight-bold text-uppercase text-lighter mb-0"},[t._v("Users")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-3 mb-3"},[e("div",{staticClass:"bg-light p-3 border rounded d-flex justify-content-between align-items-center"},[e("p",{staticClass:"h3 font-weight-bold mb-0"},[t._v("1.7M")]),t._v(" "),e("p",{staticClass:"font-weight-bold text-uppercase text-lighter mb-0"},[t._v("Interactions")])])])]),t._v(" "),e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-3 mb-3"},[e("div",{staticClass:"bg-light p-3 border rounded d-flex justify-content-between align-items-center"},[e("p",{staticClass:"h3 font-weight-bold mb-0"},[t._v("50")]),t._v(" "),e("p",{staticClass:"font-weight-bold text-uppercase text-lighter mb-0"},[t._v("Mod Reports")])])])])])}]},78059:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-media-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"card card-body border shadow-sm"},[t._m(0),t._v(" "),t.isLoaded?e("div",[e("div",{staticClass:"mb-5"},[e("button",{staticClass:"btn btn-light mr-2",class:["photo"==t.tab?"text-primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.switchTab("photo")}}},[t._v("\n\t\t\t\t\t\t\tPhotos\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-light mr-2",class:["video"==t.tab?"text-primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.switchTab("video")}}},[t._v("\n\t\t\t\t\t\t\tVideos\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-light mr-2",class:["album"==t.tab?"text-primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.switchTab("album")}}},[t._v("\n\t\t\t\t\t\t\tAlbums\n\t\t\t\t\t\t")])]),t._v(" "),"photo"==t.tab?e("div",{staticClass:"row px-3"},[t._l(t.photos,(function(a,s){return e("div",{staticClass:"m-1"},[e("a",{staticClass:"bh-content",attrs:{href:a.url}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.getMediaSource(a),width:"205",height:"205"}})])])})),t._v(" "),0==t.photos.length?e("div",{staticClass:"col-12 py-5 text-center"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[t._v("No photos found")])]):t._e()],2):t._e(),t._v(" "),"video"==t.tab?e("div",{staticClass:"row px-3"},[t._l(t.videos,(function(a,s){return e("div",{staticClass:"m-1"},[e("a",{staticClass:"bh-content text-decoration-none",attrs:{href:a.url}},[a.media_attachments[0].preview_url.endsWith("no-preview.png")?e("div",{staticClass:"bg-light text-dark d-flex align-items-center justify-content-center border",staticStyle:{width:"205px",height:"205px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("No preview available")])]):e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.getMediaSource(a),width:"205",height:"205"}})])])})),t._v(" "),0==t.videos.length?e("div",{staticClass:"col-12 py-5 text-center"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[t._v("No videos found")])]):t._e()],2):t._e(),t._v(" "),"album"==t.tab?e("div",{staticClass:"row px-3"},[t._l(t.albums,(function(a,s){return e("div",{staticClass:"m-1"},[e("a",{staticClass:"bh-content",attrs:{href:a.url}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.getMediaSource(a),width:"205",height:"205"}})])])})),t._v(" "),0==t.albums.length?e("div",{staticClass:"col-12 py-5 text-center"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[t._v("No albums found")])]):t._e()],2):t._e(),t._v(" "),t.hasNextPage[t.tab]?e("div",{staticClass:"mt-3"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block border",on:{click:t.loadNextPage}},[t._v("Load more")])]):t._e()]):e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{height:"500px"}},[t._m(1)])])])])])},i=[function(){var t=this._self._c;return t("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[t("p",{staticClass:"h4 font-weight-bold mb-0"},[this._v("Media")])])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border text-primary",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},49012:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t,e=this,a=e._self._c;return a("div",{staticClass:"group-members-component"},[a("div",{staticClass:"row justify-content-center"},[a("div",{staticClass:"col-12 col-md-8 mb-5"},[e.isAdmin&&e.requestCount&&!e.hideHeader?a("div",{staticClass:"card card-body border shadow-sm bg-dark text-light mb-4 rounded-pill p-2 pl-3"},[a("div",{staticClass:"d-flex align-items-center justify-content-between"},[a("span",{staticClass:"lead mb-0 text-lighter"},[a("i",{staticClass:"fal fa-exclamation-triangle mr-2 text-warning"}),e._v("\n\t\t\t\t\t\t\tYou have "),a("strong",{staticClass:"text-white"},[e._v(e._s(e.requestCount))]),e._v(" member applications to review\n\t\t\t\t\t\t")]),e._v(" "),a("span",[a("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill btn-sm px-3",on:{click:function(t){return e.reviewApplicants()}}},[e._v("Review")])])])]):e._e(),e._v(" "),a("div",{staticClass:"card card-body border shadow-sm"},[e.hideHeader?e._e():a("div",[a("p",{staticClass:"d-flex align-items-center mb-0"},[a("span",{staticClass:"lead font-weight-bold"},[e._v("Members")]),e._v(" "),a("span",{staticClass:"mx-2"},[e._v("·")]),e._v(" "),a("span",{staticClass:"text-muted"},[e._v(e._s(e.group.member_count))])]),e._v(" "),a("div",{staticClass:"form-group mt-3",staticStyle:{position:"relative"}},[a("i",{staticClass:"fas fa-search fa-lg text-lighter",staticStyle:{position:"absolute",left:"20px",top:"50%",transform:"translateY(-50%)"}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.memberSearchModel,expression:"memberSearchModel"}],staticClass:"form-control form-control-lg bg-light border rounded-pill",staticStyle:{"padding-left":"50px","padding-right":"50px"},attrs:{placeholder:"Find a member"},domProps:{value:e.memberSearchModel},on:{input:function(t){t.target.composing||(e.memberSearchModel=t.target.value)}}}),e._v(" "),a("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill px-3",staticStyle:{position:"absolute",right:"6px",top:"50%",transform:"translateY(-50%)"}},[e._v("Search")])]),e._v(" "),a("hr")]),e._v(" "),"list"==e.tab?a("div",[a("div",{staticClass:"group-members-component-paginated-list py-3"},[a("div",{staticClass:"media align-items-center"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:e.profile.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null===(t=e.profile)||void 0===t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[e._v("\n\t\t\t\t\t\t\t\t\t\t"+e._s(e.profile.username)+"\n\t\t\t\t\t\t\t\t\t\t"),a("span",{staticClass:"member-label rounded ml-1"},[e._v("Me")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Founded group "+e._s(e.formatDate(e.group.created_at)))])])])]),e._v(" "),e.mutual.length>0?a("hr"):e._e(),e._v(" "),e.mutual.length>0?a("div",{staticClass:"group-members-component-paginated-list"},[a("p",{staticClass:"font-weight-bold mb-1"},[e._v("Mutual Friends")]),e._v(" "),e._l(e.mutual,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url,title:t.acct,"data-toggle":"tooltip"}},[e._v(e._s(t.username))]),e._v(" "),"founder"==t.role?a("span",{staticClass:"member-label rounded ml-1"},[e._v("Admin")]):e._e(),e._v(" "),t.local?e._e():a("span",{staticClass:"remote-label rounded ml-1"},[e._v("Remote")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Member since "+e._s(e.formatDate(t.joined)))])]),e._v(" "),a("a",{staticClass:"btn btn-light lead font-weight-bolder px-3 border",attrs:{href:"/account/direct/t/"+t.id}},[a("i",{staticClass:"far fa-comment-dots mr-1"}),e._v(" Message\n\t\t\t\t\t\t\t\t")]),e._v(" "),e.isAdmin?a("b-dropdown",{attrs:{"toggle-class":"btn btn-light font-weight-bold px-3 border ml-2","toggle-tag":"a",lazy:!0,right:"","no-caret":""},scopedSlots:e._u([{key:"button-content",fn:function(){return[a("i",{staticClass:"fas fa-ellipsis-h"})]},proxy:!0}],null,!0)},[e._v(" "),a("b-dropdown-item",{attrs:{href:t.url}},[e._v("View Profile")]),e._v(" "),a("b-dropdown-item",{attrs:{href:"/account/direct/t/"+t.id}},[e._v("Send Message")]),e._v(" "),a("b-dropdown-item",[e._v("View Activity")]),e._v(" "),a("b-dropdown-divider"),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(a){return a.preventDefault(),e.openInteractionLimitModal(t)}}},[e._v("Limit interactions")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold text-danger"}},[e._v("Remove from group")])],1):e._e()],1)}))],2):e._e(),e._v(" "),e.members.length>0?a("hr"):e._e(),e._v(" "),e.members.length>0?a("div",{staticClass:"group-members-component-paginated-list"},[a("p",{staticClass:"font-weight-bold mb-1"},[e._v("Other Members")]),e._v(" "),e._l(e.members,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url,title:t.acct,"data-toggle":"tooltip"}},[e._v(e._s(t.username))]),e._v(" "),t.is_admin?a("span",{staticClass:"member-label rounded ml-1"},[e._v("Admin")]):e._e(),e._v(" "),t.local?e._e():a("span",{staticClass:"remote-label rounded ml-1"},[e._v("Remote")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Member since "+e._s(e.formatDate(t.joined)))])]),e._v(" "),a("button",{staticClass:"btn lead font-weight-bolder px-4 border",class:[t.following?"btn-primary":"btn-light"],on:{click:function(t){return e.follow(s)}}},[t.following?a("span",[e._v("\n\t\t\t\t\t\t\t\t\t\tFollowing\n\t\t\t\t\t\t\t\t\t")]):a("span",[a("i",{staticClass:"fas fa-user-plus mr-2"}),e._v(" Follow\n\t\t\t\t\t\t\t\t\t")])]),e._v(" "),e.isAdmin?a("b-dropdown",{attrs:{"toggle-class":"btn btn-light font-weight-bold px-3 border ml-2","toggle-tag":"a",lazy:!0,right:"","no-caret":""},scopedSlots:e._u([{key:"button-content",fn:function(){return[a("i",{staticClass:"fas fa-ellipsis-h"})]},proxy:!0}],null,!0)},[e._v(" "),a("b-dropdown-item",{attrs:{href:t.url,"link-class":"font-weight-bold"}},[e._v("View Profile")]),e._v(" "),a("b-dropdown-item",{attrs:{href:"/account/direct/t/"+t.id,"link-class":"font-weight-bold"}},[e._v("Send Message")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"}},[e._v("View Activity")]),e._v(" "),a("b-dropdown-divider"),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(a){return a.preventDefault(),e.openInteractionLimitModal(t)}}},[e._v("Limit interactions")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold text-danger"}},[e._v("Remove from group")])],1):e._e()],1)}))],2):e._e(),e._v(" "),e.members.length>0&&e.hasNextPage?a("p",{staticClass:"mt-4"},[a("button",{staticClass:"btn btn-light btn-block border font-weight-bold",on:{click:e.loadNextPage}},[e._v("Load more")])]):e._e()]):e._e(),e._v(" "),"search"==e.tab?a("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{"min-height":"100px"}},[e._m(0)]):e._e(),e._v(" "),"results"==e.tab?a("div",[e.results.length>0?a("div",{staticClass:"group-members-component-paginated-list"},[a("p",{staticClass:"font-weight-bold mb-1"},[e._v("Results")]),e._v(" "),e._l(e.results,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url,title:t.acct,"data-toggle":"tooltip"}},[e._v(e._s(t.username))]),e._v(" "),"founder"==t.role?a("span",{staticClass:"member-label rounded ml-1"},[e._v("Admin")]):e._e(),e._v(" "),t.local?e._e():a("span",{staticClass:"remote-label rounded ml-1"},[e._v("Remote")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Member since "+e._s(e.formatDate(t.joined)))])]),e._v(" "),a("a",{staticClass:"btn btn-light lead font-weight-bolder px-3 border",attrs:{href:"/account/direct/t/"+t.id}},[a("i",{staticClass:"far fa-comment-dots mr-1"}),e._v(" Message\n\t\t\t\t\t\t\t\t")]),e._v(" "),e.isAdmin?a("b-dropdown",{attrs:{"toggle-class":"btn btn-light font-weight-bold px-3 border ml-2","toggle-tag":"a",lazy:!0,right:"","no-caret":""},scopedSlots:e._u([{key:"button-content",fn:function(){return[a("i",{staticClass:"fas fa-ellipsis-h"})]},proxy:!0}],null,!0)},[e._v(" "),a("b-dropdown-item",{attrs:{href:t.url}},[e._v("View Profile")]),e._v(" "),a("b-dropdown-item",{attrs:{href:"/account/direct/t/"+t.id}},[e._v("Send Message")]),e._v(" "),a("b-dropdown-item",[e._v("View Activity")]),e._v(" "),a("b-dropdown-divider"),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(a){return a.preventDefault(),e.openInteractionLimitModal(t)}}},[e._v("Limit interactions")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold text-danger"}},[e._v("Remove from group")])],1):e._e()],1)})),e._v(" "),a("p",{staticClass:"text-center mt-5"},[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:e.backFromSearch}},[e._v("Go back")])])],2):a("div",{staticClass:"text-center text-muted mt-3"},[a("p",{staticClass:"lead"},[e._v("No results found.")]),e._v(" "),a("p",[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:e.backFromSearch}},[e._v("Go back")])])])]):e._e(),e._v(" "),"memberInteractionLimits"==e.tab?a("div",[e.results.length>0?a("div",{staticClass:"group-members-component-paginated-list"},[a("p",{staticClass:"font-weight-bold mb-1"},[e._v("Interaction Limits")]),e._v(" "),e._l(e.results,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[e._v(e._s(t.username))]),e._v(" "),"founder"==t.role?a("span",{staticClass:"member-label rounded ml-1"},[e._v("Admin")]):e._e()]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Member since "+e._s(e.formatDate(t.joined)))])]),e._v(" "),a("a",{staticClass:"btn btn-light lead font-weight-bolder px-3 border",attrs:{href:"/account/direct/t/"+t.id}},[a("i",{staticClass:"far fa-comment-dots mr-1"}),e._v(" Message\n\t\t\t\t\t\t\t\t")]),e._v(" "),e.isAdmin?a("b-dropdown",{attrs:{"toggle-class":"btn btn-light font-weight-bold px-3 border ml-2","toggle-tag":"a",lazy:!0,right:"","no-caret":""},scopedSlots:e._u([{key:"button-content",fn:function(){return[a("i",{staticClass:"fas fa-ellipsis-h"})]},proxy:!0}],null,!0)},[e._v(" "),a("b-dropdown-item",{attrs:{href:t.url}},[e._v("View Profile")]),e._v(" "),a("b-dropdown-item",{attrs:{href:"/account/direct/t/"+t.id}},[e._v("Send Message")]),e._v(" "),a("b-dropdown-item",[e._v("View Activity")]),e._v(" "),a("b-dropdown-divider"),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(a){return a.preventDefault(),e.openInteractionLimitModal(t)}}},[e._v("Limit interactions")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold text-danger"}},[e._v("Remove from group")])],1):e._e()],1)})),e._v(" "),a("p",{staticClass:"text-center mt-5"},[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.backFromSearch.apply(null,arguments)}}},[e._v("Go back")])])],2):a("div",{staticClass:"text-center text-muted mt-3"},[a("p",{staticClass:"lead"},[e._v("No results found.")]),e._v(" "),a("p",[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.backFromSearch.apply(null,arguments)}}},[e._v("Go back")])])])]):e._e(),e._v(" "),"review"==e.tab?a("div",[e.reviewsLoaded?a("div",[a("div",{staticClass:"group-members-component-paginated-list"},[a("div",{staticClass:"d-flex justify-content-between align-items-center"},[a("div",{staticClass:"d-flex"},[a("button",{staticClass:"btn btn-link btn-sm mr-2",on:{click:e.backFromReview}},[a("i",{staticClass:"far fa-chevron-left fa-lg"})]),e._v(" "),a("p",{staticClass:"font-weight-bold mb-0"},[e._v("Review Membership Applicants")])])]),e._v(" "),a("hr"),e._v(" "),e._l(e.applicants,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url,title:t.acct,"data-toggle":"tooltip"}},[e._v(e._s(t.username))]),e._v(" "),t.local?e._e():a("span",{staticClass:"remote-label rounded ml-1"},[e._v("Remote")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0 small"},[a("span",[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(t.followers_count)+" Followers\n\t\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),a("span",{staticClass:"mx-1"},[e._v("·")]),e._v(" "),a("span",[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\tJoined "+e._s(e.formatDate(t.created_at))+"\n\t\t\t\t\t\t\t\t\t\t\t")])])]),e._v(" "),a("button",{staticClass:"btn btn-light lead font-weight-bolder px-3 border",attrs:{type:"button"},on:{click:function(t){return e.handleApplicant(s,"ignore")}}},[a("i",{staticClass:"far fa-times mr-1"}),e._v(" Ignore\n\t\t\t\t\t\t\t\t\t")]),e._v(" "),a("button",{staticClass:"btn btn-danger lead font-weight-bolder px-3 border",attrs:{type:"button"},on:{click:function(t){return e.handleApplicant(s,"reject")}}},[a("i",{staticClass:"far fa-times mr-1"}),e._v(" Reject\n\t\t\t\t\t\t\t\t\t")]),e._v(" "),a("button",{staticClass:"btn btn-primary lead font-weight-bolder px-3 border",attrs:{type:"button"},on:{click:function(t){return e.handleApplicant(s,"approve")}}},[a("i",{staticClass:"far fa-check mr-1"}),e._v(" Approve\n\t\t\t\t\t\t\t\t\t")])])})),e._v(" "),e.applicantsCanLoadMore?a("button",{staticClass:"btn btn-light font-weight-bold btn-block",attrs:{disabled:e.loadingMoreApplicants},on:{click:e.loadMoreApplicants}},[e._v("\n\t\t\t\t\t\t\t\t\tLoad More\n\t\t\t\t\t\t\t\t")]):e._e(),e._v(" "),e.applicants&&e.applicants.length?e._e():a("div",[a("p",{staticClass:"text-center lead mb-0"},[e._v("No content found")]),e._v(" "),a("p",{staticClass:"text-center mb-0"},[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.backFromReview.apply(null,arguments)}}},[e._v("Go back")])])])],2)]):a("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"100px"}},[a("b-spinner",{attrs:{variant:"muted"}})],1)]):e._e(),e._v(" "),"loading"==e.tab?a("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"100px"}},[a("b-spinner",{attrs:{variant:"muted"}})],1):e._e()])])]),e._v(" "),a("group-interaction-limits-modal",{ref:"interactionModal",attrs:{group:e.group,profile:e.activeProfile}})],1)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"text-center text-muted"},[e("div",{staticClass:"spinner-border",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]),t._v(" "),e("p",{staticClass:"lead mb-0 mt-2"},[t._v("Loading results ...")])])}]},45450:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-moderation-component"},[t.initalLoad?e("div",["home"===t.tab?e("div",[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-6 pt-4"},[t._m(0),t._v(" "),t.reports.length?e("div",{staticClass:"list-group"},[t._l(t.reports,(function(a,s){return e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"rounded-circle mr-3",attrs:{src:a.profile.avatar,width:"40",height:"40"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0"},[1==a.total_count?e("a",{staticClass:"font-weight-bold",attrs:{href:a.profile.url}},[t._v(t._s(a.profile.username))]):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:a.profile.url}},[t._v(t._s(a.profile.username))]),t._v(" and "),e("a",{staticClass:"font-weight-bold",attrs:{href:"#"}},[t._v(t._s(a.total_count-1)+" others")])]),t._v("\n\t\t\t\t\t\t\t\t\t\treported\n\t\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold",attrs:{href:"#",id:"report_post:".concat(s)}},[t._v("this post")]),t._v("\n\t\t\t\t\t\t\t\t\t\tas "+t._s(a.type)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0 small"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(a.created_at))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",[t._v("·")]),t._v(" "),e("a",{staticClass:"text-danger font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.actionMenu(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\tActions\n\t\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("b-popover",{attrs:{target:"report_post:".concat(s),triggers:"hover",placement:"bottom","custom-class":"popover-wide"},scopedSlots:t._u([{key:"title",fn:function(){return[e("div",{staticClass:"d-flex justify-content-between"},[e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t@"+t._s(a.status.account.username)+"\n\t\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(a.status.created_at))+"\n\t\t\t\t\t\t\t\t\t\t\t")])])]},proxy:!0}],null,!0)},[t._v(" "),"group:post"==a.status.pf_type?e("div",[a.status.media_attachments.length?e("div",[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:a.status.media_attachments[0].url,width:"100%",height:"300"}})]):e("div",[e("p",{domProps:{innerHTML:t._s(a.status.content)}})])]):"reply-text"==a.status.pf_type?e("div",[e("p",{domProps:{innerHTML:t._s(a.status.content)}})]):e("div",[e("p",[t._v("Cannot generate preview.")])]),t._v(" "),e("p",{staticClass:"mb-1 mt-3"},[e("a",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{href:a.status.url}},[t._v("View Post")])])])],1)])})),t._v(" "),t.canLoadMore?e("div",{staticClass:"list-group-item"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block",on:{click:function(e){return e.preventDefault(),t.loadMoreReports()}}},[t._v("Load more")])]):t._e()],2):e("div",{staticClass:"card card-body shadow-none border rounded-pill"},[e("p",{staticClass:"lead font-weight-bold text-center mb-0"},[t._v("No moderation reports found!")])])])])]):t._e()]):e("div",{staticClass:"col-12 col-md-6 pt-4 d-flex align-items-center justify-content-center"},[t._m(1)])])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("p",{staticClass:"lead mb-0"},[t._v("Latest Mod Reports")]),t._v(" "),e("button",{staticClass:"btn btn-light border font-weight-bold btn-sm rounded shadow-sm"},[e("i",{staticClass:"far fa-redo"})])])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},30820:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-topics-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-8"},[e("div",{staticClass:"card card-body border shadow-sm"},[t._m(0),t._v(" "),t.feed.length?e("div",t._l(t.feed,(function(a,s){return e("div",{},[e("div",{staticClass:"media py-2"},[e("i",{staticClass:"fas fa-hashtag fa-lg text-lighter mr-3 mt-2"}),t._v(" "),e("div",{staticClass:"media-body",class:{"border-bottom":s!=t.feed.length-1}},[e("a",{staticClass:"font-weight-bold mb-1 text-dark",staticStyle:{"font-size":"16px"},attrs:{href:a.url}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(a.name)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-muted",staticStyle:{"font-size":"13px"}},[t._v(t._s(a.count)+" posts in this group")])])])])})),0):e("div",{staticClass:"py-5"},[e("p",{staticClass:"lead text-center font-weight-bold"},[t._v("No topics found")])])])])])])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("p",{staticClass:"h4 font-weight-bold mb-0"},[t._v("Group Topics")]),t._v(" "),e("select",{staticClass:"form-control bg-light rounded-lg border font-weight-bold py-2",staticStyle:{width:"95px"},attrs:{disabled:""}},[e("option",[t._v("All")]),t._v(" "),e("option",[t._v("Pinned")])])])}]},25652:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",[t.profile&&t.profile.hasOwnProperty("avatar")?e("b-modal",{ref:"home",attrs:{"hide-footer":"",centered:"",rounded:"",title:"Limit Interactions","body-class":"rounded"}},[e("div",{staticClass:"media mb-3"},[e("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.profile.url}},[e("img",{staticClass:"rounded-circle border mr-2",attrs:{src:t.profile.avatar,width:"56",height:"56"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[e("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.profile.url}},[t._v(t._s(t.profile.username))]),t._v(" "),"founder"==t.profile.role?e("span",{staticClass:"member-label rounded ml-1"},[t._v("Admin")]):t._e()]),t._v(" "),e("p",{staticClass:"text-muted mb-0"},[t._v("Member since "+t._s(t.formatDate(t.profile.joined)))])])]),t._v(" "),e("div",{staticClass:"w-100 bg-light mb-1 font-weight-bold d-flex justify-content-center align-items-center border rounded",staticStyle:{"min-height":"240px"}},[t.limitsLoaded?e("div",{staticClass:"py-3"},[e("p",{staticClass:"lead mb-0"},[t._v("Interaction Permissions")]),t._v(" "),e("p",{staticClass:"small text-muted"},[t._v("Last updated: "+t._s(t.updated?t.formatDate(t.updated):"Never"))]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.limits.can_post,expression:"limits.can_post"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:t.savingChanges},domProps:{checked:Array.isArray(t.limits.can_post)?t._i(t.limits.can_post,null)>-1:t.limits.can_post},on:{change:function(e){var a=t.limits.can_post,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&t.$set(t.limits,"can_post",a.concat([null])):n>-1&&t.$set(t.limits,"can_post",a.slice(0,n).concat(a.slice(n+1)))}else t.$set(t.limits,"can_post",i)}}}),t._v(" "),e("label",{staticClass:"form-check-label"},[t._v("\n\t\t\t\t\t\tCan create posts\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.limits.can_comment,expression:"limits.can_comment"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:t.savingChanges},domProps:{checked:Array.isArray(t.limits.can_comment)?t._i(t.limits.can_comment,null)>-1:t.limits.can_comment},on:{change:function(e){var a=t.limits.can_comment,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&t.$set(t.limits,"can_comment",a.concat([null])):n>-1&&t.$set(t.limits,"can_comment",a.slice(0,n).concat(a.slice(n+1)))}else t.$set(t.limits,"can_comment",i)}}}),t._v(" "),e("label",{staticClass:"form-check-label"},[t._v("\n\t\t\t\t\t\tCan create comments\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.limits.can_like,expression:"limits.can_like"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:t.savingChanges},domProps:{checked:Array.isArray(t.limits.can_like)?t._i(t.limits.can_like,null)>-1:t.limits.can_like},on:{change:function(e){var a=t.limits.can_like,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&t.$set(t.limits,"can_like",a.concat([null])):n>-1&&t.$set(t.limits,"can_like",a.slice(0,n).concat(a.slice(n+1)))}else t.$set(t.limits,"can_like",i)}}}),t._v(" "),e("label",{staticClass:"form-check-label"},[t._v("\n\t\t\t\t\t\tCan like posts and comments\n\t\t\t\t\t")])]),t._v(" "),e("hr"),t._v(" "),e("button",{staticClass:"btn btn-primary font-weight-bold float-right",staticStyle:{width:"130px"},attrs:{disabled:t.savingChanges},on:{click:function(e){return e.preventDefault(),t.saveChanges.apply(null,arguments)}}},[t.savingChanges?e("b-spinner",{attrs:{variant:"light",small:""}}):e("span",[t._v("Save changes")])],1)]):e("div",{staticClass:"d-flex align-items-center flex-column"},[e("b-spinner",{attrs:{variant:"muted"}}),t._v(" "),e("p",{staticClass:"pt-3 small text-muted font-weight-bold"},[t._v("Loading interaction limits...")])],1)])]):t._e()],1)},i=[]},72157:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"member-only-warning"},[e("div",{staticClass:"member-only-warning-wrapper"},[e("h3",[t._v("Content unavailable")]),t._v(" "),e("p",[t._v("You need to join this Group before you can access this content.")])])])}]},50761:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-feed-component-body{min-height:40vh}",""]);const n=i},13017:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-about-component[data-v-a3964586]{margin-bottom:50vh}.group-about-component .title[data-v-a3964586]{font-size:16px;font-weight:700}.group-about-component .description[data-v-a3964586]{color:#6c757d;font-size:15px;font-weight:400;margin-bottom:30px;white-space:break-spaces}.group-about-component .fact[data-v-a3964586]{align-items:center;display:flex;margin-bottom:1.5rem}.group-about-component .fact-body[data-v-a3964586]{flex:1}.group-about-component .fact-icon[data-v-a3964586]{text-align:center;width:50px}.group-about-component .fact-title[data-v-a3964586]{font-size:17px;font-weight:500;margin-bottom:0}.group-about-component .fact-subtitle[data-v-a3964586]{color:#6c757d;font-size:14px;margin-bottom:0}",""]);const n=i},66600:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,"",""]);const n=i},2874:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,"",""]);const n=i},26873:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-members-component{min-height:100vh}.group-members-component .member-label{background:rgba(137,196,244,.2);border:1px solid rgba(137,196,244,.3);color:#4b77be;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}.group-members-component .remote-label{background:#fef3c7;border:1px solid #fcd34d;color:#b45309;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}",""]);const n=i},91599:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-moderation-component{margin-bottom:100px;min-height:80vh}.popover-wide{min-width:200px!important}",""]);const n=i},47273:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-topics-component{margin-bottom:50vh}",""]);const n=i},65834:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".member-only-warning[data-v-608810bc],.member-only-warning-wrapper[data-v-608810bc]{display:flex;justify-content:center}.member-only-warning-wrapper[data-v-608810bc]{align-items:center;border:1px solid var(--border-color);border-radius:10px;flex-direction:column;max-width:550px;padding:4rem 1rem;width:100%}.member-only-warning-wrapper h3[data-v-608810bc]{font-weight:700;letter-spacing:-1px}.member-only-warning-wrapper p[data-v-608810bc]{font-size:1.2em;margin-bottom:0}",""]);const n=i},7682:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(50761),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},19826:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(13017),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},35081:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(66600),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},51785:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(2874),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},81766:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(26873),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},45550:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(91599),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},79024:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(47273),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},4761:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(65834),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},27884:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(6493),i=a(64731),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(59795);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},87223:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(1281),i=a(19264),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(24543);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,"a3964586",null).exports},54451:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(43338),i=a(60040),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(65594);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,"43b239a3",null).exports},48204:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(49696),i=a(56307),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(30676);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},78277:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(22767),i=a(21049),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(5083);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},9716:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(40443),i=a(61095),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(98593);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},20524:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(87301),i=a(15859),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(17623);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},62724:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(43355),i=a(36235),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},72890:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});var s=a(50678);a(12376);const i=(0,a(14486).default)({},s.render,s.staticRenderFns,!1,null,"608810bc",null).exports},64731:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(89266),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},19264:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(12189),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},60040:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(52327),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},56307:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(14366),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},21049:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(95871),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},61095:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(2336),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},15859:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(44128),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},36235:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(52070),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},6493:(t,e,a)=>{a.r(e);var s=a(60702),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},1281:(t,e,a)=>{a.r(e);var s=a(91722),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},43338:(t,e,a)=>{a.r(e);var s=a(3843),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},49696:(t,e,a)=>{a.r(e);var s=a(78059),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},22767:(t,e,a)=>{a.r(e);var s=a(49012),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},40443:(t,e,a)=>{a.r(e);var s=a(45450),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},87301:(t,e,a)=>{a.r(e);var s=a(30820),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},43355:(t,e,a)=>{a.r(e);var s=a(25652),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},50678:(t,e,a)=>{a.r(e);var s=a(72157),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},59795:(t,e,a)=>{a.r(e);var s=a(7682),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},24543:(t,e,a)=>{a.r(e);var s=a(19826),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},65594:(t,e,a)=>{a.r(e);var s=a(35081),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},30676:(t,e,a)=>{a.r(e);var s=a(51785),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},5083:(t,e,a)=>{a.r(e);var s=a(81766),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},98593:(t,e,a)=>{a.r(e);var s=a(45550),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},17623:(t,e,a)=>{a.r(e);var s=a(79024),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},12376:(t,e,a)=>{a.r(e);var s=a(4761),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)}}]); \ No newline at end of file diff --git a/public/js/groups-page-topics.c856bf15dc42b2fb.js b/public/js/groups-page-topics.c856bf15dc42b2fb.js new file mode 100644 index 000000000..fd2375947 --- /dev/null +++ b/public/js/groups-page-topics.c856bf15dc42b2fb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[7206],{42439:(t,e,a)=>{a.r(e),a.d(e,{default:()=>w});var s=a(79984),i=a(78277),n=a(17108),r=a(95002),o=a(87223),l=a(48204),c=a(9716),d=a(20524),u=a(13094),p=a(58753),f=a(54451),m=a(94559),v=a(19413),h=a(26679),g=a(49268),b=a(52505),_=a(33457),C=a(72890);const w={props:{groupId:{type:String},path:{type:String}},components:{"status-card":s.default,"group-about":o.default,"group-status":r.default,"group-members":i.default,"group-compose":n.default,"group-topics":d.default,"group-info-card":u.default,"group-media":l.default,"group-moderation":c.default,"leave-group":p.default,"group-insights":f.default,"search-modal":m.default,"invite-modal":v.default,sidebar:h.default,"group-banner":g.default,"group-header-details":b.default,"group-nav-tabs":_.default,"member-only-warning":C.default},data:function(){return{initialLoad:!1,profile:void 0,group:{},isMember:!1,isAdmin:!1,renderIdx:1,atabs:{moderation_count:0,request_count:0}}},created:function(){this.init()},methods:{init:function(){var t=this;this.initialLoad=!1,axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.profile=e.data,t.fetchGroup()})).catch((function(t){window.location.href="/login?_next="+encodeURIComponent(window.location.href)}))},handleRefresh:function(){this.initialLoad=!1,this.init(),this.renderIdx++},fetchGroup:function(){var t=this;axios.get("/api/v0/groups/"+this.groupId).then((function(e){t.group=e.data,t.isMember=e.data.self.is_member,t.isAdmin=["founder","admin"].includes(e.data.self.role),t.isAdmin&&t.fetchAdminTabs(),t.initialLoad=!0})).catch((function(t){alert("error")}))},fetchAdminTabs:function(){var t=this;axios.get("/api/v0/groups/"+this.groupId+"/atabs").then((function(e){t.atabs=e.data}))}}}},12189:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object}},methods:{timestampFormat:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=new Date(t);return e?a.toDateString()+" · "+a.toLocaleTimeString():a.toDateString()}}}},52327:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object}},data:function(){return{}},methods:{}}},14366:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object}},data:function(){return{isLoaded:!1,feed:[],photos:[],videos:[],albums:[],tab:"photo",tabs:["photo","video","album"],page:{photo:1,video:1,album:1},hasNextPage:{photo:!1,video:!1,album:!1}}},mounted:function(){this.fetchMedia()},methods:{fetchMedia:function(){var t=this;axios.get("/api/v0/groups/media/list",{params:{gid:this.group.id,page:this.page[this.tab],type:this.tab}}).then((function(e){e.data.length>0&&(t.hasNextPage[t.tab]=!0),t.isLoaded=!0,e.data.forEach((function(e){"photo"==e.pf_type&&t.photos.push(e),"video"==e.pf_type&&t.videos.push(e),"photo:album"==e.pf_type&&t.albums.push(e)})),t.page[t.tab]=t.page[t.tab]+1})).catch((function(e){t.hasNextPage[t.tab]=!1,console.log(e.response)}))},loadNextPage:function(){var t=this;axios.get("/api/v0/groups/media/list",{params:{gid:this.group.id,page:this.page[this.tab],type:this.tab}}).then((function(e){0!=e.data.length?(e.data.forEach((function(e){"photo"==e.pf_type&&t.photos.push(e),"video"==e.pf_type&&t.videos.push(e),"photo:album"==e.pf_type&&t.albums.push(e)})),t.page[t.tab]=t.page[t.tab]+1):t.hasNextPage[t.tab]=!1})).catch((function(e){t.hasNextPage[t.tab]=!1}))},formatDate:function(t){return new Date(t).toDateString()},switchTab:function(t){this.tab=t,this.fetchMedia()},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&&e.preview_url.endsWith("storage/no-preview.png")||e.preview_url&&e.preview_url.length,e.url}}}},95871:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(62724),i=a(74692);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 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 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 a=0,s=new Array(e);a{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,s=new Array(e);an});const n={props:{group:{type:Object}},data:function(){return{initalLoad:!1,reports:[],page:1,canLoadMore:!1,tab:"home"}},mounted:function(){this.getReports()},methods:{getReports:function(){var t=this;axios.get("/api/v0/groups/".concat(this.group.id,"/reports/list")).then((function(e){t.reports=e.data,t.initalLoad=!0,t.page++,t.canLoadMore=10==e.data.length}))},loadMoreReports:function(){var t=this;axios.get("/api/v0/groups/".concat(this.group.id,"/reports/list"),{params:{page:this.page}}).then((function(e){var a;(a=t.reports).push.apply(a,s(e.data)),t.page++,t.canLoadMore=10==e.data.length}))},timeago:function(t){return App.util.format.timeAgo(t)},actionMenu:function(t){var e=this;event.currentTarget.blur(),swal({title:"Moderator Action",dangerMode:!0,text:"Please select an action to take, press ESC to close",buttons:{ignore:{text:"Ignore",className:"btn-warning",value:"ignore"},cw:{text:"NSFW",className:"btn-warning",value:"cw"},delete:{text:"Delete",className:"btn-danger",value:"delete"}}}).then((function(a){switch(a){case"ignore":axios.post("/api/v0/groups/".concat(e.group.id,"/report/action"),{action:"ignore",id:e.reports[t].id}).then((function(a){var s=e.reports[t];e.$emit("decrement",s.total_count),e.reports.splice(t,1),e.$bvToast.toast("Ignored and closed moderation report",{title:"Moderation Action",autoHideDelay:5e3,appendToast:!0})}));break;case"cw":axios.post("/api/v0/groups/".concat(e.group.id,"/report/action"),{action:"cw",id:e.reports[t].id}).then((function(a){var s=e.reports[t];e.$emit("decrement",s.total_count),e.reports.splice(t,1),e.$bvToast.toast("Succesfully applied content warning and closed moderation report",{title:"Moderation Action",autoHideDelay:5e3,appendToast:!0})}));break;case"delete":swal("Oops, this is embarassing!","We have not implemented this moderation action yet.","error")}}))}}}},44128:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object}},data:function(){return{feed:[]}},mounted:function(){this.fetchTopics()},methods:{fetchTopics:function(){var t=this;axios.get("/api/v0/groups/topics/list",{params:{gid:this.group.id}}).then((function(e){t.feed=e.data}))}}}},52070:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object},profile:{type:Object}},data:function(){return{limitsLoaded:!1,limits:{can_post:!0,can_comment:!0,can_like:!0},updated:null,savingChanges:!1}},methods:{fetchInteractionLimits:function(){var t=this;axios.get("/api/v0/groups/".concat(this.group.id,"/members/interaction-limits"),{params:{profile_id:this.profile.id}}).then((function(e){t.limits=e.data.limits,t.updated=e.data.updated_at,t.limitsLoaded=!0})).catch((function(e){t.$refs.home.hide(),swal("Oops!","Cannot fetch interaction limits at this time, please try again later.","error")}))},open:function(t){this.loaded=!0,this.$refs.home.show(),this.fetchInteractionLimits()},formatDate:function(t){return new Date(t).toDateString()},saveChanges:function(){var t=this;event.currentTarget.blur(),this.savingChanges=!0,axios.post("/api/v0/groups/".concat(this.group.id,"/members/interaction-limits"),{profile_id:this.profile.id,can_post:this.limits.can_post,can_comment:this.limits.can_comment,can_like:this.limits.can_like}).then((function(e){t.savingChanges=!1,t.$refs.home.hide(),t.$bvToast.toast("Updated interaction limits for ".concat(t.profile.username),{title:"Success",variant:"success",autoHideDelay:5e3})})).catch((function(e){t.savingChanges=!1,t.$refs.home.hide(),422==e.response.status&&"limit_reached"==e.response.data.error?swal("Limit Reached","You cannot add any more member limitations","info"):swal("Oops!","An error occured while processing this request, please try again later.","error")}))}}}},79490:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-feed-component"},[e("div",{staticClass:"row border-bottom m-0 p-0"},[e("sidebar"),t._v(" "),e("div",{staticClass:"col-12 col-md-9 px-md-0"},[e("div",{staticClass:"bg-white mb-3 border-bottom"},[e("div",[e("group-banner",{attrs:{group:t.group}}),t._v(" "),e("group-header-details",{attrs:{group:t.group,isAdmin:t.isAdmin,isMember:t.isMember},on:{refresh:t.handleRefresh}}),t._v(" "),e("group-nav-tabs",{attrs:{group:t.group,isAdmin:t.isAdmin,isMember:t.isMember,atabs:t.atabs}})],1)]),t._v(" "),t.initialLoad?[e("div",{staticClass:"container-xl group-feed-component-body"},[t.initialLoad&&t.group.self.is_member?[e("group-topics",{key:t.renderIdx,attrs:{group:t.group,profile:t.profile}})]:e("member-only-warning")],2)]:e("div",[e("p",{staticClass:"text-center mt-5 pt-5 font-weight-bold"},[t._v("Loading...")])])],2)],1)])},i=[]},91722:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-about-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-7"},[e("div",{staticClass:"card shadow-none border mt-3 rounded-lg"},[t._m(0),t._v(" "),e("div",{staticClass:"card-body"},[t.group.description&&t.group.description.length>1?e("p",{staticClass:"description",domProps:{innerHTML:t._s(t.group.description)}}):e("p",{staticClass:"description"},[t._v("This group does not have a description.")]),t._v(" "),e("p",{staticClass:"mb-0 font-weight-light text-lighter"},[t._v("Created: "+t._s(t.timestampFormat(t.group.created_at)))])])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-5"},[e("div",{staticClass:"card card-body mt-3 shadow-none border rounded-lg"},["all"==t.group.membership?e("div",{staticClass:"fact"},[t._m(1),t._v(" "),t._m(2)]):t._e(),t._v(" "),"private"==t.group.membership?e("div",{staticClass:"fact"},[t._m(3),t._v(" "),t._m(4)]):t._e(),t._v(" "),t._m(5),t._v(" "),t._m(6),t._v(" "),t._m(7)])])])])},i=[function(){var t=this._self._c;return t("div",{staticClass:"card-header bg-white"},[t("h5",{staticClass:"mb-0"},[this._v("About This Group")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-globe fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Public")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Anyone can see who's in the group and what they post.")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-lock fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Private")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Only members can see who's in the group and what they post.")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact"},[e("div",{staticClass:"fact-icon"},[e("i",{staticClass:"fal fa-eye fa-lg"})]),t._v(" "),e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Visible")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Anyone can find this group.")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact"},[e("div",{staticClass:"fact-icon"},[e("i",{staticClass:"fal fa-map-marker-alt fa-lg"})]),t._v(" "),e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Fediverse")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("This group has not specified a location.")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact mb-0"},[e("div",{staticClass:"fact-icon"},[e("i",{staticClass:"fal fa-users fa-lg"})]),t._v(" "),e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("General")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("This group has not specified a category.")])])])}]},3843:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-insights-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-3 mb-3"},[e("div",{staticClass:"bg-light p-3 border rounded d-flex justify-content-between align-items-center"},[e("p",{staticClass:"h3 font-weight-bold mb-0"},[t._v("124K")]),t._v(" "),e("p",{staticClass:"font-weight-bold text-uppercase text-lighter mb-0"},[t._v("Posts")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-3 mb-3"},[e("div",{staticClass:"bg-light p-3 border rounded d-flex justify-content-between align-items-center"},[e("p",{staticClass:"h3 font-weight-bold mb-0"},[t._v("9K")]),t._v(" "),e("p",{staticClass:"font-weight-bold text-uppercase text-lighter mb-0"},[t._v("Users")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-3 mb-3"},[e("div",{staticClass:"bg-light p-3 border rounded d-flex justify-content-between align-items-center"},[e("p",{staticClass:"h3 font-weight-bold mb-0"},[t._v("1.7M")]),t._v(" "),e("p",{staticClass:"font-weight-bold text-uppercase text-lighter mb-0"},[t._v("Interactions")])])])]),t._v(" "),e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-3 mb-3"},[e("div",{staticClass:"bg-light p-3 border rounded d-flex justify-content-between align-items-center"},[e("p",{staticClass:"h3 font-weight-bold mb-0"},[t._v("50")]),t._v(" "),e("p",{staticClass:"font-weight-bold text-uppercase text-lighter mb-0"},[t._v("Mod Reports")])])])])])}]},78059:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-media-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"card card-body border shadow-sm"},[t._m(0),t._v(" "),t.isLoaded?e("div",[e("div",{staticClass:"mb-5"},[e("button",{staticClass:"btn btn-light mr-2",class:["photo"==t.tab?"text-primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.switchTab("photo")}}},[t._v("\n\t\t\t\t\t\t\tPhotos\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-light mr-2",class:["video"==t.tab?"text-primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.switchTab("video")}}},[t._v("\n\t\t\t\t\t\t\tVideos\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-light mr-2",class:["album"==t.tab?"text-primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.switchTab("album")}}},[t._v("\n\t\t\t\t\t\t\tAlbums\n\t\t\t\t\t\t")])]),t._v(" "),"photo"==t.tab?e("div",{staticClass:"row px-3"},[t._l(t.photos,(function(a,s){return e("div",{staticClass:"m-1"},[e("a",{staticClass:"bh-content",attrs:{href:a.url}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.getMediaSource(a),width:"205",height:"205"}})])])})),t._v(" "),0==t.photos.length?e("div",{staticClass:"col-12 py-5 text-center"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[t._v("No photos found")])]):t._e()],2):t._e(),t._v(" "),"video"==t.tab?e("div",{staticClass:"row px-3"},[t._l(t.videos,(function(a,s){return e("div",{staticClass:"m-1"},[e("a",{staticClass:"bh-content text-decoration-none",attrs:{href:a.url}},[a.media_attachments[0].preview_url.endsWith("no-preview.png")?e("div",{staticClass:"bg-light text-dark d-flex align-items-center justify-content-center border",staticStyle:{width:"205px",height:"205px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("No preview available")])]):e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.getMediaSource(a),width:"205",height:"205"}})])])})),t._v(" "),0==t.videos.length?e("div",{staticClass:"col-12 py-5 text-center"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[t._v("No videos found")])]):t._e()],2):t._e(),t._v(" "),"album"==t.tab?e("div",{staticClass:"row px-3"},[t._l(t.albums,(function(a,s){return e("div",{staticClass:"m-1"},[e("a",{staticClass:"bh-content",attrs:{href:a.url}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.getMediaSource(a),width:"205",height:"205"}})])])})),t._v(" "),0==t.albums.length?e("div",{staticClass:"col-12 py-5 text-center"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[t._v("No albums found")])]):t._e()],2):t._e(),t._v(" "),t.hasNextPage[t.tab]?e("div",{staticClass:"mt-3"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block border",on:{click:t.loadNextPage}},[t._v("Load more")])]):t._e()]):e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{height:"500px"}},[t._m(1)])])])])])},i=[function(){var t=this._self._c;return t("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[t("p",{staticClass:"h4 font-weight-bold mb-0"},[this._v("Media")])])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border text-primary",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},49012:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t,e=this,a=e._self._c;return a("div",{staticClass:"group-members-component"},[a("div",{staticClass:"row justify-content-center"},[a("div",{staticClass:"col-12 col-md-8 mb-5"},[e.isAdmin&&e.requestCount&&!e.hideHeader?a("div",{staticClass:"card card-body border shadow-sm bg-dark text-light mb-4 rounded-pill p-2 pl-3"},[a("div",{staticClass:"d-flex align-items-center justify-content-between"},[a("span",{staticClass:"lead mb-0 text-lighter"},[a("i",{staticClass:"fal fa-exclamation-triangle mr-2 text-warning"}),e._v("\n\t\t\t\t\t\t\tYou have "),a("strong",{staticClass:"text-white"},[e._v(e._s(e.requestCount))]),e._v(" member applications to review\n\t\t\t\t\t\t")]),e._v(" "),a("span",[a("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill btn-sm px-3",on:{click:function(t){return e.reviewApplicants()}}},[e._v("Review")])])])]):e._e(),e._v(" "),a("div",{staticClass:"card card-body border shadow-sm"},[e.hideHeader?e._e():a("div",[a("p",{staticClass:"d-flex align-items-center mb-0"},[a("span",{staticClass:"lead font-weight-bold"},[e._v("Members")]),e._v(" "),a("span",{staticClass:"mx-2"},[e._v("·")]),e._v(" "),a("span",{staticClass:"text-muted"},[e._v(e._s(e.group.member_count))])]),e._v(" "),a("div",{staticClass:"form-group mt-3",staticStyle:{position:"relative"}},[a("i",{staticClass:"fas fa-search fa-lg text-lighter",staticStyle:{position:"absolute",left:"20px",top:"50%",transform:"translateY(-50%)"}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.memberSearchModel,expression:"memberSearchModel"}],staticClass:"form-control form-control-lg bg-light border rounded-pill",staticStyle:{"padding-left":"50px","padding-right":"50px"},attrs:{placeholder:"Find a member"},domProps:{value:e.memberSearchModel},on:{input:function(t){t.target.composing||(e.memberSearchModel=t.target.value)}}}),e._v(" "),a("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill px-3",staticStyle:{position:"absolute",right:"6px",top:"50%",transform:"translateY(-50%)"}},[e._v("Search")])]),e._v(" "),a("hr")]),e._v(" "),"list"==e.tab?a("div",[a("div",{staticClass:"group-members-component-paginated-list py-3"},[a("div",{staticClass:"media align-items-center"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:e.profile.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null===(t=e.profile)||void 0===t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[e._v("\n\t\t\t\t\t\t\t\t\t\t"+e._s(e.profile.username)+"\n\t\t\t\t\t\t\t\t\t\t"),a("span",{staticClass:"member-label rounded ml-1"},[e._v("Me")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Founded group "+e._s(e.formatDate(e.group.created_at)))])])])]),e._v(" "),e.mutual.length>0?a("hr"):e._e(),e._v(" "),e.mutual.length>0?a("div",{staticClass:"group-members-component-paginated-list"},[a("p",{staticClass:"font-weight-bold mb-1"},[e._v("Mutual Friends")]),e._v(" "),e._l(e.mutual,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url,title:t.acct,"data-toggle":"tooltip"}},[e._v(e._s(t.username))]),e._v(" "),"founder"==t.role?a("span",{staticClass:"member-label rounded ml-1"},[e._v("Admin")]):e._e(),e._v(" "),t.local?e._e():a("span",{staticClass:"remote-label rounded ml-1"},[e._v("Remote")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Member since "+e._s(e.formatDate(t.joined)))])]),e._v(" "),a("a",{staticClass:"btn btn-light lead font-weight-bolder px-3 border",attrs:{href:"/account/direct/t/"+t.id}},[a("i",{staticClass:"far fa-comment-dots mr-1"}),e._v(" Message\n\t\t\t\t\t\t\t\t")]),e._v(" "),e.isAdmin?a("b-dropdown",{attrs:{"toggle-class":"btn btn-light font-weight-bold px-3 border ml-2","toggle-tag":"a",lazy:!0,right:"","no-caret":""},scopedSlots:e._u([{key:"button-content",fn:function(){return[a("i",{staticClass:"fas fa-ellipsis-h"})]},proxy:!0}],null,!0)},[e._v(" "),a("b-dropdown-item",{attrs:{href:t.url}},[e._v("View Profile")]),e._v(" "),a("b-dropdown-item",{attrs:{href:"/account/direct/t/"+t.id}},[e._v("Send Message")]),e._v(" "),a("b-dropdown-item",[e._v("View Activity")]),e._v(" "),a("b-dropdown-divider"),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(a){return a.preventDefault(),e.openInteractionLimitModal(t)}}},[e._v("Limit interactions")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold text-danger"}},[e._v("Remove from group")])],1):e._e()],1)}))],2):e._e(),e._v(" "),e.members.length>0?a("hr"):e._e(),e._v(" "),e.members.length>0?a("div",{staticClass:"group-members-component-paginated-list"},[a("p",{staticClass:"font-weight-bold mb-1"},[e._v("Other Members")]),e._v(" "),e._l(e.members,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url,title:t.acct,"data-toggle":"tooltip"}},[e._v(e._s(t.username))]),e._v(" "),t.is_admin?a("span",{staticClass:"member-label rounded ml-1"},[e._v("Admin")]):e._e(),e._v(" "),t.local?e._e():a("span",{staticClass:"remote-label rounded ml-1"},[e._v("Remote")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Member since "+e._s(e.formatDate(t.joined)))])]),e._v(" "),a("button",{staticClass:"btn lead font-weight-bolder px-4 border",class:[t.following?"btn-primary":"btn-light"],on:{click:function(t){return e.follow(s)}}},[t.following?a("span",[e._v("\n\t\t\t\t\t\t\t\t\t\tFollowing\n\t\t\t\t\t\t\t\t\t")]):a("span",[a("i",{staticClass:"fas fa-user-plus mr-2"}),e._v(" Follow\n\t\t\t\t\t\t\t\t\t")])]),e._v(" "),e.isAdmin?a("b-dropdown",{attrs:{"toggle-class":"btn btn-light font-weight-bold px-3 border ml-2","toggle-tag":"a",lazy:!0,right:"","no-caret":""},scopedSlots:e._u([{key:"button-content",fn:function(){return[a("i",{staticClass:"fas fa-ellipsis-h"})]},proxy:!0}],null,!0)},[e._v(" "),a("b-dropdown-item",{attrs:{href:t.url,"link-class":"font-weight-bold"}},[e._v("View Profile")]),e._v(" "),a("b-dropdown-item",{attrs:{href:"/account/direct/t/"+t.id,"link-class":"font-weight-bold"}},[e._v("Send Message")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"}},[e._v("View Activity")]),e._v(" "),a("b-dropdown-divider"),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(a){return a.preventDefault(),e.openInteractionLimitModal(t)}}},[e._v("Limit interactions")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold text-danger"}},[e._v("Remove from group")])],1):e._e()],1)}))],2):e._e(),e._v(" "),e.members.length>0&&e.hasNextPage?a("p",{staticClass:"mt-4"},[a("button",{staticClass:"btn btn-light btn-block border font-weight-bold",on:{click:e.loadNextPage}},[e._v("Load more")])]):e._e()]):e._e(),e._v(" "),"search"==e.tab?a("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{"min-height":"100px"}},[e._m(0)]):e._e(),e._v(" "),"results"==e.tab?a("div",[e.results.length>0?a("div",{staticClass:"group-members-component-paginated-list"},[a("p",{staticClass:"font-weight-bold mb-1"},[e._v("Results")]),e._v(" "),e._l(e.results,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url,title:t.acct,"data-toggle":"tooltip"}},[e._v(e._s(t.username))]),e._v(" "),"founder"==t.role?a("span",{staticClass:"member-label rounded ml-1"},[e._v("Admin")]):e._e(),e._v(" "),t.local?e._e():a("span",{staticClass:"remote-label rounded ml-1"},[e._v("Remote")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Member since "+e._s(e.formatDate(t.joined)))])]),e._v(" "),a("a",{staticClass:"btn btn-light lead font-weight-bolder px-3 border",attrs:{href:"/account/direct/t/"+t.id}},[a("i",{staticClass:"far fa-comment-dots mr-1"}),e._v(" Message\n\t\t\t\t\t\t\t\t")]),e._v(" "),e.isAdmin?a("b-dropdown",{attrs:{"toggle-class":"btn btn-light font-weight-bold px-3 border ml-2","toggle-tag":"a",lazy:!0,right:"","no-caret":""},scopedSlots:e._u([{key:"button-content",fn:function(){return[a("i",{staticClass:"fas fa-ellipsis-h"})]},proxy:!0}],null,!0)},[e._v(" "),a("b-dropdown-item",{attrs:{href:t.url}},[e._v("View Profile")]),e._v(" "),a("b-dropdown-item",{attrs:{href:"/account/direct/t/"+t.id}},[e._v("Send Message")]),e._v(" "),a("b-dropdown-item",[e._v("View Activity")]),e._v(" "),a("b-dropdown-divider"),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(a){return a.preventDefault(),e.openInteractionLimitModal(t)}}},[e._v("Limit interactions")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold text-danger"}},[e._v("Remove from group")])],1):e._e()],1)})),e._v(" "),a("p",{staticClass:"text-center mt-5"},[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:e.backFromSearch}},[e._v("Go back")])])],2):a("div",{staticClass:"text-center text-muted mt-3"},[a("p",{staticClass:"lead"},[e._v("No results found.")]),e._v(" "),a("p",[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:e.backFromSearch}},[e._v("Go back")])])])]):e._e(),e._v(" "),"memberInteractionLimits"==e.tab?a("div",[e.results.length>0?a("div",{staticClass:"group-members-component-paginated-list"},[a("p",{staticClass:"font-weight-bold mb-1"},[e._v("Interaction Limits")]),e._v(" "),e._l(e.results,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[e._v(e._s(t.username))]),e._v(" "),"founder"==t.role?a("span",{staticClass:"member-label rounded ml-1"},[e._v("Admin")]):e._e()]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Member since "+e._s(e.formatDate(t.joined)))])]),e._v(" "),a("a",{staticClass:"btn btn-light lead font-weight-bolder px-3 border",attrs:{href:"/account/direct/t/"+t.id}},[a("i",{staticClass:"far fa-comment-dots mr-1"}),e._v(" Message\n\t\t\t\t\t\t\t\t")]),e._v(" "),e.isAdmin?a("b-dropdown",{attrs:{"toggle-class":"btn btn-light font-weight-bold px-3 border ml-2","toggle-tag":"a",lazy:!0,right:"","no-caret":""},scopedSlots:e._u([{key:"button-content",fn:function(){return[a("i",{staticClass:"fas fa-ellipsis-h"})]},proxy:!0}],null,!0)},[e._v(" "),a("b-dropdown-item",{attrs:{href:t.url}},[e._v("View Profile")]),e._v(" "),a("b-dropdown-item",{attrs:{href:"/account/direct/t/"+t.id}},[e._v("Send Message")]),e._v(" "),a("b-dropdown-item",[e._v("View Activity")]),e._v(" "),a("b-dropdown-divider"),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(a){return a.preventDefault(),e.openInteractionLimitModal(t)}}},[e._v("Limit interactions")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold text-danger"}},[e._v("Remove from group")])],1):e._e()],1)})),e._v(" "),a("p",{staticClass:"text-center mt-5"},[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.backFromSearch.apply(null,arguments)}}},[e._v("Go back")])])],2):a("div",{staticClass:"text-center text-muted mt-3"},[a("p",{staticClass:"lead"},[e._v("No results found.")]),e._v(" "),a("p",[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.backFromSearch.apply(null,arguments)}}},[e._v("Go back")])])])]):e._e(),e._v(" "),"review"==e.tab?a("div",[e.reviewsLoaded?a("div",[a("div",{staticClass:"group-members-component-paginated-list"},[a("div",{staticClass:"d-flex justify-content-between align-items-center"},[a("div",{staticClass:"d-flex"},[a("button",{staticClass:"btn btn-link btn-sm mr-2",on:{click:e.backFromReview}},[a("i",{staticClass:"far fa-chevron-left fa-lg"})]),e._v(" "),a("p",{staticClass:"font-weight-bold mb-0"},[e._v("Review Membership Applicants")])])]),e._v(" "),a("hr"),e._v(" "),e._l(e.applicants,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url,title:t.acct,"data-toggle":"tooltip"}},[e._v(e._s(t.username))]),e._v(" "),t.local?e._e():a("span",{staticClass:"remote-label rounded ml-1"},[e._v("Remote")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0 small"},[a("span",[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(t.followers_count)+" Followers\n\t\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),a("span",{staticClass:"mx-1"},[e._v("·")]),e._v(" "),a("span",[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\tJoined "+e._s(e.formatDate(t.created_at))+"\n\t\t\t\t\t\t\t\t\t\t\t")])])]),e._v(" "),a("button",{staticClass:"btn btn-light lead font-weight-bolder px-3 border",attrs:{type:"button"},on:{click:function(t){return e.handleApplicant(s,"ignore")}}},[a("i",{staticClass:"far fa-times mr-1"}),e._v(" Ignore\n\t\t\t\t\t\t\t\t\t")]),e._v(" "),a("button",{staticClass:"btn btn-danger lead font-weight-bolder px-3 border",attrs:{type:"button"},on:{click:function(t){return e.handleApplicant(s,"reject")}}},[a("i",{staticClass:"far fa-times mr-1"}),e._v(" Reject\n\t\t\t\t\t\t\t\t\t")]),e._v(" "),a("button",{staticClass:"btn btn-primary lead font-weight-bolder px-3 border",attrs:{type:"button"},on:{click:function(t){return e.handleApplicant(s,"approve")}}},[a("i",{staticClass:"far fa-check mr-1"}),e._v(" Approve\n\t\t\t\t\t\t\t\t\t")])])})),e._v(" "),e.applicantsCanLoadMore?a("button",{staticClass:"btn btn-light font-weight-bold btn-block",attrs:{disabled:e.loadingMoreApplicants},on:{click:e.loadMoreApplicants}},[e._v("\n\t\t\t\t\t\t\t\t\tLoad More\n\t\t\t\t\t\t\t\t")]):e._e(),e._v(" "),e.applicants&&e.applicants.length?e._e():a("div",[a("p",{staticClass:"text-center lead mb-0"},[e._v("No content found")]),e._v(" "),a("p",{staticClass:"text-center mb-0"},[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.backFromReview.apply(null,arguments)}}},[e._v("Go back")])])])],2)]):a("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"100px"}},[a("b-spinner",{attrs:{variant:"muted"}})],1)]):e._e(),e._v(" "),"loading"==e.tab?a("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"100px"}},[a("b-spinner",{attrs:{variant:"muted"}})],1):e._e()])])]),e._v(" "),a("group-interaction-limits-modal",{ref:"interactionModal",attrs:{group:e.group,profile:e.activeProfile}})],1)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"text-center text-muted"},[e("div",{staticClass:"spinner-border",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]),t._v(" "),e("p",{staticClass:"lead mb-0 mt-2"},[t._v("Loading results ...")])])}]},45450:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-moderation-component"},[t.initalLoad?e("div",["home"===t.tab?e("div",[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-6 pt-4"},[t._m(0),t._v(" "),t.reports.length?e("div",{staticClass:"list-group"},[t._l(t.reports,(function(a,s){return e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"rounded-circle mr-3",attrs:{src:a.profile.avatar,width:"40",height:"40"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0"},[1==a.total_count?e("a",{staticClass:"font-weight-bold",attrs:{href:a.profile.url}},[t._v(t._s(a.profile.username))]):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:a.profile.url}},[t._v(t._s(a.profile.username))]),t._v(" and "),e("a",{staticClass:"font-weight-bold",attrs:{href:"#"}},[t._v(t._s(a.total_count-1)+" others")])]),t._v("\n\t\t\t\t\t\t\t\t\t\treported\n\t\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold",attrs:{href:"#",id:"report_post:".concat(s)}},[t._v("this post")]),t._v("\n\t\t\t\t\t\t\t\t\t\tas "+t._s(a.type)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0 small"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(a.created_at))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",[t._v("·")]),t._v(" "),e("a",{staticClass:"text-danger font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.actionMenu(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\tActions\n\t\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("b-popover",{attrs:{target:"report_post:".concat(s),triggers:"hover",placement:"bottom","custom-class":"popover-wide"},scopedSlots:t._u([{key:"title",fn:function(){return[e("div",{staticClass:"d-flex justify-content-between"},[e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t@"+t._s(a.status.account.username)+"\n\t\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(a.status.created_at))+"\n\t\t\t\t\t\t\t\t\t\t\t")])])]},proxy:!0}],null,!0)},[t._v(" "),"group:post"==a.status.pf_type?e("div",[a.status.media_attachments.length?e("div",[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:a.status.media_attachments[0].url,width:"100%",height:"300"}})]):e("div",[e("p",{domProps:{innerHTML:t._s(a.status.content)}})])]):"reply-text"==a.status.pf_type?e("div",[e("p",{domProps:{innerHTML:t._s(a.status.content)}})]):e("div",[e("p",[t._v("Cannot generate preview.")])]),t._v(" "),e("p",{staticClass:"mb-1 mt-3"},[e("a",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{href:a.status.url}},[t._v("View Post")])])])],1)])})),t._v(" "),t.canLoadMore?e("div",{staticClass:"list-group-item"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block",on:{click:function(e){return e.preventDefault(),t.loadMoreReports()}}},[t._v("Load more")])]):t._e()],2):e("div",{staticClass:"card card-body shadow-none border rounded-pill"},[e("p",{staticClass:"lead font-weight-bold text-center mb-0"},[t._v("No moderation reports found!")])])])])]):t._e()]):e("div",{staticClass:"col-12 col-md-6 pt-4 d-flex align-items-center justify-content-center"},[t._m(1)])])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("p",{staticClass:"lead mb-0"},[t._v("Latest Mod Reports")]),t._v(" "),e("button",{staticClass:"btn btn-light border font-weight-bold btn-sm rounded shadow-sm"},[e("i",{staticClass:"far fa-redo"})])])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},30820:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-topics-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-8"},[e("div",{staticClass:"card card-body border shadow-sm"},[t._m(0),t._v(" "),t.feed.length?e("div",t._l(t.feed,(function(a,s){return e("div",{},[e("div",{staticClass:"media py-2"},[e("i",{staticClass:"fas fa-hashtag fa-lg text-lighter mr-3 mt-2"}),t._v(" "),e("div",{staticClass:"media-body",class:{"border-bottom":s!=t.feed.length-1}},[e("a",{staticClass:"font-weight-bold mb-1 text-dark",staticStyle:{"font-size":"16px"},attrs:{href:a.url}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(a.name)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-muted",staticStyle:{"font-size":"13px"}},[t._v(t._s(a.count)+" posts in this group")])])])])})),0):e("div",{staticClass:"py-5"},[e("p",{staticClass:"lead text-center font-weight-bold"},[t._v("No topics found")])])])])])])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("p",{staticClass:"h4 font-weight-bold mb-0"},[t._v("Group Topics")]),t._v(" "),e("select",{staticClass:"form-control bg-light rounded-lg border font-weight-bold py-2",staticStyle:{width:"95px"},attrs:{disabled:""}},[e("option",[t._v("All")]),t._v(" "),e("option",[t._v("Pinned")])])])}]},25652:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",[t.profile&&t.profile.hasOwnProperty("avatar")?e("b-modal",{ref:"home",attrs:{"hide-footer":"",centered:"",rounded:"",title:"Limit Interactions","body-class":"rounded"}},[e("div",{staticClass:"media mb-3"},[e("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.profile.url}},[e("img",{staticClass:"rounded-circle border mr-2",attrs:{src:t.profile.avatar,width:"56",height:"56"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[e("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.profile.url}},[t._v(t._s(t.profile.username))]),t._v(" "),"founder"==t.profile.role?e("span",{staticClass:"member-label rounded ml-1"},[t._v("Admin")]):t._e()]),t._v(" "),e("p",{staticClass:"text-muted mb-0"},[t._v("Member since "+t._s(t.formatDate(t.profile.joined)))])])]),t._v(" "),e("div",{staticClass:"w-100 bg-light mb-1 font-weight-bold d-flex justify-content-center align-items-center border rounded",staticStyle:{"min-height":"240px"}},[t.limitsLoaded?e("div",{staticClass:"py-3"},[e("p",{staticClass:"lead mb-0"},[t._v("Interaction Permissions")]),t._v(" "),e("p",{staticClass:"small text-muted"},[t._v("Last updated: "+t._s(t.updated?t.formatDate(t.updated):"Never"))]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.limits.can_post,expression:"limits.can_post"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:t.savingChanges},domProps:{checked:Array.isArray(t.limits.can_post)?t._i(t.limits.can_post,null)>-1:t.limits.can_post},on:{change:function(e){var a=t.limits.can_post,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&t.$set(t.limits,"can_post",a.concat([null])):n>-1&&t.$set(t.limits,"can_post",a.slice(0,n).concat(a.slice(n+1)))}else t.$set(t.limits,"can_post",i)}}}),t._v(" "),e("label",{staticClass:"form-check-label"},[t._v("\n\t\t\t\t\t\tCan create posts\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.limits.can_comment,expression:"limits.can_comment"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:t.savingChanges},domProps:{checked:Array.isArray(t.limits.can_comment)?t._i(t.limits.can_comment,null)>-1:t.limits.can_comment},on:{change:function(e){var a=t.limits.can_comment,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&t.$set(t.limits,"can_comment",a.concat([null])):n>-1&&t.$set(t.limits,"can_comment",a.slice(0,n).concat(a.slice(n+1)))}else t.$set(t.limits,"can_comment",i)}}}),t._v(" "),e("label",{staticClass:"form-check-label"},[t._v("\n\t\t\t\t\t\tCan create comments\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.limits.can_like,expression:"limits.can_like"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:t.savingChanges},domProps:{checked:Array.isArray(t.limits.can_like)?t._i(t.limits.can_like,null)>-1:t.limits.can_like},on:{change:function(e){var a=t.limits.can_like,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&t.$set(t.limits,"can_like",a.concat([null])):n>-1&&t.$set(t.limits,"can_like",a.slice(0,n).concat(a.slice(n+1)))}else t.$set(t.limits,"can_like",i)}}}),t._v(" "),e("label",{staticClass:"form-check-label"},[t._v("\n\t\t\t\t\t\tCan like posts and comments\n\t\t\t\t\t")])]),t._v(" "),e("hr"),t._v(" "),e("button",{staticClass:"btn btn-primary font-weight-bold float-right",staticStyle:{width:"130px"},attrs:{disabled:t.savingChanges},on:{click:function(e){return e.preventDefault(),t.saveChanges.apply(null,arguments)}}},[t.savingChanges?e("b-spinner",{attrs:{variant:"light",small:""}}):e("span",[t._v("Save changes")])],1)]):e("div",{staticClass:"d-flex align-items-center flex-column"},[e("b-spinner",{attrs:{variant:"muted"}}),t._v(" "),e("p",{staticClass:"pt-3 small text-muted font-weight-bold"},[t._v("Loading interaction limits...")])],1)])]):t._e()],1)},i=[]},72157:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"member-only-warning"},[e("div",{staticClass:"member-only-warning-wrapper"},[e("h3",[t._v("Content unavailable")]),t._v(" "),e("p",[t._v("You need to join this Group before you can access this content.")])])])}]},63605:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-feed-component-body{min-height:40vh}",""]);const n=i},13017:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-about-component[data-v-a3964586]{margin-bottom:50vh}.group-about-component .title[data-v-a3964586]{font-size:16px;font-weight:700}.group-about-component .description[data-v-a3964586]{color:#6c757d;font-size:15px;font-weight:400;margin-bottom:30px;white-space:break-spaces}.group-about-component .fact[data-v-a3964586]{align-items:center;display:flex;margin-bottom:1.5rem}.group-about-component .fact-body[data-v-a3964586]{flex:1}.group-about-component .fact-icon[data-v-a3964586]{text-align:center;width:50px}.group-about-component .fact-title[data-v-a3964586]{font-size:17px;font-weight:500;margin-bottom:0}.group-about-component .fact-subtitle[data-v-a3964586]{color:#6c757d;font-size:14px;margin-bottom:0}",""]);const n=i},66600:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,"",""]);const n=i},2874:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,"",""]);const n=i},26873:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-members-component{min-height:100vh}.group-members-component .member-label{background:rgba(137,196,244,.2);border:1px solid rgba(137,196,244,.3);color:#4b77be;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}.group-members-component .remote-label{background:#fef3c7;border:1px solid #fcd34d;color:#b45309;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}",""]);const n=i},91599:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-moderation-component{margin-bottom:100px;min-height:80vh}.popover-wide{min-width:200px!important}",""]);const n=i},47273:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-topics-component{margin-bottom:50vh}",""]);const n=i},65834:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".member-only-warning[data-v-608810bc],.member-only-warning-wrapper[data-v-608810bc]{display:flex;justify-content:center}.member-only-warning-wrapper[data-v-608810bc]{align-items:center;border:1px solid var(--border-color);border-radius:10px;flex-direction:column;max-width:550px;padding:4rem 1rem;width:100%}.member-only-warning-wrapper h3[data-v-608810bc]{font-weight:700;letter-spacing:-1px}.member-only-warning-wrapper p[data-v-608810bc]{font-size:1.2em;margin-bottom:0}",""]);const n=i},51568:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(63605),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},19826:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(13017),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},35081:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(66600),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},51785:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(2874),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},81766:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(26873),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},45550:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(91599),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},79024:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(47273),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},4761:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(85072),i=a.n(s),n=a(65834),r={insert:"head",singleton:!1};i()(n.default,r);const o=n.default.locals||{}},9895:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(50259),i=a(51620),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(93863);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},87223:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(1281),i=a(19264),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(24543);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,"a3964586",null).exports},54451:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(43338),i=a(60040),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(65594);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,"43b239a3",null).exports},48204:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(49696),i=a(56307),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(30676);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},78277:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(22767),i=a(21049),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(5083);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},9716:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(40443),i=a(61095),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(98593);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},20524:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(87301),i=a(15859),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(17623);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},62724:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(43355),i=a(36235),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const r=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},72890:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});var s=a(50678);a(12376);const i=(0,a(14486).default)({},s.render,s.staticRenderFns,!1,null,"608810bc",null).exports},51620:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(42439),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},19264:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(12189),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},60040:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(52327),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},56307:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(14366),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},21049:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(95871),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},61095:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(2336),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},15859:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(44128),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},36235:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(52070),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},50259:(t,e,a)=>{a.r(e);var s=a(79490),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},1281:(t,e,a)=>{a.r(e);var s=a(91722),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},43338:(t,e,a)=>{a.r(e);var s=a(3843),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},49696:(t,e,a)=>{a.r(e);var s=a(78059),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},22767:(t,e,a)=>{a.r(e);var s=a(49012),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},40443:(t,e,a)=>{a.r(e);var s=a(45450),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},87301:(t,e,a)=>{a.r(e);var s=a(30820),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},43355:(t,e,a)=>{a.r(e);var s=a(25652),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},50678:(t,e,a)=>{a.r(e);var s=a(72157),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},93863:(t,e,a)=>{a.r(e);var s=a(51568),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},24543:(t,e,a)=>{a.r(e);var s=a(19826),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},65594:(t,e,a)=>{a.r(e);var s=a(35081),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},30676:(t,e,a)=>{a.r(e);var s=a(51785),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},5083:(t,e,a)=>{a.r(e);var s=a(81766),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},98593:(t,e,a)=>{a.r(e);var s=a(45550),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},17623:(t,e,a)=>{a.r(e);var s=a(79024),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},12376:(t,e,a)=>{a.r(e);var s=a(4761),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)}}]); \ No newline at end of file diff --git a/public/js/groups-page.6c5fbadccf05f783.js b/public/js/groups-page.6c5fbadccf05f783.js new file mode 100644 index 000000000..678d0ad5c --- /dev/null +++ b/public/js/groups-page.6c5fbadccf05f783.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[529],{43209:(t,e,a)=>{a.r(e),a.d(e,{default:()=>C});var s=a(79984),i=a(78277),n=a(17108),o=a(95002),r=a(87223),l=a(48204),c=a(9716),d=a(20524),u=a(13094),p=a(58753),m=a(54451),f=a(94559),v=a(19413),h=a(26679),g=a(49268);function b(t){return function(t){if(Array.isArray(t))return _(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 _(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 _(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 _(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,s=new Array(e);a1&&void 0!==arguments[1]&&arguments[1],a=new Date(t);return e?a.toDateString()+" · "+a.toLocaleTimeString():a.toDateString()},switchTab:function(t){window.scrollTo(0,0),"feed"==t&&this.permalinkMode&&(this.permalinkMode=!1,this.fetchFeed());var e="feed"==t?this.group.url:this.group.url+"/"+t;history.pushState(t,null,e),this.tab=t},joinGroup:function(){var t=this;this.requestingMembership=!0,axios.post("/api/v0/groups/"+this.groupId+"/join").then((function(e){t.requestingMembership=!1,t.group=e.data,t.fetchGroup(),t.fetchFeed()})).catch((function(e){var a=e.response;422==a.status&&(t.tab="feed",history.pushState("",null,t.group.url),t.requestingMembership=!1,swal("Oops!",a.data.error,"error"))}))},cancelJoinRequest:function(){var t=this;window.confirm("Are you sure you want to cancel your request to join this group?")&&axios.post("/api/v0/groups/"+this.groupId+"/cjr").then((function(e){t.requestingMembership=!1})).catch((function(t){var e=t.response;422==e.status&&swal("Oops!",e.data.error,"error")}))},leaveGroup:function(){var t=this;window.confirm("Are you sure you want to leave this group? Any content you shared will remain accessible. You won't be able to rejoin for 24 hours.")&&axios.post("/api/v0/groups/"+this.groupId+"/leave").then((function(e){t.tab="feed",history.pushState("",null,t.group.url),t.feed=[],t.isMember=!1,t.isAdmin=!1,t.group.self.role=null,t.group.self.is_member=!1}))},pushNewStatus:function(t){this.feed.unshift(t)},commentFocus:function(t){this.feed[t].showCommentDrawer=!0},statusDelete:function(t){this.feed.splice(t,1)},infiniteFeed:function(t){var e=this;if(this.feed.length<3)t.complete();else{var a="/api/v0/groups/"+this.groupId+"/feed";axios.get(a,{params:{limit:6,max_id:this.maxId}}).then((function(a){if(a.data.length){var s,i,n=a.data.filter((function(t){return-1==e.ids.indexOf(t.id)}));e.maxId=n[n.length-1].id,(s=e.feed).push.apply(s,b(n)),(i=e.ids).push.apply(i,b(n.map((function(t){return t.id})))),setTimeout((function(){e.initObservers()}),1e3),t.loaded()}else t.complete()}))}},decrementModCounter:function(t){var e=this.atabs.moderation_count;0!=e&&(this.atabs.moderation_count=e-t)},setModCounter:function(t){this.atabs.moderation_count=t},decrementJoinRequestCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=this.atabs.request_count;this.atabs.request_count=e-t},incrementMemberCount:function(){var t=this.group.member_count;this.group.member_count=t+1},copyLink:function(){window.App.util.clipboard(this.group.url),this.$bvToast.toast("Succesfully copied group url to clipboard",{title:"Success",variant:"success",autoHideDelay:5e3})},reportGroup:function(){var t=this;swal("Report Group","Are you sure you want to report this group?").then((function(e){e&&(location.href="/i/report?id=".concat(t.group.id,"&type=group"))}))},showSearchModal:function(){event.currentTarget.blur(),this.$refs.searchModal.open()},showInviteModal:function(){event.currentTarget.blur(),this.$refs.inviteModal.open()},showLikesModal:function(t){var e=this;this.likesId=this.feed[t].id,axios.get("/api/v0/groups/"+this.groupId+"/likes/"+this.likesId).then((function(t){e.likes=t.data,e.likesPage++,e.$refs.likeBox.show()}))},infiniteLikesHandler:function(t){var e=this;this.likes.length<3?t.complete():axios.get("/api/v0/groups/"+this.groupId+"/likes/"+this.likesId,{params:{page:this.likesPage}}).then((function(a){var s;a.data.length>0?((s=e.likes).push.apply(s,b(a.data)),e.likesPage++,10!=a.data.length?t.complete():t.loaded()):t.complete()}))}}}},12189:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object}},methods:{timestampFormat:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=new Date(t);return e?a.toDateString()+" · "+a.toLocaleTimeString():a.toDateString()}}}},52327:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object}},data:function(){return{}},methods:{}}},14366:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object}},data:function(){return{isLoaded:!1,feed:[],photos:[],videos:[],albums:[],tab:"photo",tabs:["photo","video","album"],page:{photo:1,video:1,album:1},hasNextPage:{photo:!1,video:!1,album:!1}}},mounted:function(){this.fetchMedia()},methods:{fetchMedia:function(){var t=this;axios.get("/api/v0/groups/media/list",{params:{gid:this.group.id,page:this.page[this.tab],type:this.tab}}).then((function(e){e.data.length>0&&(t.hasNextPage[t.tab]=!0),t.isLoaded=!0,e.data.forEach((function(e){"photo"==e.pf_type&&t.photos.push(e),"video"==e.pf_type&&t.videos.push(e),"photo:album"==e.pf_type&&t.albums.push(e)})),t.page[t.tab]=t.page[t.tab]+1})).catch((function(e){t.hasNextPage[t.tab]=!1,console.log(e.response)}))},loadNextPage:function(){var t=this;axios.get("/api/v0/groups/media/list",{params:{gid:this.group.id,page:this.page[this.tab],type:this.tab}}).then((function(e){0!=e.data.length?(e.data.forEach((function(e){"photo"==e.pf_type&&t.photos.push(e),"video"==e.pf_type&&t.videos.push(e),"photo:album"==e.pf_type&&t.albums.push(e)})),t.page[t.tab]=t.page[t.tab]+1):t.hasNextPage[t.tab]=!1})).catch((function(e){t.hasNextPage[t.tab]=!1}))},formatDate:function(t){return new Date(t).toDateString()},switchTab:function(t){this.tab=t,this.fetchMedia()},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&&e.preview_url.endsWith("storage/no-preview.png")||e.preview_url&&e.preview_url.length,e.url}}}},95871:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(62724),i=a(74692);function n(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 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 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 a=0,s=new Array(e);a{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,s=new Array(e);an});const n={props:{group:{type:Object}},data:function(){return{initalLoad:!1,reports:[],page:1,canLoadMore:!1,tab:"home"}},mounted:function(){this.getReports()},methods:{getReports:function(){var t=this;axios.get("/api/v0/groups/".concat(this.group.id,"/reports/list")).then((function(e){t.reports=e.data,t.initalLoad=!0,t.page++,t.canLoadMore=10==e.data.length}))},loadMoreReports:function(){var t=this;axios.get("/api/v0/groups/".concat(this.group.id,"/reports/list"),{params:{page:this.page}}).then((function(e){var a;(a=t.reports).push.apply(a,s(e.data)),t.page++,t.canLoadMore=10==e.data.length}))},timeago:function(t){return App.util.format.timeAgo(t)},actionMenu:function(t){var e=this;event.currentTarget.blur(),swal({title:"Moderator Action",dangerMode:!0,text:"Please select an action to take, press ESC to close",buttons:{ignore:{text:"Ignore",className:"btn-warning",value:"ignore"},cw:{text:"NSFW",className:"btn-warning",value:"cw"},delete:{text:"Delete",className:"btn-danger",value:"delete"}}}).then((function(a){switch(a){case"ignore":axios.post("/api/v0/groups/".concat(e.group.id,"/report/action"),{action:"ignore",id:e.reports[t].id}).then((function(a){var s=e.reports[t];e.$emit("decrement",s.total_count),e.reports.splice(t,1),e.$bvToast.toast("Ignored and closed moderation report",{title:"Moderation Action",autoHideDelay:5e3,appendToast:!0})}));break;case"cw":axios.post("/api/v0/groups/".concat(e.group.id,"/report/action"),{action:"cw",id:e.reports[t].id}).then((function(a){var s=e.reports[t];e.$emit("decrement",s.total_count),e.reports.splice(t,1),e.$bvToast.toast("Succesfully applied content warning and closed moderation report",{title:"Moderation Action",autoHideDelay:5e3,appendToast:!0})}));break;case"delete":swal("Oops, this is embarassing!","We have not implemented this moderation action yet.","error")}}))}}}},44128:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object}},data:function(){return{feed:[]}},mounted:function(){this.fetchTopics()},methods:{fetchTopics:function(){var t=this;axios.get("/api/v0/groups/topics/list",{params:{gid:this.group.id}}).then((function(e){t.feed=e.data}))}}}},52070:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});const s={props:{group:{type:Object},profile:{type:Object}},data:function(){return{limitsLoaded:!1,limits:{can_post:!0,can_comment:!0,can_like:!0},updated:null,savingChanges:!1}},methods:{fetchInteractionLimits:function(){var t=this;axios.get("/api/v0/groups/".concat(this.group.id,"/members/interaction-limits"),{params:{profile_id:this.profile.id}}).then((function(e){t.limits=e.data.limits,t.updated=e.data.updated_at,t.limitsLoaded=!0})).catch((function(e){t.$refs.home.hide(),swal("Oops!","Cannot fetch interaction limits at this time, please try again later.","error")}))},open:function(t){this.loaded=!0,this.$refs.home.show(),this.fetchInteractionLimits()},formatDate:function(t){return new Date(t).toDateString()},saveChanges:function(){var t=this;event.currentTarget.blur(),this.savingChanges=!0,axios.post("/api/v0/groups/".concat(this.group.id,"/members/interaction-limits"),{profile_id:this.profile.id,can_post:this.limits.can_post,can_comment:this.limits.can_comment,can_like:this.limits.can_like}).then((function(e){t.savingChanges=!1,t.$refs.home.hide(),t.$bvToast.toast("Updated interaction limits for ".concat(t.profile.username),{title:"Success",variant:"success",autoHideDelay:5e3})})).catch((function(e){t.savingChanges=!1,t.$refs.home.hide(),422==e.response.status&&"limit_reached"==e.response.data.error?swal("Limit Reached","You cannot add any more member limitations","info"):swal("Oops!","An error occured while processing this request, please try again later.","error")}))}}}},30:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-feed-component"},[t.initalLoad?[e("div",{staticClass:"row border-bottom m-0 p-0"},[e("sidebar"),t._v(" "),e("div",{staticClass:"col-12 col-md-9 px-md-0"},[e("div",{staticClass:"bg-white mb-3 border-bottom"},[e("div",{},[e("group-banner",{attrs:{group:t.group}}),t._v(" "),e("div",{staticClass:"col-12 group-feed-component-header px-3 px-md-5"},[e("div",{staticClass:"media align-items-end"},[t.group.metadata&&t.group.metadata.hasOwnProperty("avatar")?e("img",{staticClass:"bg-white mx-4 rounded-circle border shadow p-1",staticStyle:{"object-fit":"cover"},style:{"margin-top":t.group.metadata&&t.group.metadata.hasOwnProperty("header")&&t.group.metadata.header.url?"-100px":"0"},attrs:{src:t.group.metadata.avatar.url,width:"169",height:"169"}}):t._e(),t._v(" "),e("div",{staticClass:"media-body"},[e("h3",{staticClass:"d-flex align-items-start"},[e("span",[t._v(t._s(t.group.name.slice(0,118)))]),t._v(" "),t.group.verified?e("sup",{staticClass:"fa-stack ml-n2",attrs:{title:"Verified Group","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-circle fa-stack-1x fa-lg",staticStyle:{color:"#22a7f0cc","font-size":"18px"}}),t._v(" "),e("i",{staticClass:"fas fa-check fa-stack-1x text-white",staticStyle:{"font-size":"10px"}})]):t._e()]),t._v(" "),e("p",{staticClass:"text-muted mb-0",staticStyle:{"font-weight":"300"}},[e("span",[e("i",{staticClass:"fas fa-globe mr-1"}),t._v("\n "+t._s("all"==t.group.membership?"Public Group":"Private Group")+"\n ")]),t._v(" "),e("span",{staticClass:"mx-2"},[t._v("\n ·\n ")]),t._v(" "),e("span",[t._v(t._s(1==t.group.member_count?t.group.member_count+" Member":t.group.member_count+" Members"))]),t._v(" "),e("span",{staticClass:"mx-2"},[t._v("\n ·\n ")]),t._v(" "),t.group.local?e("span",{staticClass:"rounded member-label"},[t._v("Local")]):e("span",{staticClass:"rounded remote-label"},[t._v("Remote")]),t._v(" "),t.group.self&&t.group.self.hasOwnProperty("role")&&t.group.self.role?e("span",[e("span",{staticClass:"mx-2"},[t._v("\n ·\n ")]),t._v(" "),e("span",{staticClass:"rounded member-label"},[t._v(t._s(t.group.self.role))])]):t._e()])])]),t._v(" "),e("div",[t.isMember||t.group.self.is_requested?!t.isMember&&t.group.self.is_requested?e("button",{staticClass:"btn btn-light border cta-btn font-weight-bold",on:{click:function(e){return e.preventDefault(),t.cancelJoinRequest.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-user-clock mr-1"}),t._v(" Requested to Join\n ")]):t.isAdmin||!t.isMember||t.group.self.is_requested?t._e():e("button",{staticClass:"btn btn-light border cta-btn font-weight-bold",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.leaveGroup.apply(null,arguments)}}},[e("i",{staticClass:"fas sign-out-alt mr-1"}),t._v(" Leave Group\n ")]):e("button",{staticClass:"btn btn-primary cta-btn font-weight-bold",attrs:{disabled:t.requestingMembership},on:{click:t.joinGroup}},[t.requestingMembership?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("span",[t._v("\n "+t._s("all"==t.group.membership?"Join":"Request Membership")+"\n ")])])])]),t._v(" "),e("div",{staticClass:"col-12 border-top group-feed-component-menu px-5"},[e("ul",{staticClass:"nav font-weight-bold group-feed-component-menu-nav"},[e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:"about"==t.tab},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchTab("about")}}},[t._v("About")])]),t._v(" "),e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:"feed"==t.tab},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchTab("feed")}}},[t._v("Feed")])]),t._v(" "),t.group.self.is_member?e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:"topics"==t.tab},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchTab("topics")}}},[t._v("Topics")])]):t._e(),t._v(" "),t.group.self.is_member?e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:"members"==t.tab},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchTab("members")}}},[t._v("\n Members\n "),t.group.self.is_member&&t.isAdmin&&t.atabs.request_count?e("span",{staticClass:"badge badge-danger rounded-pill ml-2",staticStyle:{height:"20px",padding:"4px 8px","font-size":"11px"}},[t._v(t._s(t.atabs.request_count))]):t._e()])]):t._e(),t._v(" "),t.group.self.is_member?e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:"media"==t.tab},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchTab("media")}}},[t._v("Media")])]):t._e(),t._v(" "),t.group.self.is_member&&t.isAdmin?e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link d-flex align-items-top",class:{active:"moderation"==t.tab},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchTab("moderation")}}},[e("span",{staticClass:"mr-2"},[t._v("Moderation")]),t._v(" "),t.atabs.moderation_count?e("span",{staticClass:"badge badge-danger rounded-pill",staticStyle:{height:"20px",padding:"4px 8px","font-size":"11px"}},[t._v(t._s(t.atabs.moderation_count))]):t._e()])]):t._e()]),t._v(" "),e("div",[t.group.self.is_member?e("button",{staticClass:"btn btn-light btn-sm border px-3 rounded-pill mr-2",on:{click:t.showSearchModal}},[e("i",{staticClass:"far fa-search"})]):t._e(),t._v(" "),e("div",{staticClass:"dropdown d-inline"},[t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.copyLink.apply(null,arguments)}}},[t._v("\n Copy Group Link\n ")]),t._v(" "),e("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showInviteModal.apply(null,arguments)}}},[t._v("\n Invite friends\n ")]),t._v(" "),t.isAdmin?t._e():e("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportGroup.apply(null,arguments)}}},[t._v("\n Report Group\n ")]),t._v(" "),t.isAdmin?e("a",{staticClass:"dropdown-item",attrs:{href:t.group.url+"/settings"}},[t._v("\n Settings\n ")]):t._e()])])])])],1)]),t._v(" "),e("div",{staticClass:"container-xl group-feed-component-body"},[e("keep-alive",["feed"==t.tab?e("div",{staticClass:"row mb-5"},[t.permalinkMode?e("div",{staticClass:"col-12 col-md-7 mt-3"},[e("group-status",{attrs:{prestatus:t.status,profile:t.profile,"group-id":t.groupId,"permalink-mode":!0}})],1):e("div",{staticClass:"col-12 col-md-7 mt-3"},[t.group.self.is_member?e("div",[t.initalLoad?e("group-compose",{attrs:{profile:t.profile,"group-id":t.groupId},on:{"new-status":t.pushNewStatus}}):t._e(),t._v(" "),0==t.feed.length?e("div",{staticClass:"mt-3"},[e("div",{staticClass:"card card-body shadow-none border d-flex align-items-center justify-content-center",staticStyle:{height:"200px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("No posts yet!")])])]):e("div",{staticClass:"group-timeline"},[e("p",{staticClass:"font-weight-bold mb-1"},[t._v("Recent Posts")]),t._v(" "),t._l(t.feed,(function(a,s){return e("group-status",{key:"gs:"+a.id+s,attrs:{prestatus:a,profile:t.profile,"group-id":t.groupId},on:{"comment-focus":function(e){return t.commentFocus(s)},"status-delete":function(e){return t.statusDelete(s)},"likes-modal":function(e){return t.showLikesModal(s)}}})})),t._v(" "),e("b-modal",{ref:"likeBox",attrs:{size:"sm",centered:"","hide-footer":"",title:"Likes","body-class":"list-group-flush p-0"}},[e("div",{staticClass:"list-group py-1",staticStyle:{"max-height":"300px","overflow-y":"auto"}},[t._l(t.likes,(function(a,s){return e("div",{key:"modal_likes_"+s,staticClass:"list-group-item border-top-0 border-left-0 border-right-0 py-2",class:{"border-bottom-0":s+1==t.likes.length}},[e("div",{staticClass:"media align-items-center"},[e("a",{attrs:{href:a.url}},[e("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:a.avatar,alt:a.username+"’s avatar",width:"30px",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:a.url}},[t._v("\n "+t._s(a.username)+"\n ")])]),t._v(" "),a.local?e("p",{staticClass:"text-muted mb-0 text-truncate",staticStyle:{"font-size":"14px"}},[t._v("\n "+t._s(a.display_name)+"\n ")]):e("p",{staticClass:"text-muted mb-0 text-truncate mr-3",staticStyle:{"font-size":"14px"},attrs:{title:a.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(a.acct.split("@")[0]))]),e("span",{staticClass:"text-lighter"},[t._v("@"+t._s(a.acct.split("@")[1]))])])])])])})),t._v(" "),e("infinite-loading",{attrs:{distance:800,spinner:"spiral"},on:{infinite:t.infiniteLikesHandler}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],2)]),t._v(" "),t.feed.length>2?e("div",{attrs:{distance:800}},[e("infinite-loading",{on:{infinite:t.infiniteFeed}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1):t._e()],2)],1):e("div",[e("div",{staticClass:"card card-body mt-3 shadow-none border d-flex align-items-center justify-content-center",staticStyle:{height:"100px"}},[e("p",{staticClass:"lead mb-0"},[t._v("Join to participate in this group.")])])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-5"},[e("group-info-card",{attrs:{group:t.group}})],1)]):"about"==t.tab?e("group-about",{attrs:{group:t.group}}):"media"==t.tab?e("group-media",{attrs:{group:t.group}}):"members"==t.tab?e("group-members",{attrs:{group:t.group,"request-count":t.atabs.request_count,"is-admin":t.isAdmin,profile:t.profile},on:{decrementrc:t.decrementJoinRequestCount,incrementMemberCount:t.incrementMemberCount}}):"topics"==t.tab?e("group-topics",{attrs:{group:t.group}}):"insights"==t.tab?e("group-insights",{attrs:{group:t.group}}):"moderation"==t.tab?e("group-moderation",{attrs:{group:t.group},on:{decrement:t.decrementModCounter}}):e("div",[e("p",{staticClass:"lead text-center font-weight-bold mt-5 text-muted"},[t._v("No content found")])])],1),t._v(" "),e("search-modal",{ref:"searchModal",attrs:{group:t.group,profile:t.profile}}),t._v(" "),e("invite-modal",{ref:"inviteModal",attrs:{group:t.group,profile:t.profile}})],1)])],1)]:e("div",[e("p",{staticClass:"text-center mt-5 pt-5 font-weight-bold"},[t._v("Loading...")])])],2)},i=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-light btn-sm border px-3 rounded-pill dropdown-toggle",attrs:{"data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[t("i",{staticClass:"far fa-cog"})])}]},91722:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-about-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-7"},[e("div",{staticClass:"card shadow-none border mt-3 rounded-lg"},[t._m(0),t._v(" "),e("div",{staticClass:"card-body"},[t.group.description&&t.group.description.length>1?e("p",{staticClass:"description",domProps:{innerHTML:t._s(t.group.description)}}):e("p",{staticClass:"description"},[t._v("This group does not have a description.")]),t._v(" "),e("p",{staticClass:"mb-0 font-weight-light text-lighter"},[t._v("Created: "+t._s(t.timestampFormat(t.group.created_at)))])])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-5"},[e("div",{staticClass:"card card-body mt-3 shadow-none border rounded-lg"},["all"==t.group.membership?e("div",{staticClass:"fact"},[t._m(1),t._v(" "),t._m(2)]):t._e(),t._v(" "),"private"==t.group.membership?e("div",{staticClass:"fact"},[t._m(3),t._v(" "),t._m(4)]):t._e(),t._v(" "),t._m(5),t._v(" "),t._m(6),t._v(" "),t._m(7)])])])])},i=[function(){var t=this._self._c;return t("div",{staticClass:"card-header bg-white"},[t("h5",{staticClass:"mb-0"},[this._v("About This Group")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-globe fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Public")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Anyone can see who's in the group and what they post.")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-lock fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Private")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Only members can see who's in the group and what they post.")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact"},[e("div",{staticClass:"fact-icon"},[e("i",{staticClass:"fal fa-eye fa-lg"})]),t._v(" "),e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Visible")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Anyone can find this group.")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact"},[e("div",{staticClass:"fact-icon"},[e("i",{staticClass:"fal fa-map-marker-alt fa-lg"})]),t._v(" "),e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Fediverse")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("This group has not specified a location.")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact mb-0"},[e("div",{staticClass:"fact-icon"},[e("i",{staticClass:"fal fa-users fa-lg"})]),t._v(" "),e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("General")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("This group has not specified a category.")])])])}]},3843:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){this._self._c;return this._m(0)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-insights-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-3 mb-3"},[e("div",{staticClass:"bg-light p-3 border rounded d-flex justify-content-between align-items-center"},[e("p",{staticClass:"h3 font-weight-bold mb-0"},[t._v("124K")]),t._v(" "),e("p",{staticClass:"font-weight-bold text-uppercase text-lighter mb-0"},[t._v("Posts")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-3 mb-3"},[e("div",{staticClass:"bg-light p-3 border rounded d-flex justify-content-between align-items-center"},[e("p",{staticClass:"h3 font-weight-bold mb-0"},[t._v("9K")]),t._v(" "),e("p",{staticClass:"font-weight-bold text-uppercase text-lighter mb-0"},[t._v("Users")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-3 mb-3"},[e("div",{staticClass:"bg-light p-3 border rounded d-flex justify-content-between align-items-center"},[e("p",{staticClass:"h3 font-weight-bold mb-0"},[t._v("1.7M")]),t._v(" "),e("p",{staticClass:"font-weight-bold text-uppercase text-lighter mb-0"},[t._v("Interactions")])])])]),t._v(" "),e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-3 mb-3"},[e("div",{staticClass:"bg-light p-3 border rounded d-flex justify-content-between align-items-center"},[e("p",{staticClass:"h3 font-weight-bold mb-0"},[t._v("50")]),t._v(" "),e("p",{staticClass:"font-weight-bold text-uppercase text-lighter mb-0"},[t._v("Mod Reports")])])])])])}]},78059:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-media-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"card card-body border shadow-sm"},[t._m(0),t._v(" "),t.isLoaded?e("div",[e("div",{staticClass:"mb-5"},[e("button",{staticClass:"btn btn-light mr-2",class:["photo"==t.tab?"text-primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.switchTab("photo")}}},[t._v("\n\t\t\t\t\t\t\tPhotos\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-light mr-2",class:["video"==t.tab?"text-primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.switchTab("video")}}},[t._v("\n\t\t\t\t\t\t\tVideos\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-light mr-2",class:["album"==t.tab?"text-primary font-weight-bold":"text-lighter"],on:{click:function(e){return t.switchTab("album")}}},[t._v("\n\t\t\t\t\t\t\tAlbums\n\t\t\t\t\t\t")])]),t._v(" "),"photo"==t.tab?e("div",{staticClass:"row px-3"},[t._l(t.photos,(function(a,s){return e("div",{staticClass:"m-1"},[e("a",{staticClass:"bh-content",attrs:{href:a.url}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.getMediaSource(a),width:"205",height:"205"}})])])})),t._v(" "),0==t.photos.length?e("div",{staticClass:"col-12 py-5 text-center"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[t._v("No photos found")])]):t._e()],2):t._e(),t._v(" "),"video"==t.tab?e("div",{staticClass:"row px-3"},[t._l(t.videos,(function(a,s){return e("div",{staticClass:"m-1"},[e("a",{staticClass:"bh-content text-decoration-none",attrs:{href:a.url}},[a.media_attachments[0].preview_url.endsWith("no-preview.png")?e("div",{staticClass:"bg-light text-dark d-flex align-items-center justify-content-center border",staticStyle:{width:"205px",height:"205px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("No preview available")])]):e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.getMediaSource(a),width:"205",height:"205"}})])])})),t._v(" "),0==t.videos.length?e("div",{staticClass:"col-12 py-5 text-center"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[t._v("No videos found")])]):t._e()],2):t._e(),t._v(" "),"album"==t.tab?e("div",{staticClass:"row px-3"},[t._l(t.albums,(function(a,s){return e("div",{staticClass:"m-1"},[e("a",{staticClass:"bh-content",attrs:{href:a.url}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.getMediaSource(a),width:"205",height:"205"}})])])})),t._v(" "),0==t.albums.length?e("div",{staticClass:"col-12 py-5 text-center"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[t._v("No albums found")])]):t._e()],2):t._e(),t._v(" "),t.hasNextPage[t.tab]?e("div",{staticClass:"mt-3"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block border",on:{click:t.loadNextPage}},[t._v("Load more")])]):t._e()]):e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{height:"500px"}},[t._m(1)])])])])])},i=[function(){var t=this._self._c;return t("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[t("p",{staticClass:"h4 font-weight-bold mb-0"},[this._v("Media")])])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border text-primary",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},49012:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t,e=this,a=e._self._c;return a("div",{staticClass:"group-members-component"},[a("div",{staticClass:"row justify-content-center"},[a("div",{staticClass:"col-12 col-md-8 mb-5"},[e.isAdmin&&e.requestCount&&!e.hideHeader?a("div",{staticClass:"card card-body border shadow-sm bg-dark text-light mb-4 rounded-pill p-2 pl-3"},[a("div",{staticClass:"d-flex align-items-center justify-content-between"},[a("span",{staticClass:"lead mb-0 text-lighter"},[a("i",{staticClass:"fal fa-exclamation-triangle mr-2 text-warning"}),e._v("\n\t\t\t\t\t\t\tYou have "),a("strong",{staticClass:"text-white"},[e._v(e._s(e.requestCount))]),e._v(" member applications to review\n\t\t\t\t\t\t")]),e._v(" "),a("span",[a("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill btn-sm px-3",on:{click:function(t){return e.reviewApplicants()}}},[e._v("Review")])])])]):e._e(),e._v(" "),a("div",{staticClass:"card card-body border shadow-sm"},[e.hideHeader?e._e():a("div",[a("p",{staticClass:"d-flex align-items-center mb-0"},[a("span",{staticClass:"lead font-weight-bold"},[e._v("Members")]),e._v(" "),a("span",{staticClass:"mx-2"},[e._v("·")]),e._v(" "),a("span",{staticClass:"text-muted"},[e._v(e._s(e.group.member_count))])]),e._v(" "),a("div",{staticClass:"form-group mt-3",staticStyle:{position:"relative"}},[a("i",{staticClass:"fas fa-search fa-lg text-lighter",staticStyle:{position:"absolute",left:"20px",top:"50%",transform:"translateY(-50%)"}}),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.memberSearchModel,expression:"memberSearchModel"}],staticClass:"form-control form-control-lg bg-light border rounded-pill",staticStyle:{"padding-left":"50px","padding-right":"50px"},attrs:{placeholder:"Find a member"},domProps:{value:e.memberSearchModel},on:{input:function(t){t.target.composing||(e.memberSearchModel=t.target.value)}}}),e._v(" "),a("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill px-3",staticStyle:{position:"absolute",right:"6px",top:"50%",transform:"translateY(-50%)"}},[e._v("Search")])]),e._v(" "),a("hr")]),e._v(" "),"list"==e.tab?a("div",[a("div",{staticClass:"group-members-component-paginated-list py-3"},[a("div",{staticClass:"media align-items-center"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:e.profile.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null===(t=e.profile)||void 0===t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[e._v("\n\t\t\t\t\t\t\t\t\t\t"+e._s(e.profile.username)+"\n\t\t\t\t\t\t\t\t\t\t"),a("span",{staticClass:"member-label rounded ml-1"},[e._v("Me")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Founded group "+e._s(e.formatDate(e.group.created_at)))])])])]),e._v(" "),e.mutual.length>0?a("hr"):e._e(),e._v(" "),e.mutual.length>0?a("div",{staticClass:"group-members-component-paginated-list"},[a("p",{staticClass:"font-weight-bold mb-1"},[e._v("Mutual Friends")]),e._v(" "),e._l(e.mutual,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url,title:t.acct,"data-toggle":"tooltip"}},[e._v(e._s(t.username))]),e._v(" "),"founder"==t.role?a("span",{staticClass:"member-label rounded ml-1"},[e._v("Admin")]):e._e(),e._v(" "),t.local?e._e():a("span",{staticClass:"remote-label rounded ml-1"},[e._v("Remote")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Member since "+e._s(e.formatDate(t.joined)))])]),e._v(" "),a("a",{staticClass:"btn btn-light lead font-weight-bolder px-3 border",attrs:{href:"/account/direct/t/"+t.id}},[a("i",{staticClass:"far fa-comment-dots mr-1"}),e._v(" Message\n\t\t\t\t\t\t\t\t")]),e._v(" "),e.isAdmin?a("b-dropdown",{attrs:{"toggle-class":"btn btn-light font-weight-bold px-3 border ml-2","toggle-tag":"a",lazy:!0,right:"","no-caret":""},scopedSlots:e._u([{key:"button-content",fn:function(){return[a("i",{staticClass:"fas fa-ellipsis-h"})]},proxy:!0}],null,!0)},[e._v(" "),a("b-dropdown-item",{attrs:{href:t.url}},[e._v("View Profile")]),e._v(" "),a("b-dropdown-item",{attrs:{href:"/account/direct/t/"+t.id}},[e._v("Send Message")]),e._v(" "),a("b-dropdown-item",[e._v("View Activity")]),e._v(" "),a("b-dropdown-divider"),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(a){return a.preventDefault(),e.openInteractionLimitModal(t)}}},[e._v("Limit interactions")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold text-danger"}},[e._v("Remove from group")])],1):e._e()],1)}))],2):e._e(),e._v(" "),e.members.length>0?a("hr"):e._e(),e._v(" "),e.members.length>0?a("div",{staticClass:"group-members-component-paginated-list"},[a("p",{staticClass:"font-weight-bold mb-1"},[e._v("Other Members")]),e._v(" "),e._l(e.members,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url,title:t.acct,"data-toggle":"tooltip"}},[e._v(e._s(t.username))]),e._v(" "),t.is_admin?a("span",{staticClass:"member-label rounded ml-1"},[e._v("Admin")]):e._e(),e._v(" "),t.local?e._e():a("span",{staticClass:"remote-label rounded ml-1"},[e._v("Remote")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Member since "+e._s(e.formatDate(t.joined)))])]),e._v(" "),a("button",{staticClass:"btn lead font-weight-bolder px-4 border",class:[t.following?"btn-primary":"btn-light"],on:{click:function(t){return e.follow(s)}}},[t.following?a("span",[e._v("\n\t\t\t\t\t\t\t\t\t\tFollowing\n\t\t\t\t\t\t\t\t\t")]):a("span",[a("i",{staticClass:"fas fa-user-plus mr-2"}),e._v(" Follow\n\t\t\t\t\t\t\t\t\t")])]),e._v(" "),e.isAdmin?a("b-dropdown",{attrs:{"toggle-class":"btn btn-light font-weight-bold px-3 border ml-2","toggle-tag":"a",lazy:!0,right:"","no-caret":""},scopedSlots:e._u([{key:"button-content",fn:function(){return[a("i",{staticClass:"fas fa-ellipsis-h"})]},proxy:!0}],null,!0)},[e._v(" "),a("b-dropdown-item",{attrs:{href:t.url,"link-class":"font-weight-bold"}},[e._v("View Profile")]),e._v(" "),a("b-dropdown-item",{attrs:{href:"/account/direct/t/"+t.id,"link-class":"font-weight-bold"}},[e._v("Send Message")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"}},[e._v("View Activity")]),e._v(" "),a("b-dropdown-divider"),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(a){return a.preventDefault(),e.openInteractionLimitModal(t)}}},[e._v("Limit interactions")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold text-danger"}},[e._v("Remove from group")])],1):e._e()],1)}))],2):e._e(),e._v(" "),e.members.length>0&&e.hasNextPage?a("p",{staticClass:"mt-4"},[a("button",{staticClass:"btn btn-light btn-block border font-weight-bold",on:{click:e.loadNextPage}},[e._v("Load more")])]):e._e()]):e._e(),e._v(" "),"search"==e.tab?a("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{"min-height":"100px"}},[e._m(0)]):e._e(),e._v(" "),"results"==e.tab?a("div",[e.results.length>0?a("div",{staticClass:"group-members-component-paginated-list"},[a("p",{staticClass:"font-weight-bold mb-1"},[e._v("Results")]),e._v(" "),e._l(e.results,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url,title:t.acct,"data-toggle":"tooltip"}},[e._v(e._s(t.username))]),e._v(" "),"founder"==t.role?a("span",{staticClass:"member-label rounded ml-1"},[e._v("Admin")]):e._e(),e._v(" "),t.local?e._e():a("span",{staticClass:"remote-label rounded ml-1"},[e._v("Remote")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Member since "+e._s(e.formatDate(t.joined)))])]),e._v(" "),a("a",{staticClass:"btn btn-light lead font-weight-bolder px-3 border",attrs:{href:"/account/direct/t/"+t.id}},[a("i",{staticClass:"far fa-comment-dots mr-1"}),e._v(" Message\n\t\t\t\t\t\t\t\t")]),e._v(" "),e.isAdmin?a("b-dropdown",{attrs:{"toggle-class":"btn btn-light font-weight-bold px-3 border ml-2","toggle-tag":"a",lazy:!0,right:"","no-caret":""},scopedSlots:e._u([{key:"button-content",fn:function(){return[a("i",{staticClass:"fas fa-ellipsis-h"})]},proxy:!0}],null,!0)},[e._v(" "),a("b-dropdown-item",{attrs:{href:t.url}},[e._v("View Profile")]),e._v(" "),a("b-dropdown-item",{attrs:{href:"/account/direct/t/"+t.id}},[e._v("Send Message")]),e._v(" "),a("b-dropdown-item",[e._v("View Activity")]),e._v(" "),a("b-dropdown-divider"),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(a){return a.preventDefault(),e.openInteractionLimitModal(t)}}},[e._v("Limit interactions")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold text-danger"}},[e._v("Remove from group")])],1):e._e()],1)})),e._v(" "),a("p",{staticClass:"text-center mt-5"},[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:e.backFromSearch}},[e._v("Go back")])])],2):a("div",{staticClass:"text-center text-muted mt-3"},[a("p",{staticClass:"lead"},[e._v("No results found.")]),e._v(" "),a("p",[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:e.backFromSearch}},[e._v("Go back")])])])]):e._e(),e._v(" "),"memberInteractionLimits"==e.tab?a("div",[e.results.length>0?a("div",{staticClass:"group-members-component-paginated-list"},[a("p",{staticClass:"font-weight-bold mb-1"},[e._v("Interaction Limits")]),e._v(" "),e._l(e.results,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[e._v(e._s(t.username))]),e._v(" "),"founder"==t.role?a("span",{staticClass:"member-label rounded ml-1"},[e._v("Admin")]):e._e()]),e._v(" "),a("p",{staticClass:"text-muted mb-0"},[e._v("Member since "+e._s(e.formatDate(t.joined)))])]),e._v(" "),a("a",{staticClass:"btn btn-light lead font-weight-bolder px-3 border",attrs:{href:"/account/direct/t/"+t.id}},[a("i",{staticClass:"far fa-comment-dots mr-1"}),e._v(" Message\n\t\t\t\t\t\t\t\t")]),e._v(" "),e.isAdmin?a("b-dropdown",{attrs:{"toggle-class":"btn btn-light font-weight-bold px-3 border ml-2","toggle-tag":"a",lazy:!0,right:"","no-caret":""},scopedSlots:e._u([{key:"button-content",fn:function(){return[a("i",{staticClass:"fas fa-ellipsis-h"})]},proxy:!0}],null,!0)},[e._v(" "),a("b-dropdown-item",{attrs:{href:t.url}},[e._v("View Profile")]),e._v(" "),a("b-dropdown-item",{attrs:{href:"/account/direct/t/"+t.id}},[e._v("Send Message")]),e._v(" "),a("b-dropdown-item",[e._v("View Activity")]),e._v(" "),a("b-dropdown-divider"),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold"},on:{click:function(a){return a.preventDefault(),e.openInteractionLimitModal(t)}}},[e._v("Limit interactions")]),e._v(" "),a("b-dropdown-item",{attrs:{"link-class":"font-weight-bold text-danger"}},[e._v("Remove from group")])],1):e._e()],1)})),e._v(" "),a("p",{staticClass:"text-center mt-5"},[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.backFromSearch.apply(null,arguments)}}},[e._v("Go back")])])],2):a("div",{staticClass:"text-center text-muted mt-3"},[a("p",{staticClass:"lead"},[e._v("No results found.")]),e._v(" "),a("p",[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.backFromSearch.apply(null,arguments)}}},[e._v("Go back")])])])]):e._e(),e._v(" "),"review"==e.tab?a("div",[e.reviewsLoaded?a("div",[a("div",{staticClass:"group-members-component-paginated-list"},[a("div",{staticClass:"d-flex justify-content-between align-items-center"},[a("div",{staticClass:"d-flex"},[a("button",{staticClass:"btn btn-link btn-sm mr-2",on:{click:e.backFromReview}},[a("i",{staticClass:"far fa-chevron-left fa-lg"})]),e._v(" "),a("p",{staticClass:"font-weight-bold mb-0"},[e._v("Review Membership Applicants")])])]),e._v(" "),a("hr"),e._v(" "),e._l(e.applicants,(function(t,s){return a("div",{staticClass:"media align-items-center py-3"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url}},[a("img",{staticClass:"rounded-circle border mr-2",attrs:{src:null==t?void 0:t.avatar,width:"56",height:"56",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"lead font-weight-bold mb-0"},[a("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.url,title:t.acct,"data-toggle":"tooltip"}},[e._v(e._s(t.username))]),e._v(" "),t.local?e._e():a("span",{staticClass:"remote-label rounded ml-1"},[e._v("Remote")])]),e._v(" "),a("p",{staticClass:"text-muted mb-0 small"},[a("span",[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(t.followers_count)+" Followers\n\t\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),a("span",{staticClass:"mx-1"},[e._v("·")]),e._v(" "),a("span",[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\tJoined "+e._s(e.formatDate(t.created_at))+"\n\t\t\t\t\t\t\t\t\t\t\t")])])]),e._v(" "),a("button",{staticClass:"btn btn-light lead font-weight-bolder px-3 border",attrs:{type:"button"},on:{click:function(t){return e.handleApplicant(s,"ignore")}}},[a("i",{staticClass:"far fa-times mr-1"}),e._v(" Ignore\n\t\t\t\t\t\t\t\t\t")]),e._v(" "),a("button",{staticClass:"btn btn-danger lead font-weight-bolder px-3 border",attrs:{type:"button"},on:{click:function(t){return e.handleApplicant(s,"reject")}}},[a("i",{staticClass:"far fa-times mr-1"}),e._v(" Reject\n\t\t\t\t\t\t\t\t\t")]),e._v(" "),a("button",{staticClass:"btn btn-primary lead font-weight-bolder px-3 border",attrs:{type:"button"},on:{click:function(t){return e.handleApplicant(s,"approve")}}},[a("i",{staticClass:"far fa-check mr-1"}),e._v(" Approve\n\t\t\t\t\t\t\t\t\t")])])})),e._v(" "),e.applicantsCanLoadMore?a("button",{staticClass:"btn btn-light font-weight-bold btn-block",attrs:{disabled:e.loadingMoreApplicants},on:{click:e.loadMoreApplicants}},[e._v("\n\t\t\t\t\t\t\t\t\tLoad More\n\t\t\t\t\t\t\t\t")]):e._e(),e._v(" "),e.applicants&&e.applicants.length?e._e():a("div",[a("p",{staticClass:"text-center lead mb-0"},[e._v("No content found")]),e._v(" "),a("p",{staticClass:"text-center mb-0"},[a("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.backFromReview.apply(null,arguments)}}},[e._v("Go back")])])])],2)]):a("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"100px"}},[a("b-spinner",{attrs:{variant:"muted"}})],1)]):e._e(),e._v(" "),"loading"==e.tab?a("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"100px"}},[a("b-spinner",{attrs:{variant:"muted"}})],1):e._e()])])]),e._v(" "),a("group-interaction-limits-modal",{ref:"interactionModal",attrs:{group:e.group,profile:e.activeProfile}})],1)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"text-center text-muted"},[e("div",{staticClass:"spinner-border",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]),t._v(" "),e("p",{staticClass:"lead mb-0 mt-2"},[t._v("Loading results ...")])])}]},45450:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-moderation-component"},[t.initalLoad?e("div",["home"===t.tab?e("div",[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-6 pt-4"},[t._m(0),t._v(" "),t.reports.length?e("div",{staticClass:"list-group"},[t._l(t.reports,(function(a,s){return e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"rounded-circle mr-3",attrs:{src:a.profile.avatar,width:"40",height:"40"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0"},[1==a.total_count?e("a",{staticClass:"font-weight-bold",attrs:{href:a.profile.url}},[t._v(t._s(a.profile.username))]):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:a.profile.url}},[t._v(t._s(a.profile.username))]),t._v(" and "),e("a",{staticClass:"font-weight-bold",attrs:{href:"#"}},[t._v(t._s(a.total_count-1)+" others")])]),t._v("\n\t\t\t\t\t\t\t\t\t\treported\n\t\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold",attrs:{href:"#",id:"report_post:".concat(s)}},[t._v("this post")]),t._v("\n\t\t\t\t\t\t\t\t\t\tas "+t._s(a.type)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0 small"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(a.created_at))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",[t._v("·")]),t._v(" "),e("a",{staticClass:"text-danger font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.actionMenu(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\tActions\n\t\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("b-popover",{attrs:{target:"report_post:".concat(s),triggers:"hover",placement:"bottom","custom-class":"popover-wide"},scopedSlots:t._u([{key:"title",fn:function(){return[e("div",{staticClass:"d-flex justify-content-between"},[e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t@"+t._s(a.status.account.username)+"\n\t\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(a.status.created_at))+"\n\t\t\t\t\t\t\t\t\t\t\t")])])]},proxy:!0}],null,!0)},[t._v(" "),"group:post"==a.status.pf_type?e("div",[a.status.media_attachments.length?e("div",[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:a.status.media_attachments[0].url,width:"100%",height:"300"}})]):e("div",[e("p",{domProps:{innerHTML:t._s(a.status.content)}})])]):"reply-text"==a.status.pf_type?e("div",[e("p",{domProps:{innerHTML:t._s(a.status.content)}})]):e("div",[e("p",[t._v("Cannot generate preview.")])]),t._v(" "),e("p",{staticClass:"mb-1 mt-3"},[e("a",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{href:a.status.url}},[t._v("View Post")])])])],1)])})),t._v(" "),t.canLoadMore?e("div",{staticClass:"list-group-item"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block",on:{click:function(e){return e.preventDefault(),t.loadMoreReports()}}},[t._v("Load more")])]):t._e()],2):e("div",{staticClass:"card card-body shadow-none border rounded-pill"},[e("p",{staticClass:"lead font-weight-bold text-center mb-0"},[t._v("No moderation reports found!")])])])])]):t._e()]):e("div",{staticClass:"col-12 col-md-6 pt-4 d-flex align-items-center justify-content-center"},[t._m(1)])])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("p",{staticClass:"lead mb-0"},[t._v("Latest Mod Reports")]),t._v(" "),e("button",{staticClass:"btn btn-light border font-weight-bold btn-sm rounded shadow-sm"},[e("i",{staticClass:"far fa-redo"})])])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},30820:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-topics-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-8"},[e("div",{staticClass:"card card-body border shadow-sm"},[t._m(0),t._v(" "),t.feed.length?e("div",t._l(t.feed,(function(a,s){return e("div",{},[e("div",{staticClass:"media py-2"},[e("i",{staticClass:"fas fa-hashtag fa-lg text-lighter mr-3 mt-2"}),t._v(" "),e("div",{staticClass:"media-body",class:{"border-bottom":s!=t.feed.length-1}},[e("a",{staticClass:"font-weight-bold mb-1 text-dark",staticStyle:{"font-size":"16px"},attrs:{href:a.url}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(a.name)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-muted",staticStyle:{"font-size":"13px"}},[t._v(t._s(a.count)+" posts in this group")])])])])})),0):e("div",{staticClass:"py-5"},[e("p",{staticClass:"lead text-center font-weight-bold"},[t._v("No topics found")])])])])])])},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("p",{staticClass:"h4 font-weight-bold mb-0"},[t._v("Group Topics")]),t._v(" "),e("select",{staticClass:"form-control bg-light rounded-lg border font-weight-bold py-2",staticStyle:{width:"95px"},attrs:{disabled:""}},[e("option",[t._v("All")]),t._v(" "),e("option",[t._v("Pinned")])])])}]},25652:(t,e,a)=>{a.r(e),a.d(e,{render:()=>s,staticRenderFns:()=>i});var s=function(){var t=this,e=t._self._c;return e("div",[t.profile&&t.profile.hasOwnProperty("avatar")?e("b-modal",{ref:"home",attrs:{"hide-footer":"",centered:"",rounded:"",title:"Limit Interactions","body-class":"rounded"}},[e("div",{staticClass:"media mb-3"},[e("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.profile.url}},[e("img",{staticClass:"rounded-circle border mr-2",attrs:{src:t.profile.avatar,width:"56",height:"56"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[e("a",{staticClass:"text-dark text-decoration-none",attrs:{href:t.profile.url}},[t._v(t._s(t.profile.username))]),t._v(" "),"founder"==t.profile.role?e("span",{staticClass:"member-label rounded ml-1"},[t._v("Admin")]):t._e()]),t._v(" "),e("p",{staticClass:"text-muted mb-0"},[t._v("Member since "+t._s(t.formatDate(t.profile.joined)))])])]),t._v(" "),e("div",{staticClass:"w-100 bg-light mb-1 font-weight-bold d-flex justify-content-center align-items-center border rounded",staticStyle:{"min-height":"240px"}},[t.limitsLoaded?e("div",{staticClass:"py-3"},[e("p",{staticClass:"lead mb-0"},[t._v("Interaction Permissions")]),t._v(" "),e("p",{staticClass:"small text-muted"},[t._v("Last updated: "+t._s(t.updated?t.formatDate(t.updated):"Never"))]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.limits.can_post,expression:"limits.can_post"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:t.savingChanges},domProps:{checked:Array.isArray(t.limits.can_post)?t._i(t.limits.can_post,null)>-1:t.limits.can_post},on:{change:function(e){var a=t.limits.can_post,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&t.$set(t.limits,"can_post",a.concat([null])):n>-1&&t.$set(t.limits,"can_post",a.slice(0,n).concat(a.slice(n+1)))}else t.$set(t.limits,"can_post",i)}}}),t._v(" "),e("label",{staticClass:"form-check-label"},[t._v("\n\t\t\t\t\t\tCan create posts\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.limits.can_comment,expression:"limits.can_comment"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:t.savingChanges},domProps:{checked:Array.isArray(t.limits.can_comment)?t._i(t.limits.can_comment,null)>-1:t.limits.can_comment},on:{change:function(e){var a=t.limits.can_comment,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&t.$set(t.limits,"can_comment",a.concat([null])):n>-1&&t.$set(t.limits,"can_comment",a.slice(0,n).concat(a.slice(n+1)))}else t.$set(t.limits,"can_comment",i)}}}),t._v(" "),e("label",{staticClass:"form-check-label"},[t._v("\n\t\t\t\t\t\tCan create comments\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.limits.can_like,expression:"limits.can_like"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:t.savingChanges},domProps:{checked:Array.isArray(t.limits.can_like)?t._i(t.limits.can_like,null)>-1:t.limits.can_like},on:{change:function(e){var a=t.limits.can_like,s=e.target,i=!!s.checked;if(Array.isArray(a)){var n=t._i(a,null);s.checked?n<0&&t.$set(t.limits,"can_like",a.concat([null])):n>-1&&t.$set(t.limits,"can_like",a.slice(0,n).concat(a.slice(n+1)))}else t.$set(t.limits,"can_like",i)}}}),t._v(" "),e("label",{staticClass:"form-check-label"},[t._v("\n\t\t\t\t\t\tCan like posts and comments\n\t\t\t\t\t")])]),t._v(" "),e("hr"),t._v(" "),e("button",{staticClass:"btn btn-primary font-weight-bold float-right",staticStyle:{width:"130px"},attrs:{disabled:t.savingChanges},on:{click:function(e){return e.preventDefault(),t.saveChanges.apply(null,arguments)}}},[t.savingChanges?e("b-spinner",{attrs:{variant:"light",small:""}}):e("span",[t._v("Save changes")])],1)]):e("div",{staticClass:"d-flex align-items-center flex-column"},[e("b-spinner",{attrs:{variant:"muted"}}),t._v(" "),e("p",{staticClass:"pt-3 small text-muted font-weight-bold"},[t._v("Loading interaction limits...")])],1)])]):t._e()],1)},i=[]},29917:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-feed-component-header{align-items:flex-end;background-color:#fff;display:flex;justify-content:space-between;padding:1rem 0}.group-feed-component-header .cta-btn{width:190px}.group-feed-component-menu{align-items:center;display:flex;justify-content:space-between;padding:0}.group-feed-component-menu-nav .nav-item .nav-link{color:#6c757d;padding-bottom:1rem;padding-top:1rem}.group-feed-component-menu-nav .nav-item .nav-link.active{border-bottom:2px solid #2c78bf;color:#2c78bf}.group-feed-component-menu-nav:not(last-child) .nav-item{margin-right:14px}.group-feed-component-body{min-height:40vh}.group-feed-component .member-label{background:rgba(137,196,244,.2);border:1px solid rgba(137,196,244,.3);color:#4b77be;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}.group-feed-component .dropdown-item{font-weight:600}.group-feed-component .remote-label{background:#fef3c7;border:1px solid #fcd34d;color:#b45309;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}",""]);const n=i},13017:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-about-component[data-v-a3964586]{margin-bottom:50vh}.group-about-component .title[data-v-a3964586]{font-size:16px;font-weight:700}.group-about-component .description[data-v-a3964586]{color:#6c757d;font-size:15px;font-weight:400;margin-bottom:30px;white-space:break-spaces}.group-about-component .fact[data-v-a3964586]{align-items:center;display:flex;margin-bottom:1.5rem}.group-about-component .fact-body[data-v-a3964586]{flex:1}.group-about-component .fact-icon[data-v-a3964586]{text-align:center;width:50px}.group-about-component .fact-title[data-v-a3964586]{font-size:17px;font-weight:500;margin-bottom:0}.group-about-component .fact-subtitle[data-v-a3964586]{color:#6c757d;font-size:14px;margin-bottom:0}",""]);const n=i},66600:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,"",""]);const n=i},2874:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,"",""]);const n=i},26873:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-members-component{min-height:100vh}.group-members-component .member-label{background:rgba(137,196,244,.2);border:1px solid rgba(137,196,244,.3);color:#4b77be;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}.group-members-component .remote-label{background:#fef3c7;border:1px solid #fcd34d;color:#b45309;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}",""]);const n=i},91599:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-moderation-component{margin-bottom:100px;min-height:80vh}.popover-wide{min-width:200px!important}",""]);const n=i},47273:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(76798),i=a.n(s)()((function(t){return t[1]}));i.push([t.id,".group-topics-component{margin-bottom:50vh}",""]);const n=i},87448:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(85072),i=a.n(s),n=a(29917),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},19826:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(85072),i=a.n(s),n=a(13017),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},35081:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(85072),i=a.n(s),n=a(66600),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},51785:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(85072),i=a.n(s),n=a(2874),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},81766:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(85072),i=a.n(s),n=a(26873),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},45550:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(85072),i=a.n(s),n=a(91599),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},79024:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var s=a(85072),i=a.n(s),n=a(47273),o={insert:"head",singleton:!1};i()(n.default,o);const r=n.default.locals||{}},57101:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(5295),i=a(89466),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(48211);const o=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},87223:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(1281),i=a(19264),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(24543);const o=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,"a3964586",null).exports},54451:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(43338),i=a(60040),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(65594);const o=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,"43b239a3",null).exports},48204:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(49696),i=a(56307),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(30676);const o=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},78277:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(22767),i=a(21049),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(5083);const o=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},9716:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(40443),i=a(61095),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(98593);const o=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},20524:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(87301),i=a(15859),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);a(17623);const o=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},62724:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var s=a(43355),i=a(36235),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const o=(0,a(14486).default)(i.default,s.render,s.staticRenderFns,!1,null,null,null).exports},89466:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(43209),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},19264:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(12189),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},60040:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(52327),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},56307:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(14366),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},21049:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(95871),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},61095:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(2336),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},15859:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(44128),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},36235:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var s=a(52070),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i);const n=s.default},5295:(t,e,a)=>{a.r(e);var s=a(30),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},1281:(t,e,a)=>{a.r(e);var s=a(91722),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},43338:(t,e,a)=>{a.r(e);var s=a(3843),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},49696:(t,e,a)=>{a.r(e);var s=a(78059),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},22767:(t,e,a)=>{a.r(e);var s=a(49012),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},40443:(t,e,a)=>{a.r(e);var s=a(45450),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},87301:(t,e,a)=>{a.r(e);var s=a(30820),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},43355:(t,e,a)=>{a.r(e);var s=a(25652),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},48211:(t,e,a)=>{a.r(e);var s=a(87448),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},24543:(t,e,a)=>{a.r(e);var s=a(19826),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},65594:(t,e,a)=>{a.r(e);var s=a(35081),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},30676:(t,e,a)=>{a.r(e);var s=a(51785),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},5083:(t,e,a)=>{a.r(e);var s=a(81766),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},98593:(t,e,a)=>{a.r(e);var s=a(45550),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)},17623:(t,e,a)=>{a.r(e);var s=a(79024),i={};for(const t in s)"default"!==t&&(i[t]=()=>s[t]);a.d(e,i)}}]); \ No newline at end of file diff --git a/public/js/groups-post.c9083f5a20000208.js b/public/js/groups-post.c9083f5a20000208.js new file mode 100644 index 000000000..6db341dc2 --- /dev/null +++ b/public/js/groups-post.c9083f5a20000208.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[7342],{14158:(e,t,d)=>{d.r(t),d.d(t,{default:()=>a});var r=d(71307),s=d(26679);const a={props:{gid:{type:String},sid:{type:String}},components:{"group-feed":r.default,sidebar:s.default}}},14794:(e,t,d)=>{d.r(t),d.d(t,{render:()=>r,staticRenderFns:()=>s});var r=function(){var e=this,t=e._self._c;return t("div",{staticClass:"group-status-permalink-component"},[t("div",{staticClass:"row border-bottom m-0 p-0"},[t("sidebar"),e._v(" "),t("div",{staticClass:"col-12 col-md-9 px-md-0"},[t("group-feed",{attrs:{"group-id":e.gid,permalinkMode:!0,permalinkId:e.sid}})],1)],1)])},s=[]},16390:(e,t,d)=>{d.r(t),d.d(t,{default:()=>n});var r=d(41759),s=d(90805),a={};for(const e in s)"default"!==e&&(a[e]=()=>s[e]);d.d(t,a);const n=(0,d(14486).default)(s.default,r.render,r.staticRenderFns,!1,null,null,null).exports},90805:(e,t,d)=>{d.r(t),d.d(t,{default:()=>a});var r=d(14158),s={};for(const e in r)"default"!==e&&(s[e]=()=>r[e]);d.d(t,s);const a=r.default},41759:(e,t,d)=>{d.r(t);var r=d(14794),s={};for(const e in r)"default"!==e&&(s[e]=()=>r[e]);d.d(t,s)}}]); \ No newline at end of file diff --git a/public/js/groups-profile.9049d02d06606680.js b/public/js/groups-profile.9049d02d06606680.js new file mode 100644 index 000000000..d8e8563e7 --- /dev/null +++ b/public/js/groups-profile.9049d02d06606680.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[9231],{42785:(t,e,i)=>{i.r(e),i.d(e,{default:()=>a});var s=i(95002),o=i(74692);const a={props:{gid:{type:String},pid:{type:String}},components:{"group-status":s.default},data:function(){return{loaded:!1,currentProfile:{},roleTitle:"Member",group:{},profile:{},relationship:{following:!1},feed:[],ids:[],feedLoaded:!1,feedEmpty:!1,page:1,canIntersect:!1,commonIntersects:[]}},beforeMount:function(){o("body").css("background-color","#f0f2f5")},mounted:function(){this.fetchGroup(),this.$nextTick((function(){o('[data-toggle="tooltip"]').tooltip()}))},methods:{fetchGroup:function(){var t=this;axios.get("/api/v0/groups/"+this.gid).then((function(e){t.group=e.data})).finally((function(){t.fetchSelfProfile()}))},fetchSelfProfile:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.currentProfile=e.data})).catch((function(e){t.$router.push("/groups/"+t.gid)})).finally((function(){t.fetchProfile()})),this.$nextTick((function(){o('[data-toggle="tooltip"]').tooltip()}))},fetchProfile:function(){var t=this;axios.get("/api/v0/groups/accounts/"+this.gid+"/"+this.pid).then((function(e){t.profile=e.data,"founder"==e.data.group.role&&(t.roleTitle="Admin")})),window._sharedData.user.id!=this.pid?axios.get("/api/v1/accounts/relationships?id[]="+this.pid).then((function(e){t.relationship=e.data[0]})).finally((function(){t.fetchInitialFeed()})):this.fetchInitialFeed()},fetchInitialFeed:function(){var t=this;window._sharedData.user&&window._sharedData.user.id!=this.pid&&this.fetchCommonIntersections(),axios.get("/api/v0/groups/".concat(this.gid,"/user/").concat(this.pid,"/feed")).then((function(e){t.feed=e.data.filter((function(e){return"reply:text"!=e.pf_type||e.account.id!=t.profile.id})),t.feedLoaded=!0,t.feedEmpty=0==t.feed.length,t.page++,t.loaded=!0})).catch((function(e){t.$router.push("/groups/"+t.gid),console.log(e)}))},infiniteFeed:function(t){var e=this;0!=this.feed.length?axios.get("/api/v0/groups/".concat(this.group.id,"/user/").concat(this.profile.id,"/feed"),{params:{page:this.page}}).then((function(i){if(i.data.length){var s=i.data.filter((function(t){return"reply:text"!=t.pf_type||t.account.id!=e.profile.id})),o=e;s.forEach((function(t){-1==o.ids.indexOf(t.id)&&(o.ids.push(t.id),o.feed.push(t))})),t.loaded(),e.page++}else t.complete()})):t.complete()},fetchCommonIntersections:function(){var t=this;axios.get("/api/v0/groups/member/intersect/common",{params:{gid:this.gid,pid:this.pid}}).then((function(e){t.commonIntersects=e.data,t.canIntersect=e.data.groups.length||e.data.topics.length}))},formatJoinedDate:function(t){var e=new Date(t);return new Intl.DateTimeFormat("en-US",{year:"numeric",month:"long"}).format(e)}}}},17164:(t,e,i)=>{i.r(e),i.d(e,{render:()=>s,staticRenderFns:()=>o});var s=function(){var t,e=this,i=e._self._c;return i("div",{staticClass:"group-profile-component w-100 h-100"},[e.loaded?[i("div",{staticClass:"bg-white mb-3 border-bottom"},[i("div",{staticClass:"container-xl header"},[i("div",{staticClass:"header-jumbotron"}),e._v(" "),i("div",{staticClass:"header-profile-card"},[i("img",{staticClass:"avatar",attrs:{src:e.profile.avatar,onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}),e._v(" "),i("p",{staticClass:"name"},[e._v("\n "+e._s(e.profile.display_name)+"\n ")]),e._v(" "),i("p",{staticClass:"username text-muted"},[e.profile.local?i("span",[e._v("@"+e._s(e.profile.username))]):i("span",[e._v(e._s(e.profile.acct))]),e._v(" "),e.profile.is_admin?i("span",{staticClass:"text-danger ml-1",attrs:{title:"Site administrator","data-toggle":"tooltip","data-placement":"bottom"}},[i("i",{staticClass:"far fa-users-crown"})]):e._e()])]),e._v(" "),i("div",{staticClass:"header-navbar"},[i("div"),e._v(" "),i("div",[e.currentProfile.id===e.profile.id?i("a",{staticClass:"btn btn-light font-weight-bold mr-2",attrs:{href:"/settings/home"}},[i("i",{staticClass:"fas fa-edit mr-1"}),e._v(" Edit Profile\n ")]):e._e(),e._v(" "),e.relationship.following?i("a",{staticClass:"btn btn-primary font-weight-bold mr-2",attrs:{href:e.profile.url}},[i("i",{staticClass:"far fa-comment-alt-dots mr-1"}),e._v(" Message\n ")]):e._e(),e._v(" "),e.relationship.following?i("a",{staticClass:"btn btn-light font-weight-bold mr-2",attrs:{href:e.profile.url}},[i("i",{staticClass:"fas fa-user-check mr-1"}),e._v(" "+e._s(e.relationship.followed_by?"Friends":"Following")+"\n ")]):e._e(),e._v(" "),e.relationship.following?e._e():i("a",{staticClass:"btn btn-light font-weight-bold mr-2",attrs:{href:e.profile.url}},[i("i",{staticClass:"fas fa-user mr-1"}),e._v(" View Main Profile\n ")]),e._v(" "),i("div",{staticClass:"dropdown"},[e._m(1),e._v(" "),i("div",{staticClass:"dropdown-menu dropdown-menu-right",attrs:{"aria-labelledby":"amenu"}},[e.currentProfile.id!=e.profile.id?i("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/report?type=user&id=".concat(e.profile.id)}},[e._v("Report")]):e._e(),e._v(" "),e.currentProfile.id==e.profile.id?i("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"#"}},[e._v("Leave Group")]):e._e()])])])])])]),e._v(" "),i("div",{staticClass:"w-100 h-100 group-profile-feed"},[i("div",{staticClass:"container-xl"},[i("div",{staticClass:"row"},[i("div",{staticClass:"col-12 col-md-5"},[i("div",{staticClass:"card card-body shadow-sm infolet"},[i("h5",{staticClass:"font-weight-bold mb-3"},[e._v("Intro")]),e._v(" "),e.profile.local?e._e():i("div",{staticClass:"media mb-3 align-items-center"},[e._m(2),e._v(" "),i("div",{staticClass:"media-body"},[e._v("\n Remote member from "),i("strong",[e._v(e._s(e.profile.acct.split("@")[1]))])])]),e._v(" "),i("div",{staticClass:"media align-items-center"},[e._m(3),e._v(" "),i("div",{staticClass:"media-body"},[e._v("\n "+e._s(e.roleTitle)+" of "),i("strong",[e._v(e._s(e.group.name))]),e._v(" since "+e._s(e.formatJoinedDate(null===(t=e.profile.group)||void 0===t?void 0:t.joined))+"\n ")])])]),e._v(" "),e.canIntersect?i("div",{staticClass:"card card-body shadow-sm infolet"},[i("h5",{staticClass:"font-weight-bold mb-3"},[e._v("Things in Common")]),e._v(" "),e.commonIntersects.friends.length?e._m(5):e._e(),e._v(" "),e.commonIntersects.groups.length?i("div",{staticClass:"media mb-3 align-items-center"},[e._m(6),e._v(" "),i("div",{staticClass:"media-body"},[e._v("\n Also member of "),i("a",{staticClass:"text-dark font-weight-bold",attrs:{href:e.commonIntersects.groups[0].url}},[e._v(e._s(e.commonIntersects.groups[0].name))]),e._v(" and "+e._s(e.commonIntersects.groups_count)+" other groups\n ")])]):e._e(),e._v(" "),e.commonIntersects.topics.length?i("div",{staticClass:"media mb-0 align-items-center"},[e._m(7),e._v(" "),i("div",{staticClass:"media-body"},[e._v("\n Also interested in topics containing\n "),e._l(e.commonIntersects.topics,(function(t,s){return i("span",[e.commonIntersects.topics.length-1==s?i("span",[e._v(" and ")]):e._e(),i("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.url}},[e._v("#"+e._s(t.name))]),e.commonIntersects.topics.length>s+2?i("span",[e._v(", ")]):e._e()])})),e._v(" hashtags\n ")],2)]):e._e()]):e._e()]),e._v(" "),i("div",{staticClass:"col-12 col-md-7"},[e._m(8),e._v(" "),e.feedEmpty?i("div",{staticClass:"pt-5 text-center"},[i("h5",[e._v("No New Posts")]),e._v(" "),i("p",[e._v(e._s(e.profile.username)+" hasn't posted anything yet in "),i("strong",[e._v(e._s(e.group.name))]),e._v(".")]),e._v(" "),i("a",{staticClass:"font-weight-bold",attrs:{href:e.group.url}},[e._v("Go Back")])]):e._e(),e._v(" "),e.feedLoaded?i("div",{staticClass:"mt-2"},[e._l(e.feed,(function(t,s){return i("group-status",{key:"gps:"+t.id,attrs:{permalinkMode:!0,showGroupChevron:!0,group:e.group,prestatus:t,profile:e.profile,"group-id":e.group.id}})})),e._v(" "),e.feed.length>=1?i("div",{attrs:{distance:800}},[i("infinite-loading",{on:{infinite:e.infiniteFeed}},[i("div",{attrs:{slot:"no-more"},slot:"no-more"}),e._v(" "),i("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1):e._e()],2):e._e()])])])])]:i("div",{staticClass:"w-100 h-100"},[e._m(0)])],2)},o=[function(){var t=this._self._c;return t("div",{staticClass:"d-flex justify-content-center align-items-center mt-5"},[t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])])},function(){var t=this._self._c;return t("button",{staticClass:"btn btn-light font-weight-bold dropdown-toggle",attrs:{type:"button",id:"amenu","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[t("i",{staticClass:"fas fa-ellipsis-h"})])},function(){var t=this._self._c;return t("div",{staticClass:"media-icon"},[t("i",{staticClass:"far fa-globe",attrs:{title:"User is from a remote server","data-toggle":"tooltip","data-placement":"bottom"}})])},function(){var t=this._self._c;return t("div",{staticClass:"media-icon"},[t("i",{staticClass:"fas fa-users",attrs:{title:"User joined group on this date","data-toggle":"tooltip","data-placement":"bottom"}})])},function(){var t=this._self._c;return t("div",{staticClass:"media-icon"},[t("i",{staticClass:"far fa-user-friends"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"media mb-3 align-items-center"},[t._m(4),t._v(" "),e("div",{staticClass:"media-body"},[t._v("\n "+t._s(t.commonIntersects.friends_count)+" mutual friend"),t.commonIntersects.friends.length>1?e("span",[t._v("s")]):t._e(),t._v(" including\n "),t._l(t.commonIntersects.friends,(function(i,s){return e("span",[e("a",{staticClass:"text-dark font-weight-bold",attrs:{href:i.url}},[t._v(t._s(i.acct))]),t.commonIntersects.friends.length>s+1?e("span",[t._v(", ")]):e("span")])}))],2)])},function(){var t=this._self._c;return t("div",{staticClass:"media-icon"},[t("i",{staticClass:"fas fa-users"})])},function(){var t=this._self._c;return t("div",{staticClass:"media-icon"},[t("i",{staticClass:"far fa-thumbs-up fa-lg text-lighter"})])},function(){var t=this._self._c;return t("div",{staticClass:"card card-body shadow-sm"},[t("h5",{staticClass:"font-weight-bold mb-0"},[this._v("Group Posts")])])}]},89785:(t,e,i)=>{i.r(e),i.d(e,{default:()=>a});var s=i(76798),o=i.n(s)()((function(t){return t[1]}));o.push([t.id,".group-profile-component{background-color:#f0f2f5}.group-profile-component .header-jumbotron{background-color:#f3f4f6;border-bottom-left-radius:20px;border-bottom-right-radius:20px;height:320px}.group-profile-component .header-profile-card{align-items:center;display:flex;flex-direction:column;justify-content:center}.group-profile-component .header-profile-card .avatar{border-radius:50%;height:170px;margin-bottom:20px;margin-top:-150px;width:170px}.group-profile-component .header-profile-card .name{font-size:30px;font-weight:700;line-height:30px;margin-bottom:6px;text-align:center}.group-profile-component .header-profile-card .username{font-size:16px;font-weight:500;text-align:center}.group-profile-component .header-navbar{align-items:center;border-top:1px solid #f3f4f6;display:flex;height:60px;justify-content:space-between}.group-profile-component .header-navbar .dropdown{display:inline-block}.group-profile-component .header-navbar .dropdown-toggle:after{display:none}.group-profile-component .group-profile-feed{min-height:500px}.group-profile-component .infolet{margin-bottom:1rem}.group-profile-component .infolet .media-icon{display:flex;justify-content:center;margin-right:10px;width:30px}.group-profile-component .infolet .media-icon i{color:#d1d5db!important;font-size:1.1rem}.group-profile-component .btn-light{border-color:#f3f4f6}",""]);const a=o},23598:(t,e,i)=>{i.r(e),i.d(e,{default:()=>r});var s=i(85072),o=i.n(s),a=i(89785),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},21567:(t,e,i)=>{i.r(e),i.d(e,{default:()=>n});var s=i(19359),o=i(35332),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);i.d(e,a);i(35011);const n=(0,i(14486).default)(o.default,s.render,s.staticRenderFns,!1,null,null,null).exports},35332:(t,e,i)=>{i.r(e),i.d(e,{default:()=>a});var s=i(42785),o={};for(const t in s)"default"!==t&&(o[t]=()=>s[t]);i.d(e,o);const a=s.default},19359:(t,e,i)=>{i.r(e);var s=i(17164),o={};for(const t in s)"default"!==t&&(o[t]=()=>s[t]);i.d(e,o)},35011:(t,e,i)=>{i.r(e);var s=i(23598),o={};for(const t in s)"default"!==t&&(o[t]=()=>s[t]);i.d(e,o)}}]); \ No newline at end of file diff --git a/public/js/groups.js b/public/js/groups.js new file mode 100644 index 000000000..c2a9a04b9 --- /dev/null +++ b/public/js/groups.js @@ -0,0 +1 @@ +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[7610],{19933:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(18115),o=s(71307),i=s(49139);const r={props:{groupId:{type:String},path:{type:String}},data:function(){return{tab:"home"}},components:{"groups-home":a.default,"create-group":i.default,"group-feed":o.default},mounted:function(){this.groupId&&(this.tab="show")},methods:{switchTab:function(t){this.tab=t}}}},22681:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(71347),o=s(69104),i=s(40482),r=s(62181);const n={components:{"text-input":a.default,"select-input":o.default,"text-area-input":i.default,"checkbox-input":r.default},data:function(){return{hide:!0,name:null,page:1,maxPage:1,description:null,membership:"placeholder",submitting:!1,categories:[],category:"",limit:{name:{max:60},description:{max:500}},configuration:{types:{text:!0,photos:!0,videos:!0,polls:!0},federation:!0,adult:!1,discoverable:!1,autospam:!1,dms:!1,slowjoin:{enabled:!1,age:90,limit:{post:1,comment:20,threads:2,likes:5,hashtags:5,mentions:1,autolinks:1}}},hasConfirmed:!1,permissionChecked:!1,membershipCategories:[{key:"Public",value:"public"},{key:"Private",value:"private"},{key:"Local",value:"local"}]}},mounted:function(){this.permissionCheck(),this.fetchCategories()},methods:{permissionCheck:function(){var t=this;axios.post("/api/v0/groups/permission/create").then((function(e){0==e.data.permission?(swal("Limit reached","You cannot create any more groups","error"),t.hide=!0):t.hide=!1,t.permissionChecked=!0}))},submit:function(t){t.preventDefault(),this.submitting=!0,axios.post("/api/v0/groups/create",{name:this.name,description:this.description,membership:this.membership}).then((function(t){console.log(t.data),window.location.href=t.data.url})).catch((function(t){console.log(t.response)}))},fetchCategories:function(){var t=this;axios.get("/api/v0/groups/categories/list").then((function(e){t.categories=e.data.map((function(t){return{key:t,value:t}}))}))},createGroup:function(){axios.post("/api/v0/groups/create",{name:this.name,description:this.description,membership:this.membership,configuration:this.configuration}).then((function(t){console.log(t.data),location.href=t.data.url}))},handleUpdate:function(t,e){this[t]=e}}}},72233:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>h});var a=s(79984),o=s(17108),i=s(95002),r=s(13094),n=s(58753),l=s(94559),c=s(19413),d=s(49268),u=s(33457),p=s(52505);function f(t){return function(t){if(Array.isArray(t))return m(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 m(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 m(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 m(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s1&&void 0!==arguments[1]&&arguments[1],s=new Date(t);return e?s.toDateString()+" · "+s.toLocaleTimeString():s.toDateString()},switchTab:function(t){window.scrollTo(0,0),"feed"==t&&this.permalinkMode&&(this.permalinkMode=!1,this.fetchFeed());var e="feed"==t?this.group.url:this.group.url+"/"+t;history.pushState(t,null,e),this.tab=t},joinGroup:function(){var t=this;this.requestingMembership=!0,axios.post("/api/v0/groups/"+this.groupId+"/join").then((function(e){t.requestingMembership=!1,t.group=e.data,t.fetchGroup(),t.fetchFeed()})).catch((function(e){var s=e.response;422==s.status&&(t.tab="feed",history.pushState("",null,t.group.url),t.requestingMembership=!1,swal("Oops!",s.data.error,"error"))}))},cancelJoinRequest:function(){var t=this;window.confirm("Are you sure you want to cancel your request to join this group?")&&axios.post("/api/v0/groups/"+this.groupId+"/cjr").then((function(e){t.requestingMembership=!1})).catch((function(t){var e=t.response;422==e.status&&swal("Oops!",e.data.error,"error")}))},leaveGroup:function(){var t=this;window.confirm("Are you sure you want to leave this group? Any content you shared will remain accessible. You won't be able to rejoin for 24 hours.")&&axios.post("/api/v0/groups/"+this.groupId+"/leave").then((function(e){t.tab="feed",history.pushState("",null,t.group.url),t.feed=[],t.isMember=!1,t.isAdmin=!1,t.group.self.role=null,t.group.self.is_member=!1}))},pushNewStatus:function(t){this.feed.unshift(t)},commentFocus:function(t){this.feed[t].showCommentDrawer=!0},statusDelete:function(t){this.feed.splice(t,1)},infiniteFeed:function(t){var e=this;if(this.feed.length<3)t.complete();else{var s="/api/v0/groups/"+this.groupId+"/feed";axios.get(s,{params:{limit:6,max_id:this.maxId}}).then((function(s){if(s.data.length){var a,o,i=s.data.filter((function(t){return-1==e.ids.indexOf(t.id)}));e.maxId=i[i.length-1].id,(a=e.feed).push.apply(a,f(i)),(o=e.ids).push.apply(o,f(i.map((function(t){return t.id})))),setTimeout((function(){e.initObservers()}),1e3),t.loaded()}else t.complete()}))}},decrementModCounter:function(t){var e=this.atabs.moderation_count;0!=e&&(this.atabs.moderation_count=e-t)},setModCounter:function(t){this.atabs.moderation_count=t},decrementJoinRequestCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=this.atabs.request_count;this.atabs.request_count=e-t},incrementMemberCount:function(){var t=this.group.member_count;this.group.member_count=t+1},copyLink:function(){window.App.util.clipboard(this.group.url),this.$bvToast.toast("Succesfully copied group url to clipboard",{title:"Success",variant:"success",autoHideDelay:5e3})},reportGroup:function(){var t=this;swal("Report Group","Are you sure you want to report this group?").then((function(e){e&&(location.href="/i/report?id=".concat(t.group.id,"&type=group"))}))},showSearchModal:function(){event.currentTarget.blur(),this.$refs.searchModal.open()},showInviteModal:function(){event.currentTarget.blur(),this.$refs.inviteModal.open()},showLikesModal:function(t){var e=this;this.likesId=this.feed[t].id,axios.get("/api/v0/groups/"+this.groupId+"/likes/"+this.likesId).then((function(t){e.likes=t.data,e.likesPage++,e.$refs.likeBox.show()}))},infiniteLikesHandler:function(t){var e=this;this.likes.length<3?t.complete():axios.get("/api/v0/groups/"+this.groupId+"/likes/"+this.likesId,{params:{page:this.likesPage}}).then((function(s){var a;s.data.length>0?((a=e.likes).push.apply(a,f(s.data)),e.likesPage++,10!=s.data.length?t.complete():t.loaded()):t.complete()}))}}}},2118:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["id"],data:function(){return{loadingStatus:"Determining invite eligibility",tab:"initial",profile:{},group:{},showMore:!1}},mounted:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.profile=e.data,t.fetchGroup()})).catch((function(e){return 403===e.response.status?void(t.tab="login"):void(t.tab="error")}))},methods:{fetchGroup:function(){var t=this;axios.get("/api/v0/groups/".concat(this.id)).then((function(e){t.group=e.data,t.loadingStatus="Checking group invitations",t.checkForInvitation()})).catch((function(e){t.tab="error"}))},checkForInvitation:function(){var t=this;axios.post("/api/v0/groups/".concat(this.group.id,"/invite/check")).then((function(e){t.tab=1==e.data.can_join?"form":"notinvited"})).catch((function(e){422===e.response.status&&"Already a member"===e.response.data.error?t.tab="existingmember":t.tab="error"}))},prettyCount:function(t){return App.util.format.count(t)},timeago:function(t){return App.util.format.timeAgo(t)},showMoreInfo:function(){event.currentTarget.blur(),this.showMore=!this.showMore},acceptInvite:function(){var t=this;event.currentTarget.blur(),this.tab="loading",axios.post("/api/v0/groups/".concat(this.group.id,"/invite/accept")).then((function(t){setTimeout((function(){location.href=t.data.next_url}),2e3)})).catch((function(e){t.tab="error"}))},declineInvite:function(){var t=this;event.currentTarget.blur(),this.tab="loading",axios.post("/api/v0/groups/".concat(this.group.id,"/invite/decline")).then((function(t){location.href=t.data.next_url})).catch((function(e){t.tab="error"}))}}}},20258:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(95002),o=s(74692);const i={props:{pg:{type:String},pp:{type:String}},components:{"group-status":a.default},data:function(){return{currentProfile:{},roleTitle:"Member",group:{},profile:{},feed:[],ids:[],feedLoaded:!1,feedEmpty:!1,page:1,canIntersect:!1,commonIntersects:[]}},beforeMount:function(){o("body").css("background-color","#f0f2f5"),this.group=JSON.parse(this.pg),this.profile=JSON.parse(this.pp),"founder"==this.profile.group.role&&(this.roleTitle="Admin")},mounted:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.currentProfile=e.data,t.fetchInitialFeed(),e.data.id!=t.profile.id&&t.fetchCommonIntersections()})),this.$nextTick((function(){o('[data-toggle="tooltip"]').tooltip()}))},methods:{fetchInitialFeed:function(){var t=this;axios.get("/api/v0/groups/".concat(this.group.id,"/user/").concat(this.profile.id,"/feed")).then((function(e){t.feed=e.data.filter((function(e){return"reply:text"!=e.pf_type||e.account.id!=t.profile.id})),t.feedLoaded=!0,t.feedEmpty=0==t.feed.length,t.page++}))},infiniteFeed:function(t){var e=this;0!=this.feed.length?axios.get("/api/v0/groups/".concat(this.group.id,"/user/").concat(this.profile.id,"/feed"),{params:{page:this.page}}).then((function(s){if(s.data.length){var a=s.data.filter((function(t){return"reply:text"!=t.pf_type||t.account.id!=e.profile.id})),o=e;a.forEach((function(t){-1==o.ids.indexOf(t.id)&&(o.ids.push(t.id),o.feed.push(t))})),t.loaded(),e.page++}else t.complete()})):t.complete()},fetchCommonIntersections:function(){var t=this;axios.get("/api/v0/groups/member/intersect/common",{params:{gid:this.group.id,pid:this.profile.id}}).then((function(e){t.commonIntersects=e.data,t.canIntersect=e.data.groups.length||e.data.topics.length}))}}}},39786:(t,e,s)=>{"use strict";function a(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,a=new Array(e);si});const i={props:{groupId:{type:String}},data:function(){return{initalLoad:!1,profile:void 0,group:{},isMember:!1,isAdmin:!1,changed:!1,savingChanges:!1,categories:[],category:"General",tab:"home",tabs:["home","customize","interactions","blocked","advanced","limits","blocked:import"],interactionLog:[],interactionLogPage:1,interactionLogInitialLoad:!1,interactionLogShowMore:!0,blockedInitialLoad:!1,blockedInstances:["facebook.com","instagram.com"],blockedUsers:["mark@facebook.com","user@example.org","troll"],moderatedInstances:["pawoo.net","pixelfed.com"],importBlocksData:{},importBlocksUploaded:!1,membershipDescription:{all:"Anyone can join your group",local:"Only local users can join your group",private:"Only users you approve can join your group"},advanced:{}}},beforeMount:function(){var t=this;axios.get("/api/v0/groups/categories/list").then((function(e){t.categories=e.data}))},mounted:function(){var t=this,e=new URLSearchParams(window.location.search);e.has("tab")&&this.tabs.includes(e.get("tab"))&&(this.tab=e.get("tab"),this.toggleTab(this.tab)),axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.profile=e.data,axios.get("/api/v0/groups/"+t.groupId).then((function(e){t.group=e.data,t.initalLoad=!0,t.isMember=e.data.self.is_member,t.isAdmin=["founder","admin"].includes(e.data.self.role),t.advanced=e.data.config,t.category=e.data.category.name}))}))},methods:{timestampFormat:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=new Date(t);return e?s.toDateString()+" · "+s.toLocaleTimeString():s.toDateString()},timeago:function(t){return window.App.util.format.timeAgo(t)},sidToUrl:function(t){return"/groups/".concat(this.groupId,"/p/").concat(t)},submit:function(){var t=this;this.savingChanges=!0;var e=new FormData;e.append("category",this.category),e.append("membership",this.group.membership),e.append("discoverable",this.advanced.discoverable),e.append("activitypub",this.advanced.activitypub),e.append("is_nsfw",this.advanced.is_nsfw),this.group.description&&e.append("description",this.group.description),this.$refs.avatarInput&&e.append("avatar",this.$refs.avatarInput.files[0]),this.$refs.headerInput&&e.append("header",this.$refs.headerInput.files[0]),axios.post("/api/v0/groups/"+this.group.id+"/settings",e).then((function(e){t.savingChanges=!1,t.group=e.data,swal("Updated!","Successfully updated group settings.","success")})).catch((function(e){t.savingChanges=!1,console.log(e.response),swal("Oops!","An error occured while attempting to save changes. Please try again later.","error")}))},toggleTab:function(t){switch(event&&event.currentTarget.blur(),t){case"home":default:this.tab="home",history.pushState(null,null,"/groups/".concat(this.groupId,"/settings"));break;case"customize":this.tab="customize",history.pushState(null,null,"/groups/".concat(this.groupId,"/settings?tab=customize"));break;case"limits":this.tab="limits",history.pushState(null,null,"/groups/".concat(this.groupId,"/settings?tab=limits"));break;case"interactions":this.interactionLogInitialLoad||this.loadInteractions(),this.tab="interactions",history.pushState(null,null,"/groups/".concat(this.groupId,"/settings?tab=interactions"));break;case"blocked":this.blockedInitialLoad||this.loadBlocks(),this.tab="blocked",history.pushState(null,null,"/groups/".concat(this.groupId,"/settings?tab=blocked"));break;case"advanced":this.tab="advanced",history.pushState(null,null,"/groups/".concat(this.groupId,"/settings?tab=advanced"))}},loadInteractions:function(){var t=this;axios.get("/api/v0/groups/"+this.groupId+"/admin/interactions").then((function(e){t.interactionLog=e.data,t.interactionLogPage++,t.interactionLogInitialLoad=!0}))},loadMoreInteractions:function(){var t=this;axios.get("/api/v0/groups/"+this.groupId+"/admin/interactions",{params:{page:this.interactionLogPage}}).then((function(e){var s;0!=e.data.length?((s=t.interactionLog).push.apply(s,a(e.data)),t.interactionLogPage++):t.interactionLogShowMore=!1}))},loadBlocks:function(){var t=this;axios.get("/api/v0/groups/".concat(this.groupId,"/admin/blocks")).then((function(e){t.blockedInstances=e.data.instances,t.blockedUsers=e.data.users,t.moderatedInstances=e.data.moderated,t.blockedInitialLoad=!0}))},blockAction:function(t){var e=this,s="user"==t?"user":"instance domain";swal({text:"Which ".concat(s,"?"),content:{element:"input",attributes:{placeholder:"user"==s?"pixelfed":"pixelfed.org"}},button:{text:"Next",closeModal:!1}}).then((function(e){if(!e)throw null;return"user"!==t&&e.startsWith("http")?(swal("Oops!","Please enter the instance domain (eg: pixelfed.social)","error"),null):e})).then((function(s){return axios.post("/api/v0/groups/"+e.groupId+"/admin/mbs",{type:"user"==t?"user":"instance",item:s}).then((function(t){return t.data?s:(swal.stopLoading(),swal.close(),null)})).catch((function(t){return swal.stopLoading(),swal.close(),null}))})).then((function(s){s?swal({title:"Are you sure?",text:"moderate"===t?"Manually approve all membership requests from ".concat(s):"Limiting ".concat(s," will purge and reject all interactions with this group"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(a){a&&axios.post("/api/v0/groups/"+e.groupId+"/admin/blocks/add",{item:s,type:t}).then((function(a){switch(t){case"instance":e.blockedInstances.push(s);break;case"user":e.blockedUsers.push(s);break;case"moderate":e.moderatedInstances.push(s)}}))})):e.$bvToast.toast("Invalid ".concat(t,", please try again"),{title:"Error",variant:"danger",autoHideDelay:5e3})}))},reportUrl:function(t){return"/groups/".concat(this.groupId,"/moderation?tab=view&id=").concat(t)},memberInteractionUrl:function(t){return"/groups/".concat(this.groupId,"/members?a=il&pid=").concat(t)},undoBlock:function(t,e){var s=this,a="moderate"==t?"unblock ".concat(e,"?"):"allow anyone to join without approval from ".concat(e,"?");swal({title:"Confirm",text:"Are you sure you want to ".concat(a),buttons:{cancel:{text:"Cancel",value:null,visible:!0,className:"",closeModal:!0},confirm:{text:"Proceed",value:!0,visible:!0,className:"",closeModal:!0}}}).then((function(a){a&&axios.post("/api/v0/groups/".concat(s.groupId,"/admin/blocks/undo"),{item:e,type:t}).then((function(a){switch(t){case"instance":s.blockedInstances=s.blockedInstances.filter((function(t){return t!=e}));break;case"user":s.blockedUsers=s.blockedUsers.filter((function(t){return t!=e}));break;case"moderate":s.moderatedInstances=s.moderatedInstances.filter((function(t){return t!=e}))}}))}))},exportBlocks:function(){event.currentTarget.blur(),axios({url:"/api/v0/groups/"+this.groupId+"/admin/blocks/export",method:"POST",responseType:"blob"}).then((function(t){var e=window.URL.createObjectURL(new Blob([t.data])),s=document.createElement("a");s.href=e,s.setAttribute("download","pixelfed-group-blocks-".concat(Date.now(),".json")),document.body.appendChild(s),s.click()}))},deleteGroup:function(){var t=this;axios.post("/api/v0/groups/delete",{gid:this.groupId}).then((function(e){location.href="/groups/".concat(t.groupId)}))}}}},95727:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>p});var a=s(95002),o=s(90637),i=s(54048),r=s(57397),n=s(65603),l=s(27403),c=s(5799),d=s(49139),u=s(2e4);s(87980);const p={data:function(){return{initialLoad:!1,config:{},groups:[],profile:{},tab:null,searchQuery:void 0}},components:{"autocomplete-input":u.default,"group-status":a.default,"self-discover":i.default,"self-groups":r.default,"self-feed":o.default,"self-notifications":n.default,"self-invitations":l.default,"self-remote-search":c.default,"create-group":d.default},mounted:function(){this.fetchConfig()},methods:{init:function(){document.querySelectorAll("footer").forEach((function(t){return t.parentNode.removeChild(t)})),document.querySelectorAll(".mobile-footer-spacer").forEach((function(t){return t.parentNode.removeChild(t)})),document.querySelectorAll(".mobile-footer").forEach((function(t){return t.parentNode.removeChild(t)})),this.initialLoad=!0},fetchConfig:function(){var t=this;axios.get("/api/v0/groups/config").then((function(e){t.config=e.data,t.fetchProfile()}))},fetchProfile:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(e){t.profile=e.data,t.init(),window._sharedData.curUser=e.data,window.App.util.navatar()}))},fetchSelfGroups:function(){var t=this;axios.get("/api/v0/groups/self/list").then((function(e){t.groups=e.data}))},switchTab:function(t){event.currentTarget.blur(),window.scrollTo(0,0),this.tab=t,"feed"!=t?history.pushState(null,null,"/groups/home?ct="+t):history.pushState(null,null,"/groups/home")},autocompleteSearch:function(t){var e=this;return!t||t.length<2?((this.tab="searchresults")&&(this.tab="feed"),[]):(this.searchQuery=t,t.startsWith("http")?new URL(t).hostname==location.hostname?(location.href=t,[]):[]:t.startsWith("#")?(this.$bvToast.toast(t,{title:"Hashtag detected",variant:"info",autoHideDelay:5e3}),[]):axios.post("/api/v0/groups/search/global",{q:t,v:"0.2"}).then((function(t){return e.searchLoading=!1,t.data})).catch((function(t){return 422===t.response.status&&e.$bvToast.toast(t.response.data.error.message,{title:"Cannot display search results",variant:"danger",autoHideDelay:5e3}),[]})))},getSearchResultValue:function(t){return t.name},onSearchSubmit:function(t){if(t.length<1)return[];location.href=t.url},truncateName:function(t){return t.length<24?t:t.substr(0,23)+"..."}}}},68717:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(7764),o=s(66536);function i(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,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);s0&&(t.children={feed:[],can_load_more:!0}),t}));t.feed=s,t.isLoaded=!0,t.maxReplyId=e.data[e.data.length-1].id,3==t.feed.length&&(t.canLoadMore=!0)})).catch((function(e){t.isLoaded=!0}))},loadMoreComments:function(){var t=this;this.isLoadingMore=!0,axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:this.status.id,limit:3,max_id:this.maxReplyId}}).then((function(e){var s;if(e.data[e.data.length-1].id==t.maxReplyId)return t.isLoadingMore=!1,void(t.canLoadMore=!1);(s=t.feed).push.apply(s,i(e.data)),setTimeout((function(){t.isLoadingMore=!1}),500),t.maxReplyId=e.data[e.data.length-1].id,e.data.length>0?t.canLoadMore=!0:t.canLoadMore=!1})).catch((function(e){t.isLoadingMore=!1,t.canLoadMore=!1}))},storeComment:function(t){var e,s=this;null===(e=t.currentTarget)||void 0===e||e.blur(),axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,content:this.replyContent}).then((function(t){s.replyContent=null,s.feed.unshift(t.data)})).catch((function(t){422==t.response.status?(s.isUploading=!1,s.uploadProgress=0,swal("Oops!",t.response.data.error,"error")):(s.isUploading=!1,s.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},readMore:function(){this.readMoreCursor=this.readMoreCursor+200},likeComment:function(t,e,s){s.target.blur();var a=!t.favourited;this.feed[e].favourited=a,t.favourited=a,axios.post("/api/v0/groups/comment/".concat(a?"like":"unlike"),{sid:t.id,gid:this.groupId})},deleteComment:function(t){var e=this;0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/api/v0/groups/comment/delete",{gid:this.groupId,id:this.feed[t].id}).then((function(s){e.feed.splice(t,1)})).catch((function(t){console.log(t.response),swal("Error","Something went wrong. Please try again later.","error")}))},uploadImage:function(){this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=this,s=new FormData;s.append("gid",this.groupId),s.append("sid",this.status.id),s.append("photo",this.$refs.fileInput.files[0]),axios.post("/api/v0/groups/comment/photo",s,{onUploadProgress:function(t){e.uploadProgress=Math.floor(t.loaded/t.total*100)}}).then((function(e){t.isUploading=!1,t.uploadProgress=0,t.feed.unshift(e.data)})).catch((function(e){422==e.response.status?(t.isUploading=!1,t.uploadProgress=0,swal("Oops!",e.response.data.error,"error")):(t.isUploading=!1,t.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))}},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},replyToChild:function(t,e){var s=this;if(this.replyChildId==t.id)return this.replyChildId=null,void(this.replyChildIndex=null);this.childReplyContent=null,this.replyChildId=t.id,this.replyChildIndex=e,t.hasOwnProperty("replies_loaded")&&t.replies_loaded||this.$nextTick((function(){s.fetchChildReplies(t,e)}))},fetchChildReplies:function(t,e){var s=this;axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:t.id,cid:1,limit:3}}).then((function(t){s.feed[e].hasOwnProperty("children")?(s.feed[e].children.feed.push(t.data),s.feed[e].children.can_load_more=3==t.data.length):s.feed[e].children={feed:t.data,can_load_more:3==t.data.length},s.replyChildMinId=t.data[t.data.length-1].id,s.$nextTick((function(){s.feed[e].replies_loaded=!0}))})).catch((function(t){s.feed[e].children.can_load_more=!1}))},storeChildComment:function(t){var e=this;this.postingChildComment=!0,axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,cid:this.replyChildId,content:this.childReplyContent}).then((function(s){e.childReplyContent=null,e.postingChildComment=!1,e.feed[t].children.feed.push(s.data)})).catch((function(t){422==t.response.status?swal("Oops!",t.response.data.error,"error"):swal("Oops!","An error occured while processing your request, please try again later","error")}))},loadMoreChildComments:function(t,e){var s=this;this.loadingChildComments=!0,axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:t.id,max_id:this.replyChildMinId,cid:1,limit:3}}).then((function(t){var a;s.feed[e].hasOwnProperty("children")?((a=s.feed[e].children.feed).push.apply(a,i(t.data)),s.feed[e].children.can_load_more=3==t.data.length):s.feed[e].children={feed:t.data,can_load_more:3==t.data.length};s.replyChildMinId=t.data[t.data.length-1].id,s.feed[e].replies_loaded=!0,s.loadingChildComments=!1})).catch((function(t){}))}}}},78828:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(7764);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,a=new Array(e);s0?t.canLoadMore=!0:t.canLoadMore=!1})).catch((function(e){t.isLoadingMore=!1,t.canLoadMore=!1}))},storeComment:function(){var t=this;axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,content:this.replyContent}).then((function(e){t.replyContent=null,t.feed.unshift(e.data)})).catch((function(e){422==e.response.status?(t.isUploading=!1,t.uploadProgress=0,swal("Oops!",e.response.data.error,"error")):(t.isUploading=!1,t.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)},readMore:function(){this.readMoreCursor=this.readMoreCursor+200},likeComment:function(t,e,s){s.target.blur();var a=!t.favourited;this.feed[e].favourited=a,t.favourited=a,axios.post("/api/v0/groups/like",{sid:t.id,gid:this.groupId})},deleteComment:function(t){var e=this;0!=window.confirm("Are you sure you want to delete this post?")&&axios.post("/api/v0/groups/status/delete",{gid:this.groupId,id:this.feed[t].id}).then((function(s){e.feed.splice(t,1)})).catch((function(t){console.log(t.response),swal("Error","Something went wrong. Please try again later.","error")}))},uploadImage:function(){this.$refs.fileInput.click()},handleImageUpload:function(){var t=this;if(this.$refs.fileInput.files.length){this.isUploading=!0;var e=this,s=new FormData;s.append("gid",this.groupId),s.append("sid",this.status.id),s.append("photo",this.$refs.fileInput.files[0]),axios.post("/api/v0/groups/comment/photo",s,{onUploadProgress:function(t){e.uploadProgress=Math.floor(t.loaded/t.total*100)}}).then((function(e){t.isUploading=!1,t.uploadProgress=0,t.feed.unshift(e.data)})).catch((function(e){422==e.response.status?(t.isUploading=!1,t.uploadProgress=0,swal("Oops!",e.response.data.error,"error")):(t.isUploading=!1,t.uploadProgress=0,swal("Oops!","An error occured while processing your request, please try again later","error"))}))}},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},replyToChild:function(t,e){this.replyChildId!=t.id?(this.childReplyContent=null,this.replyChildId=t.id,t.hasOwnProperty("replies_loaded")&&t.replies_loaded||this.fetchChildReplies(t,e)):this.replyChildId=null},fetchChildReplies:function(t,e){var s=this;axios.get("/api/v0/groups/comments",{params:{gid:this.groupId,sid:t.id,cid:1,limit:3}}).then((function(t){var a;s.feed[e].hasOwnProperty("children")?((a=s.feed[e].children.feed).push.apply(a,o(t.data)),s.feed[e].children.can_load_more=3==t.data.length):s.feed[e].children={feed:t.data,can_load_more:3==t.data.length};s.feed[e].replies_loaded=!0})).catch((function(t){}))},storeChildComment:function(){var t=this;this.postingChildComment=!0,axios.post("/api/v0/groups/comment",{gid:this.groupId,sid:this.status.id,cid:this.replyChildId,content:this.childReplyContent}).then((function(e){t.childReplyContent=null,t.postingChildComment=!1})).catch((function(t){422==t.response.status?swal("Oops!",t.response.data.error,"error"):swal("Oops!","An error occured while processing your request, please try again later","error")})),console.log(this.replyChildId)}}}},15961:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(74692);const o={props:{status:{type:Object},profile:{type:Object},type:{type:String,default:"status",validator:function(t){return["status","comment","profile"].includes(t)}},groupId:{type:String}},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}},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("/api/v0/groups/".concat(e.groupId,"/report/create"),{type:t,id:s}).then((function(t){e.closeCtxMenu(),swal("Report Sent!","We have successfully received your report.","success")})).catch((function(t){422==t.response.status?swal("Oops!",t.response.data.error,"error"):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,o=(t.account.username,t.id,""),i=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,i.closeModals(),i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.closeModals(),i.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,i.closeModals(),i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.closeModals(),i.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){a.feed=a.feed.filter((function(e){return e.id!=t.id})),swal("Success","Successfully unlisted post","success"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.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"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.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.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},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()}))}}}},3891:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{label:{type:String},inputText:{type:String},val:{type:String},helpText:{type:String},strongText:{type:Boolean,default:!0}},data:function(){return{value:this.val}},watch:{value:function(t,e){this.$emit("update",t)}}}},35334:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{label:{type:String},placeholder:{type:String},categories:{type:Array},val:{type:String},helpText:{type:String},hasLimit:{type:Boolean,default:!1},maxLimit:{type:Number,default:40},largeInput:{type:Boolean,default:!1}},data:function(){return{value:this.val?this.val:""}},watch:{value:function(t,e){this.$emit("update",t)}}}},87844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{label:{type:String},placeholder:{type:String},val:{type:String},helpText:{type:String},hasLimit:{type:Boolean,default:!1},maxLimit:{type:Number,default:40},largeInput:{type:Boolean,default:!1},rows:{type:Number,default:4}},data:function(){return{value:this.val}},watch:{value:function(t,e){this.$emit("update",t)}}}},45065:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{label:{type:String},placeholder:{type:String},val:{type:String},helpText:{type:String},hasLimit:{type:Boolean,default:!1},maxLimit:{type:Number,default:40},largeInput:{type:Boolean,default:!1}},data:function(){return{value:this.val}},watch:{value:function(t,e){this.$emit("update",t)}}}},91446:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{profile:{type:Object},groupId:{type:String}},data:function(){return{config:window.App.config,composeText:void 0,tab:null,placeholder:"Write something...",allowPhoto:!0,allowVideo:!0,allowPolls:!0,allowEvent:!0,pollOptionModel:null,pollOptions:[],pollExpiry:1440,uploadProgress:0,isUploading:!1,isPosting:!1,photoName:void 0,videoName:void 0}},methods:{newPost:function(){var t=this;if(!this.isPosting){this.isPosting=!0;var e=this,s="text",a=new FormData;switch(a.append("group_id",this.groupId),this.composeText&&this.composeText.length&&a.append("caption",this.composeText),this.tab){case"poll":if(!this.pollOptions||this.pollOptions.length<2||this.pollOptions.length>4)return void swal("Oops!","A poll must have 2-4 choices.","error");if(!this.composeText||this.composeText.length<5)return void swal("Oops!","A poll question must be at least 5 characters.","error");for(var o=0;o0&&void 0!==arguments[0])||arguments[0])&&event.currentTarget.blur(),this.tab=null,this.$refs.photoInput.value=null,this.photoName=null,this.$refs.videoInput.value=null,this.videoName=null}}}},15426:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{group:{type:Object}},methods:{timestampFormat:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=new Date(t);return e?s.toDateString()+" · "+s.toLocaleTimeString():s.toDateString()}}}},51796:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(2e4);s(87980);const o={props:{group:{type:Object},profile:{type:Object}},components:{"autocomplete-input":a.default},data:function(){return{query:"",recent:[],loaded:!1,usernames:[],isSubmitting:!1}},methods:{open:function(){this.$refs.modal.show()},close:function(){this.$refs.modal.hide()},autocompleteSearch:function(t){var e=this;return t&&0!=t.length?axios.post("/api/v0/groups/search/invite/friends",{q:t,g:this.group.id,v:"0.2"}).then((function(t){return t.data.filter((function(t){return-1==e.usernames.map((function(t){return t.username})).indexOf(t.username)}))})):[]},getSearchResultValue:function(t){return t.username},onSearchSubmit:function(t){this.usernames.push(t),this.$refs.autocomplete.value=""},removeUsername:function(t){event.currentTarget.blur(),this.usernames.splice(t,1)},submitInvites:function(){var t=this;this.isSubmitting=!0,event.currentTarget.blur(),axios.post("/api/v0/groups/search/invite/friends/send",{g:this.group.id,uids:this.usernames.map((function(t){return t.id}))}).then((function(e){t.usernames=[],t.isSubmitting=!1,t.close(),swal("Success","Successfully sent invite(s)","success")})).catch((function(e){t.usernames=[],t.isSubmitting=!1,422===e.response.status?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later","error"),t.close()}))}}}},68902:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{group:{type:Object},compact:{type:Boolean,default:!1},showStats:{type:Boolean,default:!1},truncateTitleLength:{type:Number,default:19},truncateDescriptionLength:{type:Number,default:22}},data:function(){return{titleLength:40,descriptionLength:60}},mounted:function(){this.compact&&(this.titleLength=19,this.descriptionLength=22),19!=this.truncateTitleLength&&(this.titleLength=this.truncateTitleLength),22!=this.truncateDescriptionLength&&(this.descriptionLength=this.truncateDescriptionLength)},methods:{prettyCount:function(t){return App.util.format.count(t)},truncate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:140;return t.length<=e?t:t.substr(0,e)+" ..."}}}},43599:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(7764),o=s(69513);const i={props:{groupId:{type:String},status:{type:Object},profile:{type:Object}},components:{"read-more":a.default,"comment-drawer":o.default},data:function(){return{loaded:!1}},mounted:function(){this.init()},methods:{init:function(){this.loaded=!0,this.$refs.modal.show()},shortTimestamp:function(t){return window.App.util.format.timeAgo(t)}}}},89905:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(2e4);s(87980);const o={props:{group:{type:Object},profile:{type:Object}},components:{autocomplete:a.default},data:function(){return{query:"",recent:[],loaded:!1}},methods:{open:function(){this.fetchRecent(),this.$refs.modal.show()},close:function(){this.$refs.modal.hide()},fetchRecent:function(){var t=this;axios.get("/api/v0/groups/search/getrec",{params:{g:this.group.id}}).then((function(e){t.recent=e.data}))},autocompleteSearch:function(t){return!t||t.length<2?[]:axios.post("/api/v0/groups/search/lac",{q:t,g:this.group.id,v:"0.2"}).then((function(t){return t.data}))},getSearchResultValue:function(t){return t.username},onSearchSubmit:function(t){if(t.length<1)return[];axios.post("/api/v0/groups/search/addrec",{g:this.group.id,q:{value:t.username,action:t.url}}).then((function(e){location.href=t.url}))},viewMyActivity:function(){location.href="/groups/".concat(this.group.id,"/user/").concat(this.profile.id,"?rf=group_search")},viewGroupSearch:function(){location.href="/groups/home?ct=gsearch&rf=group_search&rfid=".concat(this.group.id)},addToRecentSearches:function(){}}}},6234:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>g});var a=s(69513),o=s(84125),i=s(78841),r=s(21466),n=s(98051),l=s(37128),c=s(61518),d=s(79427),u=s(42013),p=s(93934),f=s(40798),m=s(76746);function h(t){return function(t){if(Array.isArray(t))return v(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 v(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 v(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 v(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,a=new Array(e);s@'+o+"";case"from":return a+' from '+o+"";case"custom":return a+' '+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){e.currentTarget.blur();var s=t.favourites_count,a=t.favourited?"unlike":"like";axios.post("/api/v0/groups/status/"+a,{sid:t.id,gid:this.groupId}).then((function(o){t.favourited=a,t.favourites_count=a?s+1:s-1,t.favourited=a,t.favourited&&setTimeout((function(){e.target.classList.add("animate__animated","animate__bounce")}),100)})).catch((function(t){422==t.response.status?swal("Error",t.response.data.error,"error"):swal("Error","Something went wrong, please try again later.","error")})),window.navigator.vibrate(200)},commentFocus:function(t){t.target.blur(),this.showCommentDrawer=!this.showCommentDrawer},commentSubmit:function(t,e){var s=this;this.replySending=!0;var a=t.id,o=this.replyText,i=this.config.uploader.max_caption_length;if(o.length>i)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+i+" characters or less.","error");axios.post("/i/comment",{item:a,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")},showPostModal:function(){this.showModal=!0,this.$refs.modal.init()},showLikesModal:function(t){t&&t.hasOwnProperty("currentTarget")&&t.currentTarget().blur(),this.$emit("likes-modal")},infiniteLikesHandler:function(t){var e=this;axios.get("/api/v0/groups/"+this.groupId+"/likes/"+this.status.id,{params:{page:this.likesPage}}).then((function(s){var a,o=s.data;o.data.length>0?((a=e.likes).push.apply(a,h(o.data)),e.likesPage++,t.loaded()):t.complete()}))}}}},96895:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={}},70714:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{group:{type:Object}}}},9125:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{group:{type:Object},isAdmin:{type:Boolean,default:!1},isMember:{type:Boolean,default:!1}},data:function(){return{requestingMembership:!1}},methods:{joinGroup:function(){var t=this;this.requestingMembership=!0,axios.post("/api/v0/groups/"+this.group.id+"/join").then((function(e){t.requestingMembership=!1,t.$emit("refresh")})).catch((function(e){var s=e.response;422==s.status&&(t.requestingMembership=!1,swal("Oops!",s.data.error,"error"))}))},cancelJoinRequest:function(){var t=this;window.confirm("Are you sure you want to cancel your request to join this group?")&&axios.post("/api/v0/groups/"+this.group.id+"/cjr").then((function(e){t.requestingMembership=!1,t.$emit("refresh")})).catch((function(t){var e=t.response;422==e.status&&swal("Oops!",e.data.error,"error")}))},leaveGroup:function(){var t=this;window.confirm("Are you sure you want to leave this group? Any content you shared will remain accessible. You won't be able to rejoin for 24 hours.")&&axios.post("/api/v0/groups/"+this.group.id+"/leave").then((function(e){t.$emit("refresh")}))}}}},11493:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(94559);const o={props:{group:{type:Object},isAdmin:{type:Boolean,default:!1},isMember:{type:Boolean,default:!1},atabs:{type:Object},profile:{type:Object}},components:{"search-modal":a.default},methods:{showSearchModal:function(){event.currentTarget.blur(),this.$refs.searchModal.open()}}}},79270:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{fullContent:null,content:null,cursor:200}},mounted:function(){this.cursor=this.cursorLimit,this.fullContent=this.status.content,this.content=this.status.content.substr(0,this.cursor)},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)}}}},93350:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(75386);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,a=new Array(e);s{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(95002);const o={props:{profile:{type:Object}},data:function(){return{feed:[],ids:[],page:1,tab:"feed",initalLoad:!1,emptyFeed:!0}},components:{"group-status":a.default},mounted:function(){this.fetchFeed()},methods:{fetchFeed:function(){var t=this;axios.get("/api/v0/groups/self/feed",{params:{initial:!0}}).then((function(e){t.page++,t.feed=e.data,t.emptyFeed=0===t.feed.length,t.initalLoad=!0}))},infiniteFeed:function(t){var e=this;this.feed.length<2||this.page>5?t.complete():axios.get("/api/v0/groups/self/feed",{params:{page:this.page}}).then((function(s){if(s.data.length){var a=s.data,o=e;a.forEach((function(t){-1==o.ids.indexOf(t.id)&&(o.ids.push(t.id),o.feed.push(t))})),t.loaded(),e.page++}else t.complete()}))},switchTab:function(t){this.tab=t},gotoDiscover:function(){this.$emit("switchtab","discover")}}}},7755:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(75386);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,a=new Array(e);s{"use strict";s.r(e),s.d(e,{default:()=>a});const a={}},93543:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{notifications:[],initialLoad:!1,loading:!0,page:1}},mounted:function(){this.fetchNotifications()},methods:{fetchNotifications:function(){var t=this;axios.get("/api/pixelfed/v1/accounts/verify_credentials").then((function(t){window._sharedData.curUser=t.data,window.App.util.navatar()})),axios.get("/api/v0/groups/self/notifications").then((function(e){var s=e.data.filter((function(t){return!("share"==t.type&&!t.status)&&(!("comment"==t.type&&!t.status)&&(!("mention"==t.type&&!t.status)&&(!("favourite"==t.type&&!t.status)&&!("follow"==t.type&&!t.account))))}));t.notifications=s}))},truncate:function(t){return t.length<=15?t:t.slice(0,15)+"..."},timeAgo:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),a=Math.floor(s/31536e3);return a>=1?a+"y":(a=Math.floor(s/604800))>=1?a+"w":(a=Math.floor(s/86400))>=1?a+"d":(a=Math.floor(s/3600))>=1?a+"h":(a=Math.floor(s/60))>=1?a+"m":Math.floor(s)+"s"},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},followProfile:function(t){var e=this,s=t.account.id;axios.post("/i/follow",{item:s}).then((function(t){e.notifications.map((function(t){t.account.id===s&&(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 t.account.url;case"mention":case"like":case"favourite":case"comment":return t.status.url;case"tagged":return t.tagged.post_url;case"direct":return"/account/direct/t/"+t.account.id}return"/"},getProfileUrl:function(t){return 1==t.local?t.url:"/i/web/profile/_/"+t.id},getPostUrl:function(t){return 1==t.local?t.url:"/i/web/post/_/"+t.account.id+"/"+t.id}}}},60217:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={data:function(){return{q:void 0}}}},33664:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:{group:{type:Object},status:{type:Object},profile:{type:Object},showGroupHeader:{type:Boolean,default:!1},showGroupChevron:{type:Boolean,default:!1}},data:function(){return{reportTypes:[{key:"spam",title:"It's spam"},{key:"sensitive",title:"Nudity or sexual activity"},{key:"abusive",title:"Bullying or harassment"},{key:"underage",title:"I think this account is underage"},{key:"violence",title:"Violence or dangerous organizations"},{key:"copyright",title:"Copyright infringement"},{key:"impersonation",title:"Impersonation"},{key:"scam",title:"Scam or fraud"},{key:"terrorism",title:"Terrorism or terrorism-related content"}]}},methods:{formatCount:function(t){return App.util.format.count(t)},statusUrl:function(t){return"/groups/"+t.gid+"/p/"+t.id},profileUrl:function(t){return"/groups/"+t.gid+"/user/"+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,o=document.createElement("a");switch(o.href=t.account.url,o=o.hostname,e){case"@":default:return a+'@'+o+"";case"from":return a+' from '+o+"";case"custom":return a+' '+s+" "+o+""}},sendReport:function(t){var e=this,s=document.createElement("div");s.classList.add("list-group"),this.reportTypes.forEach((function(t){var e=document.createElement("button");e.classList.add("list-group-item","small"),e.innerHTML=t.title,e.onclick=function(){document.dispatchEvent(new CustomEvent("reportOption",{detail:{key:t.key,title:t.title}}))},s.appendChild(e)}));var a=document.createElement("div");a.appendChild(s),swal({title:"Report Content",icon:"warning",content:a,buttons:!1}),document.addEventListener("reportOption",(function(t){console.log(t.detail),e.showConfirmation(t.detail)}),{once:!0})},showConfirmation:function(t){var e=this;console.log(t),swal({title:"Confirmation",text:"You selected ".concat(t.title,". Do you want to proceed?"),icon:"info",buttons:!0}).then((function(s){s?axios.post("/api/v0/groups/".concat(e.status.gid,"/report/create"),{type:t.key,id:e.status.id}).then((function(t){swal("Confirmed!","Your report has been submitted.","success")})):swal("Cancelled","Your report was not submitted.","error")}))}}}},75e3:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(69513);const o={props:{showCommentDrawer:{type:Boolean},permalinkMode:{type:Boolean},childContext:{type:Object},status:{type:Object},profile:{type:Object},groupId:{type:String}},components:{"comment-drawer":a.default}}},33422:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"]}},36639:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(18634);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,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)}}}}},9266:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(18634);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,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}}}},35986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});const a={props:["status"]}},25189:(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")},poster:function(){var t=this.status.media_attachments[0].preview_url;if(!t.endsWith("no-preview.jpg")&&!t.endsWith("no-preview.png"))return t}}}},70384:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var a=s(74692);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()},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,o=(t.account.username,t.id,""),i=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,i.closeModals(),i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.closeModals(),i.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,i.closeModals(),i.ctxModMenuClose()})).catch((function(t){swal("Error","Something went wrong, please try again later.","error"),i.closeModals(),i.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){a.feed=a.feed.filter((function(e){return e.id!=t.id})),swal("Success","Successfully unlisted post","success"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.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"),i.closeModals(),i.ctxModMenuClose()})).catch((function(t){i.closeModals(),i.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()}))}}}},78615:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(53744),o=s(74692);const i={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:()=>r});var a=s(53744),o=s(78841),i=s(74692);const r={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":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,a=t.account.username,o=document.createElement("a");switch(o.href=t.account.url,o=o.hostname,e){case"@":default:return a+'@'+o+"";case"from":return a+' from '+o+"";case"custom":return a+' '+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!=i("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,o=this.replyText,i=this.config.uploader.max_caption_length;if(o.length>i)return this.replySending=!1,void swal("Comment Too Long","Please make sure your comment is "+i+" characters or less.","error");axios.post("/i/comment",{item:a,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)}}}},93409:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-component"},["home"===t.tab?e("div",[e("groups-home")],1):t._e(),t._v(" "),"createGroup"===t.tab?e("div",[e("create-group")],1):t._e(),t._v(" "),"show"===t.tab?e("div",[e("group-feed",{attrs:{"group-id":t.groupId,path:t.path}})],1):t._e()])},o=[]},78058:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"create-group-component col-12 col-md-9",staticStyle:{height:"100vh - 51px !important",overflow:"hidden"}},[t.hide?t._e():e("div",{staticClass:"row h-100 bg-lighter"},[e("div",{staticClass:"col-12 col-md-8 border-left"},[t._m(0),t._v(" "),e("div",{staticClass:"px-2 mb-5"},[e("div",{staticClass:"mt-4"},[e("text-input",{attrs:{label:"Group Name",value:t.name,hasLimit:!0,maxLimit:t.limit.name.max,placeholder:"Add your group name",helpText:"Alphanumeric characters only, you can change this later.",largeInput:!0},on:{update:function(e){return t.handleUpdate("name",e)}}}),t._v(" "),e("hr"),t._v(" "),e("select-input",{attrs:{label:"Group Type",value:t.membership,categories:t.membershipCategories,placeholder:"Select a type",helpText:"Select the membership type, you can change this later."},on:{update:function(e){return t.handleUpdate("membership",e)}}}),t._v(" "),e("hr"),t._v(" "),e("select-input",{attrs:{label:"Group Category",value:t.category,categories:t.categories,placeholder:"Select a category",helpText:"Choose the most relevant category to improve discovery and visibility"},on:{update:function(e){return t.handleUpdate("category",e)}}}),t._v(" "),e("hr"),t._v(" "),e("text-area-input",{attrs:{label:"Group Description",value:t.description,hasLimit:!0,maxLimit:t.limit.description.max,placeholder:"Describe your groups purpose in a few words",helpText:"Describe your groups purpose in a few words, you can change this later."},on:{update:function(e){return t.handleUpdate("description",e)}}}),t._v(" "),e("hr"),t._v(" "),e("checkbox-input",{attrs:{label:"Adult Content",inputText:"Allow Adult Content",value:t.configuration.adult,helpText:"Groups that allow adult content should enable this or risk suspension or deletion by instance admins. Illegal content is prohibited. You can change this later."}}),t._v(" "),e("hr"),t._v(" "),e("checkbox-input",{attrs:{label:"",inputText:"I agree to the the Community Guidelines and Terms of Use and will administrate this group according to the rules set by this server. I understand that failure to abide by these terms may lead to the suspension of this group, and my account.",value:t.hasConfirmed,strongText:!1},on:{update:function(e){return t.handleUpdate("hasConfirmed",e)}}}),t._v(" "),e("button",{staticClass:"btn btn-primary btn-block font-weight-bold rounded-pill mt-4",attrs:{disabled:!t.hasConfirmed},on:{click:t.createGroup}},[t._v("\n Create Group\n ")])],1)])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4 bg-white"})])])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"bg-dark p-5 mx-n3"},[e("p",{staticClass:"h1 font-weight-bold text-light mb-2"},[t._v("Create Group")]),t._v(" "),e("p",{staticClass:"text-lighter mb-0"},[t._v("Create a new federated Group that is compatible with other Pixelfed and Lemmy servers")])])}]},91057:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-feed-component"},[t.initalLoad?e("div",[e("div",{staticClass:"mb-3 border-bottom"},[e("div",{staticClass:"container-xl"},[e("group-banner",{attrs:{group:t.group}}),t._v(" "),e("group-header-details",{attrs:{group:t.group,isAdmin:t.isAdmin,isMember:t.isMember},on:{refresh:t.handleRefresh}}),t._v(" "),e("group-nav-tabs",{attrs:{group:t.group,isAdmin:t.isAdmin,isMember:t.isMember,atabs:t.atabs}})],1)]),t._v(" "),e("div",{staticClass:"container-xl group-feed-component-body"},[e("div",{staticClass:"row mb-5"},[e("div",{staticClass:"col-12 col-md-7 mt-3"},[t.group.self.is_member?e("div",[t.initalLoad?e("group-compose",{attrs:{profile:t.profile,"group-id":t.groupId},on:{"new-status":t.pushNewStatus}}):t._e(),t._v(" "),0==t.feed.length?e("div",{staticClass:"mt-3"},[t._m(0)]):e("div",{staticClass:"group-timeline"},[e("p",{staticClass:"font-weight-bold mb-1"},[t._v("Recent Posts")]),t._v(" "),t._l(t.feed,(function(s,a){return e("group-status",{key:"gs:"+s.id+a,attrs:{prestatus:s,profile:t.profile,"group-id":t.groupId},on:{"comment-focus":function(e){return t.commentFocus(a)},"status-delete":function(e){return t.statusDelete(a)},"likes-modal":function(e){return t.showLikesModal(a)}}})})),t._v(" "),e("b-modal",{ref:"likeBox",attrs:{size:"sm",centered:"","hide-footer":"",title:"Likes","body-class":"list-group-flush p-0"}},[e("div",{staticClass:"list-group py-1",staticStyle:{"max-height":"300px","overflow-y":"auto"}},[t._l(t.likes,(function(s,a){return e("div",{key:"modal_likes_"+a,staticClass:"list-group-item border-top-0 border-left-0 border-right-0 py-2",class:{"border-bottom-0":a+1==t.likes.length}},[e("div",{staticClass:"media align-items-center"},[e("a",{attrs:{href:s.url}},[e("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:s.avatar,alt:s.username+"’s avatar",width:"30px",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:s.url}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.local?e("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\t\t\t\t"+t._s(s.display_name)+"\n\t\t\t\t\t\t\t\t\t\t\t\t\t")]):e("p",{staticClass:"text-muted mb-0 text-truncate mr-3",staticStyle:{"font-size":"14px"},attrs:{title:s.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.acct.split("@")[0]))]),e("span",{staticClass:"text-lighter"},[t._v("@"+t._s(s.acct.split("@")[1]))])])])])])})),t._v(" "),e("infinite-loading",{attrs:{distance:800,spinner:"spiral"},on:{infinite:t.infiniteLikesHandler}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],2)]),t._v(" "),t.feed.length>2?e("div",{attrs:{distance:800}},[e("infinite-loading",{on:{infinite:t.infiniteFeed}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1):t._e()],2)],1):e("div",[t._m(1)])]),t._v(" "),e("div",{staticClass:"col-12 col-md-5"},[e("group-info-card",{attrs:{group:t.group}})],1)]),t._v(" "),e("search-modal",{ref:"searchModal",attrs:{group:t.group,profile:t.profile}}),t._v(" "),e("invite-modal",{ref:"inviteModal",attrs:{group:t.group,profile:t.profile}})],1)]):e("div",[e("p",{staticClass:"text-center mt-5 pt-5 font-weight-bold"},[t._v("Loading...")])])])},o=[function(){var t=this._self._c;return t("div",{staticClass:"card card-body shadow-none border d-flex align-items-center justify-content-center",staticStyle:{height:"200px"}},[t("p",{staticClass:"font-weight-bold mb-0"},[this._v("No posts yet!")])])},function(){var t=this._self._c;return t("div",{staticClass:"card card-body mt-3 shadow-none border d-flex align-items-center justify-content-center",staticStyle:{height:"100px"}},[t("p",{staticClass:"lead mb-0"},[this._v("Join to participate in this group.")])])}]},62959:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-invite-component"},[e("div",{staticClass:"container"},[e("div",{staticClass:"row justify-content-center mt-5"},[e("div",{staticClass:"col-12 col-md-7"},[e("div",{staticClass:"card shadow-none border",staticStyle:{"min-height":"300px"}},[e("div",{staticClass:"card-body d-flex justify-content-center align-items-center"},[e("transition-group",{attrs:{name:"fade"}},["initial"===t.tab?e("div",{key:"initial"},[e("p",{staticClass:"text-center mb-1"},[e("b-spinner",{attrs:{variant:"lighter"}})],1),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v(t._s(t.loadingStatus))])]):"loading"===t.tab?e("div",{key:"loading"},[e("p",{staticClass:"text-center mb-1"},[e("b-spinner",{attrs:{variant:"lighter"}})],1)]):"login"===t.tab?e("div",{key:"login"},[e("p",{staticClass:"text-center mb-0"},[t._v("Please "),e("a",{attrs:{href:"/login"}},[t._v("login")]),t._v(" to continue")])]):"form"===t.tab?e("div",{key:"form"},[e("div",{staticClass:"d-flex justify-content-center align-items-center flex-column"},[e("p",{staticClass:"text-center h4 font-weight-bold"},[e("a",{attrs:{href:"#"}},[t._v("@dansup")]),t._v(" invited you to join")]),t._v(" "),e("div",{staticClass:"card my-3 shadow-none border",staticStyle:{width:"300px"}},[t.group.metadata&&t.group.metadata.hasOwnProperty("header")?e("img",{staticClass:"card-img-top",staticStyle:{width:"100%",height:"100px","object-fit":"cover"},attrs:{src:t.group.metadata.header.url}}):e("div",{staticClass:"card-img-top",staticStyle:{width:"100px",height:"100px",padding:"5px"}},[e("div",{staticClass:"bg-primary d-flex align-items-center justify-content-center",staticStyle:{width:"100%",height:"100%"}},[e("i",{staticClass:"fal fa-users text-white fa-lg"})])]),t._v(" "),e("div",{staticClass:"card-body"},[e("p",{staticClass:"h5 font-weight-bold mb-1 text-dark"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.group.name||"Untitled Group")+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.showMore?e("p",{staticClass:"text-muted small mb-1"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.group.description)+"\n\t\t\t\t\t\t\t\t\t\t\t")]):t._e()]),t._v(" "),e("p",{staticClass:"mb-1"},[e("span",{staticClass:"text-muted mr-2"},[e("i",{staticClass:"far fa-users fa-sm text-lighter mr-1"}),t._v(" "),e("span",{staticClass:"small font-weight-bold"},[t._v(t._s(t.prettyCount(t.group.member_count))+" Members")])]),t._v(" "),t.group.local?t._e():e("span",{staticClass:"remote-label ml-2"},[e("i",{staticClass:"fal fa-globe"}),t._v(" Remote\n\t\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.showMore?e("div",[e("p",{staticClass:"text-muted small mb-1"},[e("i",{staticClass:"far fa-tag fa-sm text-lighter mr-2"}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v("Category: "+t._s(t.group.category.name))])]),t._v(" "),e("p",{staticClass:"text-muted small mb-1"},[e("i",{staticClass:"far fa-clock fa-sm text-lighter mr-2"}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v("Created "+t._s(t.timeago(t.group.created_at))+" ago")])])]):t._e()])],1)])]),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light border-lighter font-weight-bold btn-sm",on:{click:t.showMoreInfo}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.showMore?"Less":"More")+" info\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold btn-sm",on:{click:t.declineInvite}},[t._v("Decline")]),t._v(" "),e("button",{staticClass:"btn btn-primary font-weight-bold btn-sm",on:{click:t.acceptInvite}},[t._v("Accept")])])])]):"existingmember"===t.tab?e("div",{key:"existingmember"},[e("p",{staticClass:"text-center mb-0"},[t._v("You already are a member of this group")]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"font-weight-bold",attrs:{href:t.group.url}},[t._v("View Group")])])]):"notinvited"===t.tab?e("div",{key:"notinvited"},[e("p",{staticClass:"text-center mb-0"},[t._v("We cannot find an active invitation for your account.")])]):"error"===t.tab?e("div",{key:"error"},[e("p",{staticClass:"text-center mb-0"},[t._v("An unknown error occured. Please try again later.")])]):e("div",{key:"unknown"},[e("p",{staticClass:"text-center mb-0"},[t._v("An unknown error occured. Please try again later.")])])])],1)])])])])])},o=[]},80311:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-profile-component w-100 h-100"},[e("div",{staticClass:"bg-white mb-3 border-bottom"},[e("div",{staticClass:"container-xl header"},[e("div",{staticClass:"header-jumbotron"}),t._v(" "),e("div",{staticClass:"header-profile-card"},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}),t._v(" "),e("p",{staticClass:"name"},[t._v("\n\t\t\t\t\t"+t._s(t.profile.display_name)+"\n\t\t\t\t")]),t._v(" "),e("p",{staticClass:"username text-muted"},[t.profile.local?e("span",[t._v("@"+t._s(t.profile.username))]):e("span",[t._v(t._s(t.profile.acct))]),t._v(" "),t.profile.is_admin?e("span",{staticClass:"text-danger ml-1",attrs:{title:"Site administrator","data-toggle":"tooltip","data-placement":"bottom"}},[e("i",{staticClass:"far fa-users-crown"})]):t._e()])]),t._v(" "),e("div",{staticClass:"header-navbar"},[e("div"),t._v(" "),e("div",[t.currentProfile.id===t.profile.id?e("a",{staticClass:"btn btn-light font-weight-bold mr-2",attrs:{href:"/settings/home"}},[e("i",{staticClass:"fas fa-edit mr-1"}),t._v(" Edit Profile\n\t\t\t\t\t")]):t._e(),t._v(" "),t.profile.relationship.following?e("a",{staticClass:"btn btn-primary font-weight-bold mr-2",attrs:{href:t.profile.url}},[e("i",{staticClass:"far fa-comment-alt-dots mr-1"}),t._v(" Message\n\t\t\t\t\t")]):t._e(),t._v(" "),t.profile.relationship.following?e("a",{staticClass:"btn btn-light font-weight-bold mr-2",attrs:{href:t.profile.url}},[e("i",{staticClass:"fas fa-user-check mr-1"}),t._v(" "+t._s(t.profile.relationship.followed_by?"Friends":"Following")+"\n\t\t\t\t\t")]):t._e(),t._v(" "),t.profile.relationship.following?t._e():e("a",{staticClass:"btn btn-light font-weight-bold mr-2",attrs:{href:t.profile.url}},[e("i",{staticClass:"fas fa-user mr-1"}),t._v(" View Main Profile\n\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"dropdown"},[t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right",attrs:{"aria-labelledby":"amenu"}},[t.currentProfile.id!=t.profile.id?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/report?type=user&id=".concat(t.profile.id)}},[t._v("Report")]):t._e(),t._v(" "),t.currentProfile.id==t.profile.id?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"#"}},[t._v("Leave Group")]):t._e()])])])])])]),t._v(" "),e("div",{staticClass:"w-100 h-100 group-profile-feed"},[e("div",{staticClass:"container-xl"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-5"},[e("div",{staticClass:"card card-body shadow-sm infolet"},[e("h5",{staticClass:"font-weight-bold mb-3"},[t._v("Intro")]),t._v(" "),t.profile.local?t._e():e("div",{staticClass:"media mb-3 align-items-center"},[t._m(1),t._v(" "),e("div",{staticClass:"media-body"},[t._v("\n\t\t\t\t\t\t\t\tRemote member from "),e("strong",[t._v(t._s(t.profile.acct.split("@")[1]))])])]),t._v(" "),e("div",{staticClass:"media align-items-center"},[t._m(2),t._v(" "),e("div",{staticClass:"media-body"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.roleTitle)+" of "),e("strong",[t._v(t._s(t.group.name))]),t._v(" since "+t._s(t.profile.group.joined)+"\n\t\t\t\t\t\t\t")])])]),t._v(" "),t.canIntersect?e("div",{staticClass:"card card-body shadow-sm infolet"},[e("h5",{staticClass:"font-weight-bold mb-3"},[t._v("Things in Common")]),t._v(" "),t.commonIntersects.friends.length?t._m(4):t._e(),t._v(" "),t._m(5),t._v(" "),t.commonIntersects.groups.length?e("div",{staticClass:"media mb-3 align-items-center"},[t._m(6),t._v(" "),e("div",{staticClass:"media-body"},[t._v("\n\t\t\t\t\t\t\t\tAlso member of "),e("a",{staticClass:"text-dark font-weight-bold",attrs:{href:t.commonIntersects.groups[0].url}},[t._v(t._s(t.commonIntersects.groups[0].name))]),t._v(" and "+t._s(t.commonIntersects.groups_count)+" other groups\n\t\t\t\t\t\t\t")])]):t._e(),t._v(" "),t.commonIntersects.topics.length?e("div",{staticClass:"media mb-0 align-items-center"},[t._m(7),t._v(" "),e("div",{staticClass:"media-body"},[t._v("\n\t\t\t\t\t\t\t\tAlso interested in topics containing\n\t\t\t\t\t\t\t\t"),t._l(t.commonIntersects.topics,(function(s,a){return e("span",[t.commonIntersects.topics.length-1==a?e("span",[t._v(" and ")]):t._e(),e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:s.url}},[t._v("#"+t._s(s.name))]),t.commonIntersects.topics.length>a+2?e("span",[t._v(", ")]):t._e()])})),t._v(" hashtags\n\t\t\t\t\t\t\t")],2)]):t._e()]):t._e()]),t._v(" "),e("div",{staticClass:"col-12 col-md-7"},[t._m(8),t._v(" "),t.feedEmpty?e("div",{staticClass:"pt-5 text-center"},[e("h5",[t._v("No New Posts")]),t._v(" "),e("p",[t._v(t._s(t.profile.username)+" hasn't posted anything yet in "),e("strong",[t._v(t._s(t.group.name))]),t._v(".")]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.group.url}},[t._v("Go Back")])]):t._e(),t._v(" "),t.feedLoaded?e("div",{staticClass:"mt-2"},[t._l(t.feed,(function(s,a){return e("group-status",{key:"gps:"+s.id,attrs:{permalinkMode:!0,showGroupChevron:!0,group:t.group,prestatus:s,profile:t.profile,"group-id":t.group.id}})})),t._v(" "),t.feed.length>=1?e("div",{attrs:{distance:800}},[e("infinite-loading",{on:{infinite:t.infiniteFeed}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1):t._e()],2):t._e()])])])])])},o=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-light font-weight-bold dropdown-toggle",attrs:{type:"button",id:"amenu","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[t("i",{staticClass:"fas fa-ellipsis-h"})])},function(){var t=this._self._c;return t("div",{staticClass:"media-icon"},[t("i",{staticClass:"far fa-globe",attrs:{title:"User is from a remote server","data-toggle":"tooltip","data-placement":"bottom"}})])},function(){var t=this._self._c;return t("div",{staticClass:"media-icon"},[t("i",{staticClass:"fas fa-users",attrs:{title:"User joined group on this date","data-toggle":"tooltip","data-placement":"bottom"}})])},function(){var t=this._self._c;return t("div",{staticClass:"media-icon"},[t("i",{staticClass:"far fa-user-friends"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"media mb-3 align-items-center"},[t._m(3),t._v(" "),e("div",{staticClass:"media-body"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.commonIntersects.friends_count)+" mutual friend"),t.commonIntersects.friends.length>1?e("span",[t._v("s")]):t._e(),t._v(" including\n\t\t\t\t\t\t\t\t"),t._l(t.commonIntersects.friends,(function(s,a){return e("span",[e("a",{staticClass:"text-dark font-weight-bold",attrs:{href:s.url}},[t._v(t._s(s.acct))]),t.commonIntersects.friends.length>a+1?e("span",[t._v(", ")]):e("span")])}))],2)])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"media mb-3 align-items-center"},[e("div",{staticClass:"media-icon"},[e("i",{staticClass:"fas fa-home"})]),t._v(" "),e("div",{staticClass:"media-body"},[t._v("\n\t\t\t\t\t\t\t\tLives in "),e("strong",[t._v("Canada")])])])},function(){var t=this._self._c;return t("div",{staticClass:"media-icon"},[t("i",{staticClass:"fas fa-users"})])},function(){var t=this._self._c;return t("div",{staticClass:"media-icon"},[t("i",{staticClass:"far fa-thumbs-up fa-lg text-lighter"})])},function(){var t=this._self._c;return t("div",{staticClass:"card card-body shadow-sm"},[t("h5",{staticClass:"font-weight-bold mb-0"},[this._v("Group Posts")])])}]},902:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-settings-component"},[t.initalLoad?e("div",[e("div",{staticClass:"bg-white mb-3 border-bottom"},[e("div",{staticClass:"container"},[e("div",{staticClass:"col-12 group-settings-component-header"},[e("div",[e("h1",{staticClass:"font-weight-bold mb-4"},[t._v("Group Settings")]),t._v(" "),e("p",{staticClass:"text-muted mb-0"},[t._m(0),t._v(" "),e("span",{staticClass:"mx-2"},[t._v("\n\t\t\t\t\t\t\t\t·\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",[t._v(t._s(1==t.group.member_count?t.group.member_count+" Member":t.group.member_count+" Members"))]),t._v(" "),e("span",{staticClass:"mx-2"},[t._v("\n\t\t\t\t\t\t\t\t·\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"text-lighter"},[t._v("ID:"+t._s(t.group.id))])])]),t._v(" "),e("div",[t.isAdmin?e("a",{staticClass:"mr-2 btn btn-outline-secondary rounded-pill cta-btn font-weight-bold",attrs:{href:t.group.url}},[e("i",{staticClass:"fas fa-chevron-left mr-1"}),t._v(" Back to Group\n\t\t\t\t\t\t")]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-primary font-weight-bold rounded-pill px-4",attrs:{disabled:t.savingChanges},on:{click:t.submit}},[t._v("\n\t\t\t\t\t\t\tSave Changes\n\t\t\t\t\t\t")])])]),t._v(" "),e("div",{staticClass:"col-12"},[e("ul",{staticClass:"nav nav-tabs border-bottom-0 font-weight-bold small"},[e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:"home"==t.tab},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab("home")}}},[t._v("\n\t\t\t\t\t\t\t\tGeneral\n\t\t\t\t\t\t\t")])]),t._v(" "),e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:"customize"==t.tab},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab("customize")}}},[t._v("\n\t\t\t\t\t\t\t\tCustomize\n\t\t\t\t\t\t\t")])]),t._v(" "),e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:"blocked"==t.tab},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab("blocked")}}},[t._v("\n\t\t\t\t\t\t\t\tDomain/User Blocks\n\t\t\t\t\t\t\t")])]),t._v(" "),e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:"interactions"==t.tab},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab("interactions")}}},[t._v("\n\t\t\t\t\t\t\t\tInteractions\n\t\t\t\t\t\t\t")])]),t._v(" "),e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:"limits"==t.tab},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab("limits")}}},[t._v("\n\t\t\t\t\t\t\t\tLimits\n\t\t\t\t\t\t\t")])]),t._v(" "),e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:"advanced"==t.tab},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab("advanced")}}},[t._v("\n\t\t\t\t\t\t\t\tAdvanced\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"container-xl pt-3"},["home"==t.tab?e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6 offset-md-3"},[e("div",{},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Name")]),t._v(" "),e("input",{staticClass:"form-control",attrs:{disabled:""},domProps:{value:t.group.name}}),t._v(" "),e("p",{staticClass:"form-text small text-muted"},[t._v("You cannot change a groups name at this time.")])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Category")]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.category,expression:"category"}],staticClass:"custom-select",on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.category=e.target.multiple?s:s[0]}}},[e("option",{attrs:{value:"",selected:"",disabled:""}},[t._v("Select a category")]),t._v(" "),t._l(t.categories,(function(s){return e("option",{domProps:{value:s}},[t._v(t._s(s))])}))],2),t._v(" "),e("p",{staticClass:"form-text small text-muted"},[t._v("Choose the most relevant category to improve discovery and visibility")])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Description")]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.group.description,expression:"group.description"}],staticClass:"form-control",staticStyle:{resize:"none"},attrs:{rows:"4"},domProps:{value:t.group.description},on:{input:function(e){e.target.composing||t.$set(t.group,"description",e.target.value)}}}),t._v(" "),e("span",{staticClass:"form-text small text-muted font-weight-bold text-right"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.group.description?t.group.description.length:0)+"/500\n\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"form-text small text-muted"},[t._v("A plain text description of your group. Be as descriptive as possible to give potential members a better idea of what to expect.")])])])])]):t._e(),t._v(" "),"customize"==t.tab?e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6 offset-md-3"},[e("div",{},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Avatar Photo")]),t._v(" "),t.group.metadata&&t.group.metadata.hasOwnProperty("avatar")?e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("img",{staticClass:"rounded-circle border",staticStyle:{"object-fit":"cover"},attrs:{src:t.group.metadata.avatar.url,width:"100",height:"100"}}),t._v(" "),t._m(1)]):e("div",[e("div",{staticClass:"custom-file"},[e("input",{ref:"avatarInput",staticClass:"custom-file-input",attrs:{type:"file"}}),t._v(" "),e("label",{staticClass:"custom-file-label",attrs:{for:"avatarInput"}},[t._v("Choose file")])]),t._v(" "),e("p",{staticClass:"form-text small text-muted"},[t._v("Must be jpeg or png format, up to 2MB")])])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Header Photo")]),t._v(" "),t.group.metadata&&t.group.metadata.hasOwnProperty("header")?e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("img",{staticClass:"rounded border",staticStyle:{"object-fit":"cover"},attrs:{src:t.group.metadata.header.url,width:"200",height:"100"}}),t._v(" "),t._m(2)]):e("div",[e("div",{staticClass:"custom-file"},[e("input",{ref:"headerInput",staticClass:"custom-file-input",attrs:{type:"file"}}),t._v(" "),e("label",{staticClass:"custom-file-label",attrs:{for:"headerInput"}},[t._v("Choose file")])]),t._v(" "),e("p",{staticClass:"form-text small text-muted"},[t._v("Must be jpeg or png format, up to 10MB")])])])])])]):t._e(),t._v(" "),"interactions"==t.tab?e("div",{staticClass:"row"},[t._m(3),t._v(" "),e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"list-group"},[t._l(t.interactionLog,(function(s,a){return e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:s.profile.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.profile.username))]),t._v(" "),"group:comment:created"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tcommented on a "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.sidToUrl(s.metadata.status_id)}},[t._v("post")])]):"group:joined"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tjoined the group\n\t\t\t\t\t\t\t\t\t")]):"group:like"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tliked a "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.sidToUrl(s.metadata.status_id)}},[t._v("post")])]):"group:settings:updated"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tupdated the "),e("a",{staticClass:"font-weight-bold",attrs:{href:""}},[t._v("group settings")])]):"group:status:created"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tcreated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.sidToUrl(s.metadata.status_id)}},[t._v("post")])]):"group:status:deleted"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tdeleted a "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.sidToUrl(s.metadata.status_id)}},[t._v("post")])]):"group:unlike"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tunliked a "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.sidToUrl(s.metadata.status_id)}},[t._v("post")])]):"group:admin:block:instance"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tblocked "),e("span",{staticClass:"font-weight-bold text-primary"},[t._v(t._s(s.metadata.domain))])]):"group:admin:block:user"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tblocked "),e("a",{staticClass:"font-weight-bold text-primary",attrs:{href:"/"+s.metadata.username}},[t._v(t._s(s.metadata.username))])]):"group:report:create"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tcreated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.reportUrl(s.metadata.report_id)}},[t._v("report")]),t._v(" about "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/"+s.metadata.username}},[t._v(t._s(s.metadata.username))]),t._v("'s "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.metadata.url}},[t._v("post")])]):"group:moderation:action"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\thandled a "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.reportUrl(s.metadata.report_id)}},[t._v("mod report")]),t._v(" regarding "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.metadata.status_url}},[t._v("this post")])]):"group:member-limits:updated"==s.type?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tupdated "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.memberInteractionUrl(s.metadata.profile_id)}},[t._v("interaction limits")]),t._v(" for "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/"+s.metadata.username}},[t._v(t._s(s.metadata.username))])]):e("span",[t._v(t._s(s.type))]),t._v(" "),e("div",{staticClass:"float-right text-muted small font-weight-bold"},[t._v(t._s(t.timeago(s.created_at)))])])])])})),t._v(" "),t.interactionLogShowMore?e("div",{staticClass:"list-group-item"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block",on:{click:t.loadMoreInteractions}},[t._v("Load more")])]):t._e()],2)]),t._v(" "),t._m(4)]):t._e(),t._v(" "),"blocked"==t.tab?e("div",{staticClass:"row"},[t._m(5),t._v(" "),e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"card mb-3"},[e("div",{staticClass:"card-header text-muted font-weight-bold small"},[t._v("Blocked Instances")]),t._v(" "),e("div",{staticClass:"list-group list-group-flush"},[t._l(t.blockedInstances,(function(s){return e("div",{staticClass:"list-group-item d-flex justify-content-between align-items-center"},[e("div",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-light",on:{click:function(e){return e.preventDefault(),t.undoBlock("instance",s)}}},[e("i",{staticClass:"far fa-trash-alt text-lighter"})])])})),t._v(" "),3==t.blockedInstances.length?e("div",{staticClass:"list-group-item"},[e("p",{staticClass:"mb-0 small font-weight-bold text-lighter text-center"},[t._v("View All")])]):t._e()],2)]),t._v(" "),e("div",{staticClass:"card mb-3"},[e("div",{staticClass:"card-header text-muted font-weight-bold small"},[t._v("Blocked Users")]),t._v(" "),e("div",{staticClass:"list-group list-group-flush"},[t._l(t.blockedUsers,(function(s){return e("div",{staticClass:"list-group-item d-flex justify-content-between align-items-center"},[e("div",[e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:"/storage/avatars/default.jpg",width:"32",height:"32"}}),t._v(t._s(s)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-light",on:{click:function(e){return e.preventDefault(),t.undoBlock("user",s)}}},[e("i",{staticClass:"far fa-trash-alt text-lighter"})])])})),t._v(" "),3==t.blockedUsers.length?e("div",{staticClass:"list-group-item"},[e("p",{staticClass:"mb-0 small font-weight-bold text-lighter text-center"},[t._v("View All")])]):t._e()],2)]),t._v(" "),e("div",{staticClass:"card mb-3"},[e("div",{staticClass:"card-header text-muted font-weight-bold small"},[t._v("Moderated Join Requests")]),t._v(" "),e("div",{staticClass:"list-group list-group-flush"},t._l(t.moderatedInstances,(function(s){return e("div",{staticClass:"list-group-item d-flex justify-content-between align-items-center"},[e("div",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-light",on:{click:function(e){return e.preventDefault(),t.undoBlock("moderate",s)}}},[e("i",{staticClass:"far fa-trash-alt text-lighter"})])])})),0)])]),t._v(" "),e("div",{staticClass:"col-12 col-md-3"},[e("button",{staticClass:"btn btn-light border btn-block font-weight-bold",on:{click:function(e){return e.preventDefault(),t.blockAction("instance")}}},[t._v("Block Instance")]),t._v(" "),e("button",{staticClass:"btn btn-light border btn-block font-weight-bold",on:{click:function(e){return e.preventDefault(),t.blockAction("user")}}},[t._v("Block User")]),t._v(" "),e("button",{staticClass:"btn btn-light border btn-block font-weight-bold",on:{click:function(e){return e.preventDefault(),t.blockAction("moderate")}}},[t._v("Moderate Join Requests")]),t._v(" "),e("hr"),t._v(" "),e("button",{staticClass:"btn btn-light border btn-block font-weight-bold"},[t._v("Import")]),t._v(" "),e("button",{staticClass:"btn btn-light border btn-block font-weight-bold",on:{click:function(e){return e.preventDefault(),t.exportBlocks()}}},[t._v("Export")])])]):t._e(),t._v(" "),"advanced"==t.tab?e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6 offset-md-3"},[e("div",{staticClass:"mt-3"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold"},[t._v("Membership")]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.group.membership,expression:"group.membership"}],staticClass:"form-control rounded-pill",on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.group,"membership",e.target.multiple?s:s[0])}}},[e("option",{attrs:{value:"all"}},[t._v("Public")]),t._v(" "),e("option",{attrs:{value:"private"}},[t._v("Private")]),t._v(" "),e("option",{attrs:{value:"local"}},[t._v("Local")])]),t._v(" "),e("p",{staticClass:"help-text mt-1"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.membershipDescription[t.group.membership])+"\n\t\t\t\t\t\t\t")])])]),t._v(" "),e("hr"),t._v(" "),"local"!==t.group.membership?e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-sm-12"},[e("div",{staticClass:"mb-1"},[e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.advanced.activitypub,expression:"advanced.activitypub"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.advanced.activitypub)?t._i(t.advanced.activitypub,null)>-1:t.advanced.activitypub},on:{change:function(e){var s=t.advanced.activitypub,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&t.$set(t.advanced,"activitypub",s.concat([null])):i>-1&&t.$set(t.advanced,"activitypub",s.slice(0,i).concat(s.slice(i+1)))}else t.$set(t.advanced,"activitypub",o)}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold text-dark text-capitalize ml-1"},[t._v("Enable ActivityPub")])])]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.advanced.activitypub?t._e():e("div",{staticClass:"alert alert-info mt-2"},[e("div",{staticClass:"media align-items-center"},[e("i",{staticClass:"far fa-exclamation-circle fa-2x mr-3"}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Federation Warning")]),t._v(" "),e("p",{staticClass:"small mb-0",staticStyle:{"font-weight":"600"}},[t._v("Groups that choose to disable federation later will lose remote content and members and cannot re-enable federation for 24 hours. You can change this later")])])])])])],1)]):t._e(),t._v(" "),"local"!==t.group.membership?e("hr"):t._e(),t._v(" "),e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-sm-12"},[e("div",{staticClass:"mb-1"},[e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.advanced.is_nsfw,expression:"advanced.is_nsfw"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.advanced.is_nsfw)?t._i(t.advanced.is_nsfw,null)>-1:t.advanced.is_nsfw},on:{change:function(e){var s=t.advanced.is_nsfw,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&t.$set(t.advanced,"is_nsfw",s.concat([null])):i>-1&&t.$set(t.advanced,"is_nsfw",s.slice(0,i).concat(s.slice(i+1)))}else t.$set(t.advanced,"is_nsfw",o)}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold text-dark text-capitalize ml-1"},[t._v("Allow adult content (18+)")])])]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.advanced.is_nsfw?t._e():e("div",{staticClass:"alert alert-info mt-2"},[e("div",{staticClass:"media align-items-center"},[e("i",{staticClass:"far fa-exclamation-circle fa-2x mr-3"}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Adult Content Warning")]),t._v(" "),e("p",{staticClass:"small mb-0",staticStyle:{"font-weight":"600"}},[t._v("Groups that allow adult content should enable this or risk suspension or deletion by instance admins. Illegal content is prohibited. You can change this later")])])])])])],1)]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-sm-12"},[e("div",{staticClass:"mb-1"},[e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.advanced.discoverable,expression:"advanced.discoverable"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.advanced.discoverable)?t._i(t.advanced.discoverable,null)>-1:t.advanced.discoverable},on:{change:function(e){var s=t.advanced.discoverable,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&t.$set(t.advanced,"discoverable",s.concat([null])):i>-1&&t.$set(t.advanced,"discoverable",s.slice(0,i).concat(s.slice(i+1)))}else t.$set(t.advanced,"discoverable",o)}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold text-dark text-capitalize ml-1"},[t._v("Make group discoverable")])]),t._v(" "),t._m(6)])]),t._v(" "),e("hr")]),t._v(" "),t.group.member_count>=25?e("div",{staticClass:"form-group row"},[t._m(7),t._v(" "),e("hr")]):t._e(),t._v(" "),t.group.member_count>=25?e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-sm-12"},[e("div",{staticClass:"mb-1"},[t._m(8),t._v(" "),e("p",{staticClass:"help-text small text-muted"},[e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tAllow "+t._s("local"==t.group.membership?"local users":"private"==t.group.membership?"members":"anyone")+" to "),e("a",{attrs:{href:"#"}},[t._v("direct message")]),t._v(" group admins. The direct message inbox is separate from your own account.\n\t\t\t\t\t\t\t\t\t")])])])]),t._v(" "),e("hr")]):t._e(),t._v(" "),e("h4",{staticClass:"font-weight-bold pt-3"},[t._v("Danger Zone")]),t._v(" "),e("div",{staticClass:"mb-4 border rounded border-danger"},[e("ul",{staticClass:"list-group mb-0 pb-0"},[t._m(9),t._v(" "),e("li",{staticClass:"list-group-item border-left-0 border-right-0 py-3 d-flex justify-content-between"},[t._m(10),t._v(" "),e("div",[e("button",{staticClass:"btn btn-outline-danger font-weight-bold py-1",on:{click:t.deleteGroup}},[t._v("Delete Group")])])])])])])]):t._e(),t._v(" "),"limits"==t.tab?e("div",{staticClass:"row"},[t._m(11)]):t._e()])]):e("div",[e("p",{staticClass:"text-center mt-5 pt-5 font-weight-bold"},[t._v("Loading...")])])])},o=[function(){var t=this,e=t._self._c;return e("span",[e("i",{staticClass:"fas fa-globe mr-1"}),t._v("\n\t\t\t\t\t\t\t\t"+t._s("all"==t.group.membership?"Public Group":"Private Group")+"\n\t\t\t\t\t\t\t")])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-0 mt-2 text-lighter"},[e("a",{staticClass:"text-muted font-weight-bold",attrs:{href:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\tPreview\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-muted font-weight-bold",attrs:{href:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\tUpdate\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-danger font-weight-bold",attrs:{href:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t\t")])])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-0 mt-2 text-lighter"},[e("a",{staticClass:"text-muted font-weight-bold",attrs:{href:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\tPreview\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-muted font-weight-bold",attrs:{href:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\tUpdate\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-danger font-weight-bold",attrs:{href:""}},[t._v("\n\t\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t\t")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 col-md-3"},[e("p",{staticClass:"lead"},[t._v("The "),e("strong",[t._v("Interaction Log")]),t._v(" displays all member activities relating to this group.")]),t._v(" "),e("p",{staticClass:"lead"},[t._v("You may see logs from blocked, deleted and remote accounts.")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 col-md-3"},[e("p",{staticClass:"font-weight-bold small"},[t._v("SEARCH")]),t._v(" "),e("div",{staticClass:"form-group"},[e("input",{staticClass:"form-control rounded-pill",attrs:{placeholder:"Search username, type or url"}})]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"font-weight-bold small"},[t._v("ACTIVITIES")]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox",checked:"",id:"filter1"}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:"filter1"}},[t._v("\n\t\t\t\t\t\t\tJoined Group\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox",checked:"",id:"filter1"}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:"filter1"}},[t._v("\n\t\t\t\t\t\t\tLeft Group\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox",checked:"",id:"filter1"}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:"filter1"}},[t._v("\n\t\t\t\t\t\t\tPosts\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox",checked:"",id:"filter1"}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:"filter1"}},[t._v("\n\t\t\t\t\t\t\tComments\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox",checked:"",id:"filter1"}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:"filter1"}},[t._v("\n\t\t\t\t\t\t\tLikes\n\t\t\t\t\t\t")])]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"font-weight-bold small"},[t._v("FILTERS")]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox",value:"",id:"filter1"}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:"filter1"}},[t._v("\n\t\t\t\t\t\t\tLocal members only\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox",value:"",id:"filter1"}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:"filter1"}},[t._v("\n\t\t\t\t\t\t\tRemote members only\n\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox",value:"",id:"filter1"}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold",attrs:{for:"filter1"}},[t._v("\n\t\t\t\t\t\t\tBlocked members only\n\t\t\t\t\t\t")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 col-md-3"},[e("p",{staticClass:"h5"},[t._v("Blocked Instances & Users")]),t._v(" "),e("p",[t._v("Fine-grained control over who can join and interact with your group")]),t._v(" "),e("p",[t._v("Blocking an instance will revoke membership from users on that instance and prevent other users on that instance from joining")]),t._v(" "),e("p",[t._v("Blocking a user will revoke membership and remove all interactions from that user")]),t._v(" "),e("p",[t._v("Moderating an instance will require all new membership requests from that instance to be approved by a group admin before the specific user can join")])])},function(){var t=this._self._c;return t("p",{staticClass:"help-text small text-muted"},[t("span",[this._v("\n\t\t\t\t\t\t\t\t\t\tBeing discoverable means that your group appears in search results, on the discover page and can be used in group recommendations\n\t\t\t\t\t\t\t\t\t")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-sm-12"},[e("div",{staticClass:"mb-1"},[e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox"}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold text-dark text-capitalize ml-1"},[t._v("Enable spam detection")])]),t._v(" "),e("p",{staticClass:"help-text small text-muted"},[e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tDetect and temporarily remove content classified as spam from new members until it can be reviewed by a group admin. "),e("strong",[t._v("We do not recommend enabling this unless you have or expect periodic spam as it may produce false-positives and reduce member experience & retention.")])])])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-check"},[e("input",{staticClass:"form-check-input",attrs:{type:"checkbox"}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-bold text-dark text-capitalize ml-1"},[t._v("Enable admin direct messages")])])},function(){var t=this,e=t._self._c;return e("li",{staticClass:"list-group-item border-left-0 border-right-0 py-3 d-flex justify-content-between disabled"},[e("div",[e("p",{staticClass:"font-weight-bold mb-1"},[t._v("Temporarily Disable Group")]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Not available")])]),t._v(" "),e("div",[e("a",{staticClass:"btn btn-outline-danger font-weight-bold py-1",attrs:{href:"#"}},[t._v("Disable")])])])},function(){var t=this,e=t._self._c;return e("div",[e("p",{staticClass:"font-weight-bold mb-1"},[t._v("Delete Group")]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Once you delete your group, there is no going back.")])])},function(){var t=this._self._c;return t("div",{staticClass:"col-12 col-md-6 offset-md-3"},[t("div",{staticClass:"mt-3"})])}]},36826:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"groups-home-component w-100 h-100"},[t.initialLoad?e("div",{staticClass:"row border-bottom m-0 p-0"},[e("div",{staticClass:"col-2 shadow",staticStyle:{height:"100vh",background:"#fff",top:"51px",overflow:"hidden","z-index":"1",position:"sticky"}},[e("div",{staticClass:"p-1"},[t._m(0),t._v(" "),e("div",{staticClass:"mb-3"},[e("autocomplete",{ref:"autocomplete",attrs:{search:t.autocompleteSearch,placeholder:"Search groups by name","aria-label":"Search groups by name","get-result-value":t.getSearchResultValue,debounceTime:700},on:{submit:t.onSearchSubmit},scopedSlots:t._u([{key:"result",fn:function(s){var a=s.result,o=s.props;return[e("li",t._b({staticClass:"autocomplete-result"},"li",o,!1),[e("div",{staticClass:"media align-items-center"},[a.local&&a.metadata&&a.metadata.hasOwnProperty("header")&&a.metadata.header.hasOwnProperty("url")?e("img",{attrs:{src:a.metadata.header.url,width:"32",height:"32"}}):e("div",{staticClass:"icon-placeholder"},[e("i",{staticClass:"fal fa-user-friends"})]),t._v(" "),e("div",{staticClass:"media-body text-truncate mr-3"},[e("p",{staticClass:"result-name mb-n1 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.truncateName(a.name))+"\n\t\t\t\t\t\t\t\t\t\t\t"),a.verified?e("span",{staticClass:"fa-stack ml-n2",attrs:{title:"Verified Group","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-circle fa-stack-1x fa-lg",staticStyle:{color:"#22a7f0cc","font-size":"18px"}}),t._v(" "),e("i",{staticClass:"fas fa-check fa-stack-1x text-white",staticStyle:{"font-size":"10px"}})]):t._e()]),t._v(" "),e("p",{staticClass:"mb-0 text-muted",staticStyle:{"font-size":"10px"}},[a.local?t._e():e("span",{attrs:{title:"Remote Group"}},[e("i",{staticClass:"far fa-globe"})]),t._v(" "),a.local?t._e():e("span",[t._v("·")]),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(a.member_count)+" members")])])])])])]}}],null,!1,2331368480)})],1),t._v(" "),e("button",{staticClass:"btn btn-light group-nav-btn",class:{active:"feed"==t.tab},on:{click:function(e){return t.switchTab("feed")}}},[t._m(1),t._v(" "),e("div",{staticClass:"group-nav-btn-name"},[t._v("\n\t\t\t\t\t\tYour Feed\n\t\t\t\t\t")])]),t._v(" "),e("button",{staticClass:"btn btn-light group-nav-btn",class:{active:"discover"==t.tab},on:{click:function(e){return t.switchTab("discover")}}},[t._m(2),t._v(" "),e("div",{staticClass:"group-nav-btn-name"},[t._v("\n\t\t\t\t\t\tDiscover\n\t\t\t\t\t")])]),t._v(" "),e("button",{staticClass:"btn btn-light group-nav-btn",class:{active:"mygroups"==t.tab},on:{click:function(e){return t.switchTab("mygroups")}}},[t._m(3),t._v(" "),e("div",{staticClass:"group-nav-btn-name"},[t._v("\n\t\t\t\t\t\tMy Groups\n\t\t\t\t\t")])]),t._v(" "),e("button",{staticClass:"btn btn-light group-nav-btn",class:{active:"notifications"==t.tab},on:{click:function(e){return t.switchTab("notifications")}}},[t._m(4),t._v(" "),e("div",{staticClass:"group-nav-btn-name"},[t._v("\n\t\t\t\t\t\tYour Notifications\n\t\t\t\t\t")])]),t._v(" "),e("button",{staticClass:"btn btn-light group-nav-btn",class:{active:"remotesearch"==t.tab},on:{click:function(e){return t.switchTab("remotesearch")}}},[t._m(5),t._v(" "),e("div",{staticClass:"group-nav-btn-name"},[t._v("\n\t\t\t\t\t\tFind a remote group\n\t\t\t\t\t")])]),t._v(" "),t.config&&t.config.limits.user.create.new?e("button",{staticClass:"btn btn-primary btn-block rounded-pill font-weight-bold mt-3",attrs:{disabled:"creategroup"==t.tab},on:{click:function(e){return t.switchTab("creategroup")}}},[e("i",{staticClass:"fas fa-plus mr-2"}),t._v(" Create New Group\n\t\t\t\t")]):t._e(),t._v(" "),e("hr"),t._v(" "),t._l(t.groups,(function(s){return e("div",{staticClass:"ml-2"},[e("div",{staticClass:"card shadow-sm border text-decoration-none text-dark"},[s.metadata&&s.metadata.hasOwnProperty("header")?e("img",{staticClass:"card-img-top",staticStyle:{width:"100%",height:"auto","object-fit":"cover","max-height":"160px"},attrs:{src:s.metadata.header.url}}):e("div",{staticClass:"bg-primary",staticStyle:{width:"100%",height:"160px"}}),t._v(" "),e("div",{staticClass:"card-body"},[e("div",{staticClass:"lead font-weight-bold d-flex align-items-top",staticStyle:{height:"60px"}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.name)+"\n\t\t\t\t\t\t\t\t"),s.verified?e("span",{staticClass:"fa-stack ml-n2 mt-n2"},[e("i",{staticClass:"fas fa-circle fa-stack-1x fa-lg",staticStyle:{color:"#22a7f0cc","font-size":"18px"}}),t._v(" "),e("i",{staticClass:"fas fa-check fa-stack-1x text-white",staticStyle:{"font-size":"10px"}})]):t._e()]),t._v(" "),e("div",{staticClass:"text-muted font-weight-light d-flex justify-content-between"},[e("span",[t._v(t._s(s.member_count)+" Members")]),t._v(" "),e("span",{staticClass:"rounded",staticStyle:{"font-size":"12px",padding:"2px 5px",color:"rgba(75, 119, 190, 1)",background:"rgba(137, 196, 244, 0.2)",border:"1px solid rgba(137, 196, 244, 0.3)","font-weight":"400","text-transform":"capitalize"}},[t._v(t._s(s.self.role))])]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"mb-0"},[e("a",{staticClass:"btn btn-light btn-block border rounded-lg font-weight-bold",attrs:{href:s.url}},[t._v("View Group")])])])])])}))],2)]),t._v(" "),e("keep-alive",[e("transition",{attrs:{name:"fade"}},["feed"==t.tab?e("self-feed",{attrs:{profile:t.profile},on:{switchtab:t.switchTab}}):t._e(),t._v(" "),"discover"==t.tab?e("self-discover",{attrs:{profile:t.profile}}):t._e(),t._v(" "),"notifications"==t.tab?e("self-notifications",{attrs:{profile:t.profile}}):t._e(),t._v(" "),"invitations"==t.tab?e("self-invitations",{attrs:{profile:t.profile}}):t._e(),t._v(" "),"remotesearch"==t.tab?e("self-remote-search",{attrs:{profile:t.profile}}):t._e(),t._v(" "),"mygroups"==t.tab?e("self-groups",{attrs:{profile:t.profile}}):t._e(),t._v(" "),"creategroup"==t.tab?e("create-group",{attrs:{profile:t.profile}}):t._e(),t._v(" "),"gsearch"==t.tab?e("div",[e("div",{staticClass:"col-12 px-5"},[e("div",{staticClass:"my-4"},[e("p",{staticClass:"h1 font-weight-bold mb-1"},[t._v("Group Search")]),t._v(" "),e("p",{staticClass:"lead text-muted mb-0"},[t._v("Search and explore groups.")])]),t._v(" "),e("div",{staticClass:"media align-items-center text-lighter"},[e("i",{staticClass:"far fa-chevron-left fa-lg mr-3"}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"lead mb-0"},[t._v("Use the search bar on the side menu")])])])])]):t._e()],1)],1)],1):e("div",{staticClass:"row justify-content-center mt-5"},[e("b-spinner")],1)])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex justify-content-between align-items-center py-3"},[e("p",{staticClass:"h2 font-weight-bold mb-0"},[t._v("Groups")]),t._v(" "),e("a",{staticClass:"btn btn-light px-2 rounded-circle",attrs:{href:"/settings/home"}},[e("i",{staticClass:"fas fa-cog fa-lg"})])])},function(){var t=this._self._c;return t("div",{staticClass:"group-nav-btn-icon"},[t("i",{staticClass:"fas fa-list"})])},function(){var t=this._self._c;return t("div",{staticClass:"group-nav-btn-icon"},[t("i",{staticClass:"fas fa-compass"})])},function(){var t=this._self._c;return t("div",{staticClass:"group-nav-btn-icon"},[t("i",{staticClass:"fas fa-list"})])},function(){var t=this._self._c;return t("div",{staticClass:"group-nav-btn-icon"},[t("i",{staticClass:"far fa-bell"})])},function(){var t=this._self._c;return t("div",{staticClass:"group-nav-btn-icon"},[t("i",{staticClass:"fas fa-search-plus"})])}]},37773:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t,e,s=this,a=s._self._c;return a("div",{staticClass:"comment-drawer-component"},[a("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:s.handleImageUpload}}),s._v(" "),s.hide?a("div"):s.isLoaded?a("div",{staticClass:"border-top"},[a("div",{staticClass:"my-3"},s._l(s.feed,(function(t,e){return a("div",{key:"cdf"+e+t.id,staticClass:"media media-status align-items-top"},[s.replyChildId==t.id?a("a",{staticClass:"comment-border-link",attrs:{href:"#comment-1"},on:{click:function(e){return e.preventDefault(),s.replyToChild(t)}}},[a("span",{staticClass:"sr-only"},[s._v("Jump to comment-"+s._s(e))])]):s._e(),s._v(" "),a("a",{attrs:{href:t.account.url}},[a("img",{staticClass:"rounded-circle media-avatar border",attrs:{src:t.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),s._v(" "),a("div",{staticClass:"media-body"},[t.media_attachments.length?a("div",[a("p",{staticClass:"media-body-comment-username"},[a("a",{attrs:{href:t.account.url}},[s._v("\n\t\t\t\t\t\t\t\t\t"+s._s(t.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),s._v(" "),a("div",{staticClass:"bh-comment",on:{click:function(e){return s.lightbox(t)}}},[a("blur-hash-image",{staticClass:"img-fluid rounded-lg border shadow",attrs:{width:s.blurhashWidth(t),height:s.blurhashHeight(t),punch:1,hash:t.media_attachments[0].blurhash,src:s.getMediaSource(t)}})],1)]):a("div",{staticClass:"media-body-comment"},[a("p",{staticClass:"media-body-comment-username"},[a("a",{attrs:{href:t.account.url}},[s._v("\n\t\t\t\t\t\t\t\t\t"+s._s(t.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),s._v(" "),a("read-more",{attrs:{status:t}})],1),s._v(" "),a("p",{staticClass:"media-body-reactions"},[s.profile?a("a",{staticClass:"font-weight-bold",class:[t.favourited?"text-primary":"text-muted"],attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),s.likeComment(t,e,a)}}},[s._v("\n\t\t\t\t\t\t\t\t\t"+s._s(t.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]):s._e(),s._v(" "),a("span",{staticClass:"mx-1"},[s._v("·")]),s._v(" "),a("a",{staticClass:"text-muted font-weight-bold",attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),s.replyToChild(t,e)}}},[s._v("Reply")]),s._v(" "),s.profile?a("span",{staticClass:"mx-1"},[s._v("·")]):s._e(),s._v(" "),s._o(a("a",{staticClass:"font-weight-bold text-muted",attrs:{href:t.url}},[s._v("\n\t\t\t\t\t\t\t\t"+s._s(s.shortTimestamp(t.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cdf"+e+t.id),s._v(" "),s.profile&&t.account.id===s.profile.id?a("span",[a("span",{staticClass:"mx-1"},[s._v("·")]),s._v(" "),a("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),s.deleteComment(e)}}},[s._v("\n\t\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t\t")])]):s._e()]),s._v(" "),s.replyChildIndex==e&&t.hasOwnProperty("children")&&t.children.hasOwnProperty("feed")&&t.children.feed.length?a("div",s._l(t.children.feed,(function(t,e){return a("comment-post",{key:"scp_"+e+"_"+t.id,attrs:{status:t,profile:s.profile,commentBorderArrow:!0}})})),1):s._e(),s._v(" "),s.replyChildIndex==e&&t.hasOwnProperty("children")&&t.children.hasOwnProperty("can_load_more")&&1==t.children.can_load_more?a("a",{staticClass:"text-muted font-weight-bold mt-1 mb-0",staticStyle:{"font-size":"13px"},attrs:{href:"#",disabled:s.loadingChildComments},on:{click:function(a){return a.preventDefault(),s.loadMoreChildComments(t,e)}}},[a("div",{staticClass:"comment-border-arrow"}),s._v(" "),a("i",{staticClass:"far fa-long-arrow-right mr-1"}),s._v("\n\t\t\t\t\t\t\t"+s._s(s.loadingChildComments?"Loading":"Load")+" more comments\n\t\t\t\t\t\t")]):s.replyChildIndex!==e&&t.hasOwnProperty("children")&&t.children.hasOwnProperty("can_load_more")&&1==t.children.can_load_more&&t.reply_count>0&&!s.loadingChildComments?a("a",{staticClass:"text-muted font-weight-bold mt-1 mb-0",staticStyle:{"font-size":"13px"},attrs:{href:"#",disabled:s.loadingChildComments},on:{click:function(a){return a.preventDefault(),s.replyToChild(t,e)}}},[a("i",{staticClass:"far fa-long-arrow-right mr-1"}),s._v("\n\t\t\t\t\t\t\t"+s._s(s.loadingChildComments?"Loading":"Load")+" more comments\n\t\t\t\t\t\t")]):s._e(),s._v(" "),s.replyChildId==t.id?a("div",{staticClass:"mt-3 mb-3 d-flex align-items-top reply-form child-reply-form"},[a("div",{staticClass:"comment-border-arrow"}),s._v(" "),a("img",{staticClass:"rounded-circle mr-2 border",attrs:{src:s.avatar,width:"38",height:"38",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}),s._v(" "),s.isUploading?a("div",{staticClass:"w-100"},[a("p",{staticClass:"font-weight-light mb-1"},[s._v("Uploading image ...")]),s._v(" "),a("div",{staticClass:"progress rounded-pill",staticStyle:{height:"10px"}},[a("div",{staticClass:"progress-bar progress-bar-striped progress-bar-animated",style:{width:s.uploadProgress+"%"},attrs:{role:"progressbar","aria-valuenow":s.uploadProgress,"aria-valuemin":"0","aria-valuemax":"100"}})])]):a("div",{staticClass:"reply-form-input"},[a("input",{directives:[{name:"model",rawName:"v-model",value:s.childReplyContent,expression:"childReplyContent"}],staticClass:"form-control bg-light border-lighter rounded-pill",attrs:{placeholder:"Write a comment....",disabled:s.postingChildComment},domProps:{value:s.childReplyContent},on:{keyup:function(t){return!t.type.indexOf("key")&&s._k(t.keyCode,"enter",13,t.key,"Enter")?null:s.storeChildComment(e)},input:function(t){t.target.composing||(s.childReplyContent=t.target.value)}}})])]):s._e()])])})),0),s._v(" "),s.canLoadMore?a("button",{staticClass:"btn btn-link btn-sm text-muted mb-2",attrs:{disabled:s.isLoadingMore},on:{click:s.loadMoreComments}},[s.isLoadingMore?a("div",{staticClass:"spinner-border spinner-border-sm text-muted",attrs:{role:"status"}},[a("span",{staticClass:"sr-only"},[s._v("Loading...")])]):a("span",[s._v("\n\t\t\t\t\tLoad more comments ...\n\t\t\t\t")])]):s._e(),s._v(" "),s.profile&&s.canReply?a("div",{staticClass:"mt-3 mb-n3"},[a("div",{staticClass:"d-flex align-items-top reply-form cdrawer-reply-form"},[a("img",{staticClass:"rounded-circle mr-2 border",attrs:{src:s.avatar,width:"38",height:"38",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}),s._v(" "),s.isUploading?a("div",{staticClass:"w-100"},[a("p",{staticClass:"font-weight-light small text-muted mb-1"},[s._v("Uploading image ...")]),s._v(" "),a("div",{staticClass:"progress rounded-pill",staticStyle:{height:"10px"}},[a("div",{staticClass:"progress-bar progress-bar-striped progress-bar-animated",style:{width:s.uploadProgress+"%"},attrs:{role:"progressbar","aria-valuenow":s.uploadProgress,"aria-valuemin":"0","aria-valuemax":"100"}})])]):a("div",{staticClass:"w-100"},[a("div",{staticClass:"reply-form-input"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:s.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light border-lighter",attrs:{placeholder:"Write a comment....",rows:s.replyContent&&s.replyContent.length>40?4:1},domProps:{value:s.replyContent},on:{input:function(t){t.target.composing||(s.replyContent=t.target.value)}}}),s._v(" "),a("div",{staticClass:"reply-form-input-actions"},[a("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:s.uploadImage}},[a("i",{staticClass:"far fa-image fa-lg"})])])]),s._v(" "),a("div",{staticClass:"d-flex justify-content-between reply-form-menu"},[a("div",{staticClass:"char-counter"},[a("span",[s._v(s._s(null!==(t=null===(e=s.replyContent)||void 0===e?void 0:e.length)&&void 0!==t?t:0))]),s._v(" "),a("span",[s._v("/")]),s._v(" "),a("span",[s._v("500")])])])]),s._v(" "),a("button",{staticClass:"btn btn-link btn-sm font-weight-bold align-self-center ml-3 mb-3",on:{click:s.storeComment}},[s._v("Post")])])]):s._e()]):a("div",{staticClass:"border-top d-flex justify-content-center py-3"},[s._m(0)]),s._v(" "),a("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"}},[s.lightboxStatus?a("div",{on:{click:s.hideLightbox}},[a("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:s.lightboxStatus.url}})]):s._e()])],1)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"text-center"},[e("div",{staticClass:"spinner-border text-lighter",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]),t._v(" "),e("p",{staticClass:"text-muted"},[t._v("Loading Comments ...")])])}]},16560:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-post-component"},[e("div",{staticClass:"media media-status align-items-top mt-3"},[t.commentBorderArrow?e("div",{staticClass:"comment-border-arrow"}):t._e(),t._v(" "),e("a",{attrs:{href:t.status.account.url}},[e("img",{staticClass:"rounded-circle media-avatar border",attrs:{src:t.status.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),t._v(" "),e("div",{staticClass:"media-body"},[t.status.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:t.status.account.url}},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"bh-comment",on:{click:function(e){return t.lightbox(t.status)}}},[e("blur-hash-image",{staticClass:"img-fluid rounded-lg border shadow",attrs:{width:t.blurhashWidth(t.status),height:t.blurhashHeight(t.status),punch:1,hash:t.status.media_attachments[0].blurhash,src:t.getMediaSource(t.status)}})],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:t.status.account.url}},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t")])]),t._v(" "),e("read-more",{attrs:{status:t.status}})],1),t._v(" "),e("p",{staticClass:"media-body-reactions"},[t.profile?e("a",{staticClass:"font-weight-bold",class:[t.status.favourited?"text-primary":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.likeComment(t.status,t.index,e)}}},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t")]):t._e(),t._v(" "),t.profile?e("span",{staticClass:"mx-1"},[t._v("·")]):t._e(),t._v(" "),t._m(0),t._v(" "),t.profile&&t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(t.index)}}},[t._v("\n\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t")])]):t._e()])])])])},o=[function(){var t=this;return(0,t._self._c)("a",{staticClass:"font-weight-bold text-muted",attrs:{href:t.status.url}},[t._v("\n\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t")])}]},57442:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"context-menu-component modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("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.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuCopyLink()}}},[t._v("Copy Link")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.ctxEmbedShowCaption=s.concat([null])):i>-1&&(t.ctxEmbedShowCaption=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowCaption=o}}}),t._v(" "),e("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(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.ctxEmbedShowLikes=s.concat([null])):i>-1&&(t.ctxEmbedShowLikes=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowLikes=o}}}),t._v(" "),e("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(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.ctxEmbedCompactMode=s.concat([null])):i>-1&&(t.ctxEmbedCompactMode=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedCompactMode=o}}}),t._v(" "),e("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(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},o=[]},88291:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-sm-3"},[e("label",{staticClass:"col-form-label text-left"},[t._v(t._s(t.label))])]),t._v(" "),e("div",{staticClass:"col-sm-9"},[e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.value)?t._i(t.value,null)>-1:t.value},on:{change:function(e){var s=t.value,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.value=s.concat([null])):i>-1&&(t.value=s.slice(0,i).concat(s.slice(i+1)))}else t.value=o}}}),t._v(" "),e("label",{staticClass:"form-check-label ml-1",class:[t.strongText?"font-weight-bold text-capitalize text-dark":"small text-muted"]},[t._v("\n "+t._s(t.inputText)+"\n ")])]),t._v(" "),t.helpText?e("div",{staticClass:"help-text small text-muted d-flex flex-row justify-content-between gap-3"},[t.helpText?e("div",[t._v(t._s(t.helpText))]):t._e()]):t._e()])])},o=[]},20285:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-sm-3"},[e("label",{staticClass:"col-form-label text-left"},[t._v(t._s(t.label))])]),t._v(" "),e("div",{staticClass:"col-sm-9"},[e("select",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"custom-select",on:{change:function(e){var s=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.value=e.target.multiple?s:s[0]}}},[e("option",{attrs:{value:"",selected:"",disabled:""}},[t._v(t._s(t.placeholder))]),t._v(" "),t._l(t.categories,(function(s){return e("option",{domProps:{value:s.value}},[t._v(t._s(s.key))])}))],2),t._v(" "),t.helpText||t.hasLimit?e("div",{staticClass:"help-text small text-muted d-flex flex-row justify-content-between gap-3"},[t.helpText?e("div",[t._v(t._s(t.helpText))]):t._e(),t._v(" "),t.hasLimit?e("div",{staticClass:"font-weight-bold text-dark"},[t._v("\n "+t._s(t.value?t.value.length:0)+"/"+t._s(t.maxLimit)+"\n ")]):t._e()]):t._e()])])},o=[]},80171:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-sm-3"},[e("label",{staticClass:"col-form-label text-left"},[t._v(t._s(t.label))])]),t._v(" "),e("div",{staticClass:"col-sm-9"},[t.hasLimit?e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"form-control",class:{"form-control-lg":t.largeInput},staticStyle:{resize:"none"},attrs:{type:"text",placeholder:t.placeholder,maxlength:t.maxLimit,rows:t.rows},domProps:{value:t.value},on:{input:function(e){e.target.composing||(t.value=e.target.value)}}}):e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"form-control",class:{"form-control-lg":t.largeInput},staticStyle:{resize:"none"},attrs:{type:"text",placeholder:t.placeholder,rows:t.rows},domProps:{value:t.value},on:{input:function(e){e.target.composing||(t.value=e.target.value)}}}),t._v(" "),t.helpText||t.hasLimit?e("div",{staticClass:"help-text small text-muted d-flex flex-row justify-content-between gap-3"},[t.helpText?e("div",[t._v(t._s(t.helpText))]):t._e(),t._v(" "),t.hasLimit?e("div",{staticClass:"font-weight-bold text-dark"},[t._v("\n "+t._s(t.value?t.value.length:0)+"/"+t._s(t.maxLimit)+"\n ")]):t._e()]):t._e()])])},o=[]},47545:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-group row"},[e("div",{staticClass:"col-sm-3"},[e("label",{staticClass:"col-form-label text-left"},[t._v(t._s(t.label))])]),t._v(" "),e("div",{staticClass:"col-sm-9"},[t.hasLimit?e("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"form-control",class:{"form-control-lg":t.largeInput},attrs:{type:"text",placeholder:t.placeholder,maxlength:t.maxLimit},domProps:{value:t.value},on:{input:function(e){e.target.composing||(t.value=e.target.value)}}}):e("input",{directives:[{name:"model",rawName:"v-model",value:t.value,expression:"value"}],staticClass:"form-control",class:{"form-control-lg":t.largeInput},attrs:{type:"text",placeholder:t.placeholder},domProps:{value:t.value},on:{input:function(e){e.target.composing||(t.value=e.target.value)}}}),t._v(" "),t.helpText||t.hasLimit?e("div",{staticClass:"help-text small text-muted d-flex flex-row justify-content-between gap-3"},[t.helpText?e("div",[t._v(t._s(t.helpText))]):t._e(),t._v(" "),t.hasLimit?e("div",{staticClass:"font-weight-bold text-dark"},[t._v("\n "+t._s(t.value?t.value.length:0)+"/"+t._s(t.maxLimit)+"\n ")]):t._e()]):t._e()])])},o=[]},54968:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-compose-form"},[e("input",{ref:"photoInput",staticClass:"d-none file-input",attrs:{id:"photoInput",type:"file",accept:"image/jpeg,image/png"},on:{change:t.handlePhotoChange}}),t._v(" "),e("input",{ref:"videoInput",staticClass:"d-none file-input",attrs:{id:"videoInput",type:"file",accept:"video/mp4"},on:{change:t.handleVideoChange}}),t._v(" "),e("div",{staticClass:"card card-body border mb-3 shadow-sm rounded-lg"},[e("div",{staticClass:"media align-items-top"},[t.profile?e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:t.profile.avatar,width:"42px",height:"42px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}):t._e(),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"d-block",staticStyle:{"min-height":"80px"}},[t.isUploading?e("div",{staticClass:"w-100"},[e("p",{staticClass:"font-weight-light mb-1"},[t._v("Uploading media ...")]),t._v(" "),e("div",{staticClass:"progress rounded-pill",staticStyle:{height:"4px"}},[e("div",{staticClass:"progress-bar",style:{width:t.uploadProgress+"%"},attrs:{role:"progressbar","aria-valuenow":t.uploadProgress,"aria-valuemin":"0","aria-valuemax":"100"}})])]):e("div",{staticClass:"form-group mb-3"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.composeText,expression:"composeText"}],staticClass:"form-control",class:{"form-control-lg":!t.composeText||t.composeText.length<40,"rounded-pill":!t.composeText||t.composeText.length<40,"bg-light":!t.composeText||t.composeText.length<40,"border-0":!t.composeText||t.composeText.length<40},staticStyle:{resize:"none"},attrs:{rows:!t.composeText||t.composeText.length<40?1:5,placeholder:t.placeholder},domProps:{value:t.composeText},on:{input:function(e){e.target.composing||(t.composeText=e.target.value)}}}),t._v(" "),t.composeText?e("div",{staticClass:"small text-muted mt-1",staticStyle:{"min-height":"20px"}},[e("span",{staticClass:"float-right font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.composeText?t.composeText.length:0)+"/500\n\t\t\t\t\t\t\t")])]):t._e()])]),t._v(" "),t.tab?e("div",{staticClass:"tab"},["poll"===t.tab?e("div",[e("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?e("div",{staticClass:"form-group mb-4"},[e("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(s,a){return e("div",{staticClass:"form-group mb-4 d-flex align-items-center",staticStyle:{"max-width":"400px",position:"relative"}},[e("span",{staticClass:"font-weight-bold mr-2",staticStyle:{position:"absolute",left:"10px"}},[t._v(t._s(a+1)+".")]),t._v(" "),t.pollOptions[a].length<50?e("input",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[a],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[a]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,a,e.target.value)}}}):e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.pollOptions[a],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[a]},on:{input:function(e){e.target.composing||t.$set(t.pollOptions,a,e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-danger btn-sm rounded-pill font-weight-bold",staticStyle:{position:"absolute",right:"5px"},on:{click:function(e){return t.deletePollOption(a)}}},[e("i",{staticClass:"fas fa-trash"}),t._v(" Delete\n\t\t\t\t\t\t\t")])])})),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("div",[e("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(" "),e("div",{staticClass:"form-group"},[e("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 s=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?s:s[0]}}},[e("option",{attrs:{value:"60"}},[t._v("1 hour")]),t._v(" "),e("option",{attrs:{value:"360"}},[t._v("6 hours")]),t._v(" "),e("option",{attrs:{value:"1440",selected:""}},[t._v("24 hours")]),t._v(" "),e("option",{attrs:{value:"10080"}},[t._v("7 days")])])])])])],2):t._e()]):t._e(),t._v(" "),t.isUploading?t._e():e("div",{},[e("div",[t.photoName&&t.photoName.length?e("div",{staticClass:"bg-light rounded-pill mb-4 py-2"},[e("div",{staticClass:"media align-items-center"},[t._m(0),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 font-weight-bold text-muted"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.photoName)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e("button",{staticClass:"btn btn-link font-weight-bold text-decoration-none",on:{click:function(e){return e.preventDefault(),t.clearFileInputs.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),t.videoName&&t.videoName.length?e("div",{staticClass:"bg-light rounded-pill mb-4 py-2"},[e("div",{staticClass:"media align-items-center"},[t._m(1),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 font-weight-bold text-muted"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.videoName)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e("button",{staticClass:"btn btn-link font-weight-bold text-decoration-none",on:{click:function(e){return e.preventDefault(),t.clearFileInputs.apply(null,arguments)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])])]):t._e()]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light border font-weight-bold py-1 px-2 rounded-lg mr-3",attrs:{disabled:t.photoName||t.videoName},on:{click:function(e){return t.switchTab("photo")}}},[e("i",{staticClass:"fal fa-image mr-2"}),t._v(" "),e("span",[t._v("Add Photo")])])])])])]),t._v(" "),!t.isUploading&&t.composeText&&t.composeText.length>1||!t.isUploading&&["photo","video"].includes(t.tab)?e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-primary font-weight-bold float-right px-5 rounded-pill mt-3",attrs:{disabled:t.isPosting},on:{click:function(e){return t.newPost()}}},[t.isPosting?e("span",[t._m(2)]):e("span",[t._v("Post")])])]):t._e()])])},o=[function(){var t=this._self._c;return t("span",{staticClass:"d-flex align-items-center justify-content-center bg-primary mx-3",staticStyle:{width:"40px",height:"40px","border-radius":"50px",opacity:"0.6"}},[t("i",{staticClass:"fal fa-image fa-lg text-white"})])},function(){var t=this._self._c;return t("span",{staticClass:"d-flex align-items-center justify-content-center bg-primary mx-3",staticStyle:{width:"40px",height:"40px","border-radius":"50px",opacity:"0.6"}},[t("i",{staticClass:"fal fa-video fa-lg text-white"})])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border text-white spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},26177:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-info-card"},[e("div",{staticClass:"card card-body mt-3 shadow-none border rounded-lg"},[e("p",{staticClass:"title"},[t._v("About")]),t._v(" "),t.group.description&&t.group.description.length>1?e("p",{staticClass:"description",domProps:{innerHTML:t._s(t.group.description)}}):e("p",{staticClass:"description"},[t._v("This group does not have a description.")])]),t._v(" "),e("div",{staticClass:"card card-body mt-3 shadow-none border rounded-lg"},["all"==t.group.membership?e("div",{staticClass:"fact"},[t._m(0),t._v(" "),t._m(1)]):t._e(),t._v(" "),"private"==t.group.membership?e("div",{staticClass:"fact"},[t._m(2),t._v(" "),t._m(3)]):t._e(),t._v(" "),1==t.group.config.discoverable?e("div",{staticClass:"fact"},[t._m(4),t._v(" "),t._m(5)]):t._e(),t._v(" "),0==t.group.config.discoverable?e("div",{staticClass:"fact"},[t._m(6),t._v(" "),t._m(7)]):t._e(),t._v(" "),e("div",{staticClass:"fact"},[t._m(8),t._v(" "),e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v(t._s(t.group.category.name))]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Category")])])]),t._v(" "),e("p",{staticClass:"mb-0 font-weight-light text-lighter"},[t._v("Created: "+t._s(t.timestampFormat(t.group.created_at)))])])])},o=[function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-globe fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Public")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Anyone can see who's in the group and what they post.")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-lock fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Private")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Only members can see who's in the group and what they post.")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-eye fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Visible")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Anyone can find this group.")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-eye-slash fa-lg"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"fact-body"},[e("p",{staticClass:"fact-title"},[t._v("Hidden")]),t._v(" "),e("p",{staticClass:"fact-subtitle"},[t._v("Only members can find this group.")])])},function(){var t=this._self._c;return t("div",{staticClass:"fact-icon"},[t("i",{staticClass:"fal fa-users fa-lg"})])}]},22224:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-invite-modal"},[e("b-modal",{ref:"modal",attrs:{"hide-header":"","hide-footer":"",centered:"",rounded:"","body-class":"rounded group-invite-modal-wrapper"}},[e("div",{staticClass:"text-center py-3 d-flex align-items-center flex-column"},[e("div",{staticClass:"bg-light rounded-circle d-flex justify-content-center align-items-center mb-3",staticStyle:{width:"100px",height:"100px"}},[e("i",{staticClass:"far fa-user-plus fa-2x text-lighter"})]),t._v(" "),e("p",{staticClass:"h4 font-weight-bold mb-0"},[t._v("Invite Friends")])]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.usernames.length<5?e("div",{staticClass:"d-flex justify-content-between mt-1"},[e("autocomplete",{ref:"autocomplete",staticStyle:{width:"100%"},attrs:{search:t.autocompleteSearch,placeholder:"Search friends by username","aria-label":"Search this group","get-result-value":t.getSearchResultValue,debounceTime:700},on:{submit:t.onSearchSubmit},scopedSlots:t._u([{key:"result",fn:function(s){var a=s.result,o=s.props;return[e("li",t._b({staticClass:"autocomplete-result"},"li",o,!1),[e("div",{staticClass:"text-truncate"},[e("p",{staticClass:"result-name mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(a.username)+"\n\t\t\t\t\t\t\t\t")])])])]}}],null,!1,3929251)}),t._v(" "),e("button",{staticClass:"btn btn-light border rounded-circle text-lighter ml-3",staticStyle:{width:"52px",height:"50px"},on:{click:t.close}},[e("i",{staticClass:"fal fa-times fa-lg"})])],1):t._e()]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.usernames.length?e("div",{staticClass:"pt-3"},t._l(t.usernames,(function(s,a){return e("div",{staticClass:"py-1"},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"rounded-circle border mr-3",attrs:{src:"/storage/avatars/default.jpg",width:"45",height:"45"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"lead mb-0"},[t._v(t._s(s.username))])]),t._v(" "),e("button",{staticClass:"btn btn-link text-lighter btn-sm",on:{click:function(e){return t.removeUsername(a)}}},[e("i",{staticClass:"far fa-times-circle fa-lg"})])])])})),0):t._e()]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.usernames&&t.usernames.length?e("button",{staticClass:"btn btn-primary btn-lg btn-block font-weight-bold rounded font-weight-bold mt-3",on:{click:t.submitInvites}},[t._v("Invite")]):t._e()]),t._v(" "),e("div",{staticClass:"text-center pt-3 small"},[e("p",{staticClass:"mb-0"},[t._v("You can invite up to 5 friends at a time, and 20 friends in total.")])])],1)],1)},o=[]},25012:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-list-card"},[e("div",{staticClass:"media"},[e("div",{staticClass:"media align-items-center"},[t.group.metadata&&t.group.metadata.hasOwnProperty("header")?e("img",{staticClass:"mr-3 border rounded group-header-img",class:{compact:t.compact},attrs:{src:t.group.metadata.header.url}}):e("div",{staticClass:"mr-3 border rounded group-header-img",class:{compact:t.compact}},[t._m(0)]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold mb-0 text-dark",staticStyle:{"font-size":"16px"}},[t._v("\n\t\t\t\t\t"+t._s(t.truncate(t.group.name||"Untitled Group",t.titleLength))+"\n\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-muted mb-1",staticStyle:{"font-size":"12px"}},[t._v("\n\t\t\t\t\t"+t._s(t.truncate(t.group.short_description,t.descriptionLength))+"\n\t\t\t\t")]),t._v(" "),t.showStats?e("p",{staticClass:"mb-0 small text-lighter"},[e("span",[e("i",{staticClass:"far fa-users"}),t._v(" "),e("span",{staticClass:"small font-weight-bold"},[t._v(t._s(t.prettyCount(t.group.member_count)))])]),t._v(" "),t.group.local?t._e():e("span",{staticClass:"remote-label ml-3"},[e("i",{staticClass:"fal fa-globe"}),t._v(" Remote\n\t\t\t\t\t")]),t._v(" "),t.group.hasOwnProperty("admin")&&t.group.admin.hasOwnProperty("username")?e("span",{staticClass:"ml-3"},[e("i",{staticClass:"fal fa-user-crown"}),t._v(" "),e("span",{staticClass:"small font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.group.admin.username)+"\n\t\t\t\t\t\t")])]):t._e()]):t._e()])])])])},o=[function(){var t=this._self._c;return t("div",{staticClass:"bg-primary d-flex align-items-center justify-content-center rounded",staticStyle:{width:"100%",height:"100%"}},[t("i",{staticClass:"fal fa-users text-white fa-lg"})])}]},64954:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-post-modal"},[e("b-modal",{ref:"modal",attrs:{size:"xl","hide-footer":"","hide-header":"",centered:"","body-class":"gpm p-0"}},[e("div",{staticClass:"d-flex"},[e("div",{staticClass:"gpm-media"},[e("img",{attrs:{src:t.status.media_attachments[0].preview_url}})]),t._v(" "),e("div",{staticClass:"p-3",staticStyle:{width:"30%"}},[e("div",{staticClass:"media align-items-center mb-2"},[e("a",{attrs:{href:t.status.account.url}},[e("img",{staticClass:"rounded-circle media-avatar border mr-2",attrs:{src:t.status.account.avatar,width:"32",height:"32"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username mb-n1"},[e("a",{staticClass:"text-dark text-decoration-none font-weight-bold",attrs:{href:t.status.account.url}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e("p",{staticClass:"media-body-comment-timestamp mb-0"},[e("a",{staticClass:"font-weight-light text-muted small",attrs:{href:t.status.url}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.shortTimestamp(t.status.created_at))+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[t._v("·")]),t._v(" "),e("span",{staticClass:"text-muted small"},[e("i",{staticClass:"fas fa-globe"})])])])]),t._v(" "),e("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("read-more",{attrs:{status:t.status}}),t._v(" "),e("div",{staticClass:"border-top border-bottom mt-3"},[e("div",{staticClass:"d-flex justify-content-between",staticStyle:{padding:"8px 5px"}},[e("button",{staticClass:"btn btn-link py-0 text-decoration-none btn-sm",class:{"font-weight-bold":t.status.favourited,"text-primary":t.status.favourited,"text-muted":!t.status.favourited}},[e("i",{staticClass:"far fa-heart mr-1"}),t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none btn-sm text-muted"},[e("i",{staticClass:"far fa-comment cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\tComment\n\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none btn-sm",attrs:{disabled:""}},[e("i",{staticClass:"fas fa-external-link-alt cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\tShare\n\t\t\t\t\t\t")])])])],1)])])],1)},o=[]},83560:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t,e,s,a=this,o=a._self._c;return o("div",{staticClass:"group-search-modal"},[o("b-modal",{ref:"modal",attrs:{"hide-header":"","hide-footer":"",centered:"",rounded:"","body-class":"rounded group-search-modal-wrapper"}},[o("div",{staticClass:"d-flex justify-content-between"},[o("autocomplete",{ref:"autocomplete",staticStyle:{width:"100%"},attrs:{search:a.autocompleteSearch,placeholder:"Search this group","aria-label":"Search this group","get-result-value":a.getSearchResultValue,debounceTime:700},on:{submit:a.onSearchSubmit},scopedSlots:a._u([{key:"result",fn:function(t){var e=t.result,s=t.props;return[o("li",a._b({staticClass:"autocomplete-result"},"li",s,!1),[o("div",{staticClass:"text-truncate"},[o("p",{staticClass:"result-name mb-0 font-weight-bold"},[a._v("\n\t\t\t\t\t\t\t\t\t"+a._s(e.username)+"\n\t\t\t\t\t\t\t\t")])])])]}}])}),a._v(" "),o("button",{staticClass:"btn btn-light border rounded-circle text-lighter ml-3",staticStyle:{width:"52px",height:"50px"},on:{click:a.close}},[o("i",{staticClass:"fal fa-times fa-lg"})])],1),a._v(" "),a.recent&&a.recent.length?o("div",{staticClass:"pt-5"},[o("h5",{staticClass:"mb-2"},[a._v("Recent Searches")]),a._v(" "),a._l(a.recent,(function(t,e){return o("a",{staticClass:"media align-items-center text-decoration-none text-dark",attrs:{href:t.action}},[o("div",{staticClass:"bg-light rounded-circle mr-3 border d-flex justify-content-center align-items-center",staticStyle:{width:"40px",height:"40px"}},[o("i",{staticClass:"far fa-search"})]),a._v(" "),o("div",{staticClass:"media-body"},[o("p",{staticClass:"mb-0"},[a._v(a._s(t.value))])])])}))],2):a._e(),a._v(" "),o("div",{staticClass:"pt-5"},[o("h5",{staticClass:"mb-2"},[a._v("Explore This Group")]),a._v(" "),o("div",{staticClass:"media align-items-center",on:{click:a.viewMyActivity}},[o("img",{staticClass:"mr-3 border rounded-circle",attrs:{src:null===(t=a.profile)||void 0===t?void 0:t.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}}),a._v(" "),o("div",{staticClass:"media-body"},[o("p",{staticClass:"mb-0"},[a._v(a._s((null===(e=a.profile)||void 0===e?void 0:e.display_name)||(null===(s=a.profile)||void 0===s?void 0:s.username)))]),a._v(" "),o("p",{staticClass:"mb-0 small text-muted"},[a._v("See your group activity.")])])]),a._v(" "),o("div",{staticClass:"media align-items-center",on:{click:a.viewGroupSearch}},[o("div",{staticClass:"bg-light rounded-circle mr-3 border d-flex justify-content-center align-items-center",staticStyle:{width:"40px",height:"40px"}},[o("i",{staticClass:"far fa-search"})]),a._v(" "),o("div",{staticClass:"media-body"},[o("p",{staticClass:"mb-0"},[a._v("Search all groups")])])])])])],1)},o=[]},79355:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"status-card-component",class:{"status-card-sm":t.loaded&&"small"===t.size}},[t.loaded?e("div",{staticClass:"shadow-none mb-3"},["poll"!==t.status.pf_type?e("div",{staticClass:"card shadow-sm",class:{"border-top-0":!t.hasTopBorder},staticStyle:{"border-radius":"18px !important"}},[1==t.parentUnavailable?e("parent-unavailable",{attrs:{"permalink-mode":t.permalinkMode,"permalink-status":t.childContext,status:t.status,profile:t.profile,"group-id":t.groupId}}):e("div",{staticClass:"card-body pb-0"},[e("group-post-header",{attrs:{group:t.group,status:t.status,profile:t.profile,showGroupHeader:t.showGroupHeader,showGroupChevron:t.showGroupChevron}}),t._v(" "),e("div",[e("div",[e("div",{staticClass:"pl-2"},[t.status.sensitive&&t.status.content.length?e("div",{staticClass:"card card-body shadow-none border bg-light py-2 my-2 text-center user-select-none cursor-pointer",on:{click:function(e){t.status.sensitive=!1}}},[e("div",{staticClass:"media justify-content-center align-items-center"},[e("div",{staticClass:"mx-3"},[e("i",{staticClass:"far fa-exclamation-triangle fa-2x text-lighter"})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Warning, may contain sensitive content. ")]),t._v(" "),e("p",{staticClass:"mb-0 text-lighter small text-center font-weight-bold"},[t._v("Click to view")])])])]):[e("p",{staticClass:"pt-2 text-break",staticStyle:{"font-size":"15px"},domProps:{innerHTML:t._s(t.renderedCaption)}})],t._v(" "),"photo"===t.status.pf_type?e("photo-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{lightbox:t.showPostModal,togglecw:function(e){t.status.sensitive=!1},click:t.showPostModal}}):"video"===t.status.pf_type?e("video-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}}):"photo:album"===t.status.pf_type?e("photo-album-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}}):"video:album"===t.status.pf_type?e("video-album-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}}):"photo:video:album"===t.status.pf_type?e("mixed-album-presenter",{staticClass:"col px-0 border mb-4 rounded",attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}}):t._e(),t._v(" "),t.status.favourites_count||t.status.reply_count?e("div",{staticClass:"border-top my-0"},[e("div",{staticClass:"d-flex justify-content-between py-2",staticStyle:{"font-size":"14px"}},[t.status.favourites_count?e("button",{staticClass:"btn btn-light py-0 text-decoration-none text-dark",staticStyle:{"font-size":"12px","font-weight":"600"},on:{click:function(e){return t.showLikesModal(e)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.status.favourites_count)+" "+t._s(1==t.status.favourites_count?"Like":"Likes")+"\n\t\t\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),t.status.reply_count?e("button",{staticClass:"btn btn-light py-0 text-decoration-none text-dark",staticStyle:{"font-size":"12px","font-weight":"600"},on:{click:function(e){return t.commentFocus(e)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.status.reply_count)+" "+t._s(1==t.status.reply_count?"Comment":"Comments")+"\n\t\t\t\t\t\t\t\t\t\t")]):t._e()])]):t._e(),t._v(" "),t.profile?e("div",{staticClass:"border-top my-0"},[e("div",{staticClass:"d-flex justify-content-between py-2 px-4"},[e("div",[e("button",{staticClass:"btn btn-link py-0 text-decoration-none",class:{"font-weight-bold":t.status.favourited,"text-primary":t.status.favourited,"text-muted":!t.status.favourited},attrs:{id:"lr__"+t.status.id},on:{click:function(e){return t.likeStatus(t.status,e)}}},[e("i",{staticClass:"far fa-heart mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none text-muted",on:{click:function(e){return t.commentFocus(e)}}},[e("i",{staticClass:"far fa-comment cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t\t\tComment\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none",attrs:{disabled:""}},[e("i",{staticClass:"fas fa-external-link-alt cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t\t\tShare\n\t\t\t\t\t\t\t\t\t\t")])])]):t._e(),t._v(" "),t.showCommentDrawer?e("comment-drawer",{attrs:{"permalink-mode":t.permalinkMode,"permalink-status":t.childContext,status:t.status,profile:t.profile,"group-id":t.groupId}}):t._e()],2)])])],1)],1):e("div",{staticClass:"border"},[e("poll-card",{attrs:{status:t.status,profile:t.profile,showBorder:!1},on:{"status-delete":t.statusDeleted}}),t._v(" "),e("div",{staticClass:"bg-white",staticStyle:{padding:"0 1.25rem"}},[t.profile?e("div",{staticClass:"border-top my-0"},[e("div",{staticClass:"d-flex justify-content-between py-2 px-4"},[e("div",[e("button",{staticClass:"btn btn-link py-0 text-decoration-none",class:{"font-weight-bold":t.status.favourited,"text-primary":t.status.favourited,"text-muted":!t.status.favourited},attrs:{id:"lr__"+t.status.id},on:{click:function(e){return t.likeStatus(t.status,e)}}},[e("i",{staticClass:"far fa-heart mr-1"}),t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"lr__"+t.status.id,triggers:"hover",placement:"top"},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("Popover Title")]},proxy:!0}],null,!1,4088088860)},[t._v("\n\t\t\t\t\t\t\t\t\tI am popover "),e("b",[t._v("component")]),t._v(" content!\n\t\t\t\t\t\t\t\t")])],1),t._v(" "),e("button",{staticClass:"btn btn-link py-0 text-decoration-none text-muted",on:{click:function(e){return t.commentFocus(e)}}},[e("i",{staticClass:"far fa-comment cursor-pointer text-muted mr-1"}),t._v("\n\t\t\t\t\t\t\t\tComment\n\t\t\t\t\t\t\t")]),t._v(" "),t._m(0)])]):t._e(),t._v(" "),t.showCommentDrawer?e("comment-drawer",{attrs:{"permalink-mode":t.permalinkMode,"permalink-status":t.childContext,profile:t.profile,status:t.status,"group-id":t.groupId}}):t._e()],1)],1),t._v(" "),t.profile?e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile,"group-id":t.groupId},on:{"status-delete":t.statusDeleted}}):t._e(),t._v(" "),t.showModal?e("post-modal",{ref:"modal",attrs:{status:t.status,profile:t.profile,groupId:t.groupId}}):t._e()],1):e("div",{staticClass:"card card-body shadow-none border mb-3",staticStyle:{height:"200px"}},[t._m(1)])])},o=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-link py-0 text-decoration-none",attrs:{disabled:""}},[t("i",{staticClass:"fas fa-external-link-alt cursor-pointer text-muted mr-1"}),this._v("\n\t\t\t\t\t\t\t\tShare\n\t\t\t\t\t\t\t")])},function(){var t=this._self._c;return t("div",{staticClass:"w-100 h-100 d-flex justify-content-center align-items-center"},[t("div",{staticClass:"spinner-border text-primary",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])])}]},52809:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){return(0,this._self._c)("div")},o=[]},2011:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-md-5",staticStyle:{"background-color":"#fff"}},[t.group.metadata&&t.group.metadata.hasOwnProperty("header")?e("img",{staticClass:"header-image",attrs:{src:t.group.metadata.header.url}}):e("div",{staticClass:"header-jumbotron"})])},o=[]},11568:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 group-feed-component-header px-3 px-md-5"},[e("div",{staticClass:"media align-items-end"},[t.group.metadata&&t.group.metadata.hasOwnProperty("avatar")?e("img",{staticClass:"bg-white mx-4 rounded-circle border shadow p-1",staticStyle:{"object-fit":"cover"},style:{"margin-top":t.group.metadata&&t.group.metadata.hasOwnProperty("header")&&t.group.metadata.header.url?"-100px":"0"},attrs:{src:t.group.metadata.avatar.url,width:"169",height:"169"}}):t._e(),t._v(" "),t.group&&t.group.name?e("div",{staticClass:"media-body px-3"},[e("h3",{staticClass:"d-flex align-items-start"},[e("span",[t._v(t._s(t.group.name.slice(0,118)))]),t._v(" "),t.group.verified?e("sup",{staticClass:"fa-stack ml-n2",attrs:{title:"Verified Group","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-circle fa-stack-1x fa-lg",staticStyle:{color:"#22a7f0cc","font-size":"18px"}}),t._v(" "),e("i",{staticClass:"fas fa-check fa-stack-1x text-white",staticStyle:{"font-size":"10px"}})]):t._e()]),t._v(" "),e("p",{staticClass:"text-muted mb-0",staticStyle:{"font-weight":"300"}},[e("span",[e("i",{staticClass:"fas fa-globe mr-1"}),t._v("\n "+t._s("all"==t.group.membership?"Public Group":"Private Group")+"\n ")]),t._v(" "),e("span",{staticClass:"mx-2"},[t._v("\n ·\n ")]),t._v(" "),e("span",[t._v(t._s(1==t.group.member_count?t.group.member_count+" Member":t.group.member_count+" Members"))]),t._v(" "),e("span",{staticClass:"mx-2"},[t._v("\n ·\n ")]),t._v(" "),t.group.local?e("span",{staticClass:"rounded member-label"},[t._v("Local")]):e("span",{staticClass:"rounded remote-label"},[t._v("Remote")]),t._v(" "),t.group.self&&t.group.self.hasOwnProperty("role")&&t.group.self.role?e("span",[e("span",{staticClass:"mx-2"},[t._v("\n ·\n ")]),t._v(" "),e("span",{staticClass:"rounded member-label"},[t._v(t._s(t.group.self.role))])]):t._e()])]):e("div",{staticClass:"media-body"},[t._m(0)])]),t._v(" "),t.group&&t.group.self?e("div",[t.isMember||t.group.self.is_requested?!t.isMember&&t.group.self.is_requested?e("button",{staticClass:"btn btn-light border cta-btn font-weight-bold",on:{click:function(e){return e.preventDefault(),t.cancelJoinRequest.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-user-clock mr-1"}),t._v(" Requested to Join\n ")]):t.isAdmin||!t.isMember||t.group.self.is_requested?t._e():e("button",{staticClass:"btn btn-light border cta-btn font-weight-bold",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.leaveGroup.apply(null,arguments)}}},[e("i",{staticClass:"fas sign-out-alt mr-1"}),t._v(" Leave Group\n ")]):e("button",{staticClass:"btn btn-primary cta-btn font-weight-bold",attrs:{disabled:t.requestingMembership},on:{click:t.joinGroup}},[t.requestingMembership?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("span",[t._v("\n "+t._s("all"==t.group.membership?"Join":"Request Membership")+"\n ")])])]):t._e()])},o=[function(){var t=this._self._c;return t("h3",{staticClass:"d-flex align-items-start"},[t("span",[this._v("Loading...")])])}]},17859:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t,e,s,a,o,i=this,r=i._self._c;return r("div",[r("div",{staticClass:"col-12 border-top group-feed-component-menu px-5"},[r("ul",{staticClass:"nav font-weight-bold group-feed-component-menu-nav"},[r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link",attrs:{to:"/groups/".concat(i.group.id,"/about")}},[i._v("About")])],1),i._v(" "),r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link",attrs:{to:"/groups/".concat(i.group.id),exact:""}},[i._v("Feed")])],1),i._v(" "),null!==(t=i.group)&&void 0!==t&&t.self&&i.group.self.is_member?r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link",attrs:{to:"/groups/".concat(i.group.id,"/topics")}},[i._v("Topics")])],1):i._e(),i._v(" "),null!==(e=i.group)&&void 0!==e&&e.self&&i.group.self.is_member?r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link",attrs:{to:"/groups/".concat(i.group.id,"/members")}},[i._v("\n Members\n "),i.group.self.is_member&&i.isAdmin&&i.atabs.request_count?r("span",{staticClass:"badge badge-danger rounded-pill ml-2",staticStyle:{height:"20px",padding:"4px 8px","font-size":"11px"}},[i._v(i._s(i.atabs.request_count))]):i._e()])],1):i._e(),i._v(" "),null!==(s=i.group)&&void 0!==s&&s.self&&i.group.self.is_member?r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link",attrs:{to:"/groups/".concat(i.group.id,"/media")}},[i._v("Media")])],1):i._e(),i._v(" "),null!==(a=i.group)&&void 0!==a&&a.self&&i.group.self.is_member&&i.isAdmin?r("li",{staticClass:"nav-item"},[r("router-link",{staticClass:"nav-link d-flex align-items-top",attrs:{to:"/groups/".concat(i.group.id,"/moderation")}},[r("span",{staticClass:"mr-2"},[i._v("Moderation")]),i._v(" "),i.atabs.moderation_count?r("span",{staticClass:"badge badge-danger rounded-pill",staticStyle:{height:"20px",padding:"4px 8px","font-size":"11px"}},[i._v(i._s(i.atabs.moderation_count))]):i._e()])],1):i._e()]),i._v(" "),r("div",[null!==(o=i.group)&&void 0!==o&&o.self&&i.group.self.is_member?r("button",{staticClass:"btn btn-light btn-sm border px-3 rounded-pill mr-2",on:{click:i.showSearchModal}},[r("i",{staticClass:"far fa-search"})]):i._e(),i._v(" "),r("div",{staticClass:"dropdown d-inline"},[i._m(0),i._v(" "),r("div",{staticClass:"dropdown-menu dropdown-menu-right"},[r("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),i.copyLink.apply(null,arguments)}}},[i._v("\n Copy Group Link\n ")]),i._v(" "),r("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),i.showInviteModal.apply(null,arguments)}}},[i._v("\n Invite friends\n ")]),i._v(" "),i.isAdmin?i._e():r("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),i.reportGroup.apply(null,arguments)}}},[i._v("\n Report Group\n ")]),i._v(" "),i.isAdmin?r("a",{staticClass:"dropdown-item",attrs:{href:i.group.url+"/settings"}},[i._v("\n Settings\n ")]):i._e()])])])]),i._v(" "),r("search-modal",{ref:"searchModal",attrs:{group:i.group,profile:i.profile}})],1)},o=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-light btn-sm border px-3 rounded-pill dropdown-toggle",attrs:{"data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[t("i",{staticClass:"far fa-cog"})])}]},30832:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-all"}},[t.status.content.length<200?e("div",{domProps:{innerHTML:t._s(t.content)}}):e("div",[e("span",{domProps:{innerHTML:t._s(t.content)}}),t._v(" "),200==t.cursor||t.fullContent.length>t.cursor?e("a",{staticClass:"font-weight-bold text-muted",staticStyle:{display:"block","white-space":"nowrap"},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.readMore.apply(null,arguments)}}},[e("i",{staticClass:"d-none fas fa-caret-down"}),t._v(" Read more...\n\t\t")]):t._e()])])},o=[]},48511:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"self-discover-component col-12 col-md-9 bg-lighter border-left mb-4"},[t._m(0),t._v(" "),"home"===t.tab?e("div",{staticClass:"px-5"},[e("div",{staticClass:"row mb-4 pt-5"},[e("div",{staticClass:"col-12 col-md-4"},[e("h4",{staticClass:"font-weight-bold"},[t._v("Popular")]),t._v(" "),e("div",{staticClass:"list-group list-group-scroll"},t._l(t.popularGroups,(function(t,s){return e("a",{staticClass:"list-group-item p-1",attrs:{href:t.url}},[e("group-list-card",{attrs:{group:t,compact:!0}})],1)})),0)]),t._v(" "),e("div",{staticClass:"col-12 col-md-4"},[e("div",{staticClass:"card card-body shadow-none bg-mantle text-light",staticStyle:{"margin-top":"33px"}},[e("h3",{staticClass:"mb-4 font-weight-lighter"},[t._v("Discover communities and topics based on your interests")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light font-weight-light btn-block",on:{click:function(e){return t.toggleTab("categories")}}},[t._v("Browse Categories")])])]),t._v(" "),t._m(1)]),t._v(" "),e("div",{staticClass:"col-12 col-md-4"},[e("h4",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("div",{staticClass:"list-group list-group-scroll"},t._l(t.newGroups,(function(t,s){return e("a",{staticClass:"list-group-item p-1",attrs:{href:t.url}},[e("group-list-card",{attrs:{group:t,compact:!0}})],1)})),0)])]),t._v(" "),e("div",{staticClass:"jumbotron mb-4 text-light bg-black",staticStyle:{"margin-top":"5rem"}},[e("div",{staticClass:"container"},[e("h1",{staticClass:"display-4"},[t._v("Across the Fediverse")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light",on:{click:function(e){return t.toggleTab("fediverseGroups")}}},[t._v("\n \t\t\tExplore fediverse groups "),e("i",{staticClass:"fal fa-chevron-right ml-2"})])]),t._v(" "),e("hr",{staticClass:"my-4"}),t._v(" "),t._m(2)])]),t._v(" "),t._m(3),t._v(" "),t._m(4)]):t._e(),t._v(" "),"categories"===t.tab?e("div",{staticClass:"px-5"},[e("div",{staticClass:"row my-4 justify-content-center"},[e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"title mb-4"},[e("span",[t._v("Categories")]),t._v(" "),e("button",{staticClass:"btn btn-light font-weight-bold",on:{click:function(e){return t.toggleTab("home")}}},[t._v("Go Back")])]),t._v(" "),e("div",{staticClass:"list-group"},t._l(t.categories,(function(s,a){return e("div",{key:"rec:"+s.id+":"+a,staticClass:"list-group-item",on:{click:function(e){return t.selectCategory(a)}}},[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s)+"\n\t\t\t\t\t\t\t\t"),t._m(5,!0)])])})),0)])])]):t._e(),t._v(" "),"category"===t.tab?e("div",{staticClass:"px-5"},[e("div",{staticClass:"row my-4 justify-content-center"},[e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"title mb-4"},[e("div",[e("div",{staticClass:"mb-n2 small text-uppercase text-lighter"},[t._v("Categories")]),t._v(" "),e("span",[t._v(t._s(t.categories[t.activeCategoryIndex]))])]),t._v(" "),e("button",{staticClass:"btn btn-light font-weight-bold",on:{click:function(e){return t.toggleTab("categories")}}},[t._v("Go Back")])]),t._v(" "),t.categoryGroupsLoaded?e("div",[e("div",{staticClass:"list-group"},[t._l(t.categoryGroups,(function(t,s){return e("a",{staticClass:"list-group-item p-1",attrs:{href:t.url}},[e("group-list-card",{attrs:{group:t,showStats:!0}})],1)})),t._v(" "),t.categoryGroupsCanLoadMore?e("div",{staticClass:"list-group-item"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block",on:{click:t.fetchCategoryGroups}},[t._v("\n\t\t\t\t\t\t\t\t\tLoad more\n\t\t\t\t\t\t\t\t")])]):t._e()],2),t._v(" "),0===t.categoryGroups.length?e("div",{staticClass:"mt-3"},[t._m(6)]):t._e()]):e("div",[e("div",{staticClass:"card card-body shadow-none border justify-content-center flex-row"},[e("b-spinner")],1)])])])]):t._e(),t._v(" "),"fediverseGroups"===t.tab?e("div",{staticClass:"px-5"},[e("div",{staticClass:"row my-4 justify-content-center"},[e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"title mb-4"},[e("span",[t._v("Fediverse Groups")]),t._v(" "),e("button",{staticClass:"btn btn-light font-weight-bold",on:{click:function(e){return t.toggleTab("home")}}},[t._v("Go Back")])]),t._v(" "),t._m(7)])])]):t._e()])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-5"},[e("div",{staticClass:"jumbotron my-4 text-light bg-mantle"},[e("div",{staticClass:"container"},[e("h1",{staticClass:"display-4"},[t._v("Discover")]),t._v(" "),e("p",{staticClass:"lead mb-0"},[t._v("Explore group communities and topics")])])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body shadow-none bg-light text-dark border",staticStyle:{"margin-top":"20px"}},[e("p",{staticClass:"lead mb-4 text-muted font-weight-lighter mb-1"},[t._v("Browse Public Groups")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-light border font-weight-light btn-block"},[t._v("Group Directory")])])])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"lead"},[t._v("We're in the early stages of Group federation, and working with other projects to support cross-platform compatibility. "),e("a",{attrs:{href:"#"}},[t._v("Learn more about group federation "),e("i",{staticClass:"fal fa-chevron-right ml-2 fa-sm"})])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"row my-4 py-5"},[e("div",{staticClass:"col-12 col-md-4"},[e("div",{staticClass:"card card-body shadow-none bg-light",staticStyle:{border:"1px solid #E5E7EB"}},[e("p",{staticClass:"text-center text-lighter"},[e("i",{staticClass:"fal fa-lightbulb fa-4x"})]),t._v(" "),e("p",{staticClass:"text-center lead mb-0"},[t._v("What's New")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4"},[e("div",{staticClass:"card card-body shadow-none bg-light",staticStyle:{border:"1px solid #E5E7EB"}},[e("p",{staticClass:"text-center text-lighter"},[e("i",{staticClass:"fal fa-clipboard-list-check fa-4x"})]),t._v(" "),e("p",{staticClass:"text-center lead mb-0"},[t._v("User Guide")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4"},[e("div",{staticClass:"card card-body shadow-none bg-light",staticStyle:{border:"1px solid #E5E7EB"}},[e("p",{staticClass:"text-center text-lighter"},[e("i",{staticClass:"fal fa-question-circle fa-4x"})]),t._v(" "),e("p",{staticClass:"text-center lead mb-0"},[t._v("Groups Help")])])])])},function(){var t=this._self._c;return t("p",{staticClass:"text-lighter",staticStyle:{"font-size":"9px"}},[t("span",{staticClass:"font-weight-bold mr-1"},[this._v("Groups v0.0.1")])])},function(){var t=this._self._c;return t("span",{staticClass:"float-right"},[t("i",{staticClass:"fal fa-chevron-right"})])},function(){var t=this._self._c;return t("div",{staticClass:"bg-white border text-center p-3"},[t("p",{staticClass:"font-weight-light mb-0"},[this._v("No groups found in this category")])])},function(){var t=this._self._c;return t("div",{staticClass:"mt-3"},[t("div",{staticClass:"bg-white border text-center p-3"},[t("p",{staticClass:"font-weight-light mb-0"},[this._v("No fediverse groups found")])])])}]},84941:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 col-md-9",staticStyle:{overflow:"hidden"}},[e("div",{staticClass:"row h-100 bg-light justify-content-center"},[e("div",{staticClass:"col-12 col-md-10 col-lg-7"},[t.initalLoad?e("div",{staticClass:"px-5"},[t.emptyFeed?e("div",[e("div",{staticClass:"jumbotron mt-5"},[e("h1",{staticClass:"display-4"},[t._v("Hello 👋")]),t._v(" "),e("h3",{staticClass:"font-weight-light"},[t._v("Welcome to Pixelfed Groups!")]),t._v(" "),e("p",{staticClass:"lead"},[t._v("Groups are a way to participate in like minded communities and topics.")]),t._v(" "),e("hr",{staticClass:"my-4"}),t._v(" "),t._m(0),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("router-link",{staticClass:"btn btn-primary btn-lg rounded-pill",attrs:{to:"/groups/discover"}},[t._v("\n Discover Groups\n ")])],1)])]):e("div",[t._m(1),t._v(" "),e("div",{staticClass:"my-3"},[t._l(t.feed,(function(s,a){return e("group-status",{key:"gs:"+s.id+a,attrs:{prestatus:s,profile:t.profile,"show-group-header":!0,group:s.group,"group-id":s.group.id}})})),t._v(" "),t.feed.length>2?e("div",[e("infinite-loading",{attrs:{distance:800},on:{infinite:t.infiniteFeed}},[e("div",{staticClass:"my-3",attrs:{slot:"no-more"},slot:"no-more"},[e("p",{staticClass:"lead font-weight-bold pt-5"},[t._v("You have reached the end of this feed")]),t._v(" "),e("div",{staticStyle:{height:"10rem"}})]),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1):t._e()],2)])]):e("div",[e("p",{staticClass:"text-center mt-5 pt-5 font-weight-bold"},[t._v("Loading...")])])])])])},o=[function(){var t=this,e=t._self._c;return e("p",[t._v("Anyone can create and manage their own group as long as it abides by our "),e("a",{attrs:{href:"#"}},[t._v("community guidelines")]),t._v(".")])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-4"},[e("p",{staticClass:"h1 font-weight-bold mb-1"},[t._v("Groups Feed")]),t._v(" "),e("p",{staticClass:"lead text-muted mb-0"},[t._v("Recent posts from your groups")])])}]},54479:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-groups-component"},[e("div",{staticClass:"list-container"},[t.isLoaded?e("div",[e("div",{staticClass:"list-group"},t._l(t.groups,(function(t,s){return e("a",{key:"rec:"+t.id+":"+s,staticClass:"list-group-item text-decoration-none",attrs:{href:t.url}},[e("group-list-card",{attrs:{group:t,truncateDescriptionLength:140,showStats:!0}})],1)})),0),t._v(" "),t.canLoadMore?e("p",[e("button",{staticClass:"btn btn-primary btn-block font-weight-bold mt-3",attrs:{disabled:t.loadingMore},on:{click:function(e){return e.preventDefault(),t.loadMore.apply(null,arguments)}}},[t._v("\n \t\tLoad more\n \t")])]):t._e()]):e("div",{staticClass:"d-flex justify-content-center"},[e("b-spinner")],1)])])},o=[]},75891:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){this._self._c;return this._m(0)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 col-md-9",staticStyle:{height:"100vh - 51px !important",overflow:"hidden"}},[e("div",{staticClass:"row h-100"},[e("div",{staticClass:"col-12 col-md-8 bg-lighter border-left"},[e("div",{staticClass:"p-4 mb-4"},[e("p",{staticClass:"h4 font-weight-bold mb-1 text-center"},[t._v("Group Invitations")])]),t._v(" "),e("div",{staticClass:"p-4 mb-4"},[e("p",{staticClass:"font-weight-bold text-center text-muted"},[t._v("You don't have any group invites")])])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4 bg-white border-left"},[e("div",{staticClass:"p-4"},[e("div",{staticClass:"bg-light rounded-lg border p-3"},[e("p",{staticClass:"lead font-weight-bold mb-0"},[t._v("Send Invite")]),t._v(" "),e("p",{staticClass:"mb-3"},[t._v("Invite friends to your groups")]),t._v(" "),e("div",{staticClass:"form-group",staticStyle:{position:"relative"}},[e("span",{staticStyle:{position:"absolute",top:"50%",transform:"translateY(-50%)",left:"15px","padding-right":"5px"}},[e("i",{staticClass:"fas fa-search text-lighter"})]),t._v(" "),e("input",{staticClass:"form-control bg-white rounded-pill",staticStyle:{"padding-left":"40px"},attrs:{placeholder:"Search username..."}})])])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"p-4 mb-2"},[e("p",{staticClass:"h4 font-weight-bold mb-1 text-center"},[t._v("Invitations Sent")])]),t._v(" "),e("div",{staticClass:"px-4 mb-4"},[e("p",{staticClass:"font-weight-bold text-center text-muted"},[t._v("You have not sent any group invites")])])])])])}]},25836:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"group-notification-component col-12 col-md-9",staticStyle:{height:"100vh - 51px !important",overflow:"hidden"}},[e("div",{staticClass:"row h-100 bg-white"},[e("div",{staticClass:"col-12 col-md-8 border-left"},[e("div",{staticClass:"px-5"},[t._m(0),t._v(" "),t._l(t.notifications,(function(s,a){return t.notifications.length>0?e("div",{staticClass:"nitem card card-body shadow-none mb-3 py-2 px-0 rounded-pill",staticStyle:{"background-color":"#F3F4F6"}},[e("div",{staticClass:"media align-items-center px-3"},[e("img",{staticClass:"mr-3 rounded-circle",staticStyle:{border:"1px solid #ccc"},attrs:{src:s.account.avatar,alt:"",width:"32px",height:"32px"}}),t._v(" "),e("div",{staticClass:"media-body"},["group:like"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{attrs:{href:t.getProfileUrl(s.account),"data-placement":"bottom","data-toggle":"tooltip",title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" liked your "),e("a",{attrs:{href:t.getPostUrl(s.status)}},[t._v("post")]),t._v(" in "),e("a",{attrs:{href:s.group.url}},[t._v(t._s(s.group.name))])])]):"group:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.status.url}},[t._v("post")]),t._v(" in "),e("a",{attrs:{href:s.group.url}},[t._v(t._s(s.group.name))])])]):"mention"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{attrs:{href:t.getProfileUrl(s.account),"data-placement":"bottom","data-toggle":"tooltip",title:s.account.username}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" "),e("a",{attrs:{href:t.mentionUrl(s.status)}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"group.join.approved"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" was rejected. You can re-apply to join in 6 months.\n\t\t\t\t\t\t\t\t\t")])]):e("div",[e("p",{staticClass:"my-0"},[t._v("Cannot display notification")])])]),t._v(" "),e("div",[e("div",{staticClass:"align-items-center text-muted"},[e("span",{staticClass:"small",attrs:{"data-toggle":"tooltip","data-placement":"bottom",title:s.created_at}},[t._v(t._s(t.timeAgo(s.created_at)))]),t._v(" "),e("span",[t._v("·")]),t._v(" "),t._m(1,!0)])])])]):t._e()}))],2)]),t._v(" "),e("div",{staticClass:"col-12 col-md-4 border-left bg-light"})])])},o=[function(){var t=this._self._c;return t("div",{staticClass:"my-4"},[t("p",{staticClass:"h1 font-weight-bold mb-1"},[this._v("Group Notifications")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"dropdown d-inline"},[e("a",{staticClass:"dropdown-toggle text-lighter",attrs:{href:"#",role:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[e("i",{staticClass:"far fa-cog fa-sm"})]),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"#"}},[t._v("Dismiss")]),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"#"}},[t._v("Help")]),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"#"}},[t._v("Report")])])])}]},5328:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 col-md-9",staticStyle:{height:"100vh - 51px !important",overflow:"hidden"}},[e("div",{staticClass:"row h-100 bg-lighter"},[e("div",{staticClass:"col-12 col-md-8 border-left"},[t._m(0),t._v(" "),e("div",{staticClass:"mb-5"},[e("div",{staticClass:"p-4 mb-4"},[e("div",{staticClass:"form-group"},[e("label",[t._v("Group URL")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.q,expression:"q"}],staticClass:"form-control form-control-lg rounded-pill bg-white border",attrs:{type:"text",placeholder:"https://pixelfed.social/groups/328323406233735168"},domProps:{value:t.q},on:{input:function(e){e.target.composing||(t.q=e.target.value)}}})]),t._v(" "),e("button",{staticClass:"btn btn-primary btn-block btn-lg rounded-pill font-weight-bold"},[t._v("Search")])])])]),t._v(" "),t._m(1)])])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"d-flex justify-content-center"},[e("div",{staticClass:"p-4 mb-4"},[e("p",{staticClass:"h4 font-weight-bold mb-1"},[t._v("Find a Remote Group")]),t._v(" "),e("p",{staticClass:"lead text-muted"},[t._v("Search and explore remote federated groups.")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 col-md-4 bg-white border-left"},[e("div",{staticClass:"my-4"},[e("h4",{staticClass:"font-weight-bold"},[t._v("Tips")]),t._v(" "),e("ul",{staticClass:"pl-3"},[e("li",{staticClass:"font-weight-bold"},[t._v("Some remote groups are not supported*")]),t._v(" "),e("li",[t._v("Read and comply with group rules defined by group admins")]),t._v(" "),e("li",[t._v("Use the full "),e("span",{staticClass:"font-weight-bold"},[t._v("Group URL")]),t._v(" including "),e("code",[t._v("https://")])]),t._v(" "),e("li",[t._v("Joining private groups requires manual approval from group admins, you will recieve a notification when your membership is approved")]),t._v(" "),e("li",[t._v("Inviting people to remote groups is not supported yet")]),t._v(" "),e("li",[t._v("Your group membership may be terminated at any time by group admins")])]),t._v(" "),e("p",{staticClass:"small"},[t._v("* Some remote groups may not be compatible, we are working to support other group implementations")])])])}]},3391:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t,e,s=this,a=s._self._c;return a("div",{staticClass:"group-post-header media"},[s.showGroupHeader?a("div",{staticClass:"mb-1",staticStyle:{position:"relative"}},[s.group.hasOwnProperty("metadata")&&(s.group.metadata.hasOwnProperty("avatar")||s.group.metadata.hasOwnProperty("header"))?a("img",{staticClass:"rounded-lg box-shadow mr-2",staticStyle:{"object-fit":"cover"},attrs:{src:s.group.metadata.hasOwnProperty("header")?s.group.metadata.header.url:s.group.metadata.avatar.url,width:"52",height:"52",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}):a("span",{staticClass:"d-block rounded-lg box-shadow mr-2 bg-primary",staticStyle:{width:"52px",height:"52px"}}),s._v(" "),a("img",{staticClass:"rounded-circle box-shadow border mr-2",staticStyle:{position:"absolute",bottom:"-4px",right:"-4px"},attrs:{src:s.status.account.avatar,width:"36",height:"36",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}})]):a("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:s.status.account.avatar,width:"42",height:"42",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'",alt:"avatar"}}),s._v(" "),a("div",{staticClass:"media-body"},[a("div",{staticClass:"pl-2 d-flex align-items-top"},[a("div",[a("p",{staticClass:"mb-0"},[s.showGroupHeader&&s.group?a("router-link",{staticClass:"group-name-link username",attrs:{to:"/groups/".concat(s.status.gid)}},[s._v("\n "+s._s(s.group.name)+"\n ")]):a("router-link",{staticClass:"group-name-link username",attrs:{to:"/groups/".concat(s.status.gid,"/user/").concat(null===(t=s.status)||void 0===t?void 0:t.account.id)},domProps:{innerHTML:s._s(s.statusCardUsernameFormat(s.status))}},[s._v("\n Loading...\n ")]),s._v(" "),s.showGroupChevron?a("span",[s._m(0),s._v(" "),a("span",[a("router-link",{staticClass:"group-name-link",attrs:{to:"/groups/".concat(s.status.gid)}},[s._v("\n "+s._s(s.group.name)+"\n ")])],1)]):s._e()],1),s._v(" "),a("p",{staticClass:"mb-0 mt-n1"},[s.showGroupHeader&&s.group?a("span",{staticStyle:{"font-size":"13px"}},[a("router-link",{staticClass:"group-name-link-small username",attrs:{to:"/groups/".concat(s.status.gid,"/user/").concat(null===(e=s.status)||void 0===e?void 0:e.account.id)},domProps:{innerHTML:s._s(s.statusCardUsernameFormat(s.status))}},[s._v("\n Loading...\n ")]),s._v(" "),a("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[s._v("·")]),s._v(" "),a("router-link",{staticClass:"font-weight-light text-muted",attrs:{to:"/groups/".concat(s.status.gid,"/p/").concat(s.status.id)}},[s._v("\n "+s._s(s.shortTimestamp(s.status.created_at))+"\n ")]),s._v(" "),a("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[s._v("·")]),s._v(" "),s._m(1)],1):a("span",[a("router-link",{staticClass:"font-weight-light text-muted small",attrs:{to:"/groups/".concat(s.status.gid,"/p/").concat(s.status.id)}},[s._v("\n "+s._s(s.shortTimestamp(s.status.created_at))+"\n ")]),s._v(" "),a("span",{staticClass:"text-lighter",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[s._v("·")]),s._v(" "),s._m(2)],1)])]),s._v(" "),s.profile?a("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[a("div",{staticClass:"dropdown"},[s._m(3),s._v(" "),a("div",{staticClass:"dropdown-menu dropdown-menu-right"},[a("a",{staticClass:"dropdown-item",attrs:{href:"#"}},[s._v("View Post")]),s._v(" "),a("a",{staticClass:"dropdown-item",attrs:{href:"#"}},[s._v("View Profile")]),s._v(" "),a("a",{staticClass:"dropdown-item",attrs:{href:"#"}},[s._v("Copy Link")]),s._v(" "),a("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),s.sendReport()}}},[s._v("Report")]),s._v(" "),a("div",{staticClass:"dropdown-divider"}),s._v(" "),a("a",{staticClass:"dropdown-item text-danger",attrs:{href:"#"}},[s._v("Delete")])])])]):s._e()])])])},o=[function(){var t=this._self._c;return t("span",{staticClass:"text-muted",staticStyle:{"padding-left":"2px","padding-right":"2px"}},[t("i",{staticClass:"fas fa-caret-right"})])},function(){var t=this._self._c;return t("span",{staticClass:"text-muted"},[t("i",{staticClass:"fas fa-globe"})])},function(){var t=this._self._c;return t("span",{staticClass:"text-muted small"},[t("i",{staticClass:"fas fa-globe"})])},function(){var t=this._self._c;return t("button",{staticClass:"btn btn-link dropdown-toggle",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"fas fa-ellipsis-h text-lighter"})])}]},70560:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"18px !important"}},[e("div",{staticClass:"card-body pb-0"},[t._m(0),t._v(" "),e("div",[t.showCommentDrawer?e("comment-drawer",{attrs:{"permalink-mode":t.permalinkMode,"permalink-status":t.childContext,status:t.status,profile:t.profile,"group-id":t.groupId,"can-reply":!1}}):t._e()],1)])])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body border shadow-none mb-3",staticStyle:{"background-color":"#E5E7EB"}},[e("div",{staticClass:"media p-md-4"},[e("div",{staticClass:"mr-4 pt-2"},[e("i",{staticClass:"fas fa-lock fa-2x"})]),t._v(" "),e("div",{staticClass:"media-body",staticStyle:{"max-width":"320px"}},[e("p",{staticClass:"lead font-weight-bold mb-1"},[t._v("This content isn't available right now")]),t._v(" "),e("p",{staticClass:"mb-0",staticStyle:{"font-size":"12px","letter-spacing":"-0.3px"}},[t._v("When this happens, it's usually because the owner only shared it with a small group of people, changed who can see it, or it's been deleted.")])])])])}]},18389:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("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(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("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(s,a){return e("b-carousel-slide",{key:s.id+"-media"},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:s.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{slot:"img",title:s.description},slot:"img"},[e("img",{class:s.filter_class+" d-block img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)]):e("div",{staticClass:"w-100 h-100 p-0"},[e("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(s,a){return e("slide",{key:"px-carousel-"+s.id+"-"+a,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:s.description,width:"100%",height:"100%"}},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{title:s.description}},[e("img",{class:s.filter_class+" img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)},o=[]},28691:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("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(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[e("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(s,a){return e("slide",{key:"px-carousel-"+s.id+"-"+a,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:s.description}},[e("img",{staticClass:"img-fluid w-100 p-0",attrs:{src:s.url,alt:t.altText(s),loading:"lazy","data-bp":s.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),t._v(" "),e("div",{staticClass:"album-overlay"},[!t.status.sensitive&&t.sensitive?e("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}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),e("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)}}},[e("i",{staticClass:"fas fa-expand fa-lg"})]),t._v(" "),t.status.media_attachments[0].license?e("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))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("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 "),e("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._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},84094:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("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(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",[e("div",{staticStyle:{position:"relative"},attrs:{title:t.status.media_attachments[0].description}},[e("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?e("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}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?e("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))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("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 "),e("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._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},12024:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("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(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("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,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)]):e("div",[e("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,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)},o=[]},75593:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("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(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",{staticClass:"embed-responsive embed-responsive-16by9"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"","webkit-playsinline":"",preload:"metadata",loop:"","data-id":t.status.id,poster:t.poster()}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])},o=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},45322:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("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?e("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?e("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?e("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?e("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?e("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?e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" to Followers")]),t._v(" "),e("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?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v("Embed")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.ctxEmbedShowCaption=s.concat([null])):i>-1&&(t.ctxEmbedShowCaption=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowCaption=o}}}),t._v(" "),e("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(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.ctxEmbedShowLikes=s.concat([null])):i>-1&&(t.ctxEmbedShowLikes=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedShowLikes=o}}}),t._v(" "),e("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(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,a=e.target,o=!!a.checked;if(Array.isArray(s)){var i=t._i(s,null);a.checked?i<0&&(t.ctxEmbedCompactMode=s.concat([null])):i>-1&&(t.ctxEmbedCompactMode=s.slice(0,i).concat(s.slice(i+1)))}else t.ctxEmbedCompactMode=o}}}),t._v(" "),e("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(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},o=[]},28995:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"card shadow-none rounded-0",class:{border:t.showBorder,"border-top-0":!t.showBorderTop}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",alt:"avatar"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("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(" "),e("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(" "),e("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(" "),e("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(" "),e("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(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t")]):e("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(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[e("div",{staticClass:"poll py-3"},[e("div",{staticClass:"pt-2 text-break d-flex align-items-center mb-3",staticStyle:{"font-size":"17px"}},[t._m(1),t._v(" "),e("span",{staticClass:"font-weight-bold ml-3",domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),e("div",{staticClass:"mb-2"},["vote"===t.tab?e("div",[t._l(t.status.poll.options,(function(s,a){return e("p",[e("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(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")])])})),t._v(" "),null!=t.selectedIndex?e("p",{staticClass:"text-right"},[e("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?e("div",t._l(t.status.poll.options,(function(s,a){return e("div",{staticClass:"mb-3"},[e("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(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):"results"===t.tab?e("div",t._l(t.status.poll.options,(function(s,a){return e("div",{staticClass:"mb-3"},[e("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(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):t._e()]),t._v(" "),e("div",[e("p",{staticClass:"mb-0 small text-lighter font-weight-bold d-flex justify-content-between"},[e("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?e("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?e("span",{staticClass:"text-lighter"},[t._m(2)]):t._e()])]),t._v(" "),e("div",[e("span",{staticClass:"d-block d-md-none small text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t\t\t")]):e("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(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},o=[function(){var t=this,e=t._self._c;return e("span",{staticClass:"d-none d-md-block px-1 text-primary font-weight-bold"},[e("i",{staticClass:"fas fa-poll-h"}),t._v(" Poll "),e("sup",{staticClass:"text-lighter"},[t._v("BETA")])])},function(){var t=this._self._c;return t("span",{staticClass:"btn btn-primary px-2 py-1"},[t("i",{staticClass:"fas fa-poll-h fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},55722:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>a,staticRenderFns:()=>o});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"status-card-component",class:{"status-card-sm":"small"===t.size}},["text"===t.status.pf_type?e("div",{staticClass:"card shadow-none border rounded-0",class:{"border-top-0":!t.hasTopBorder}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("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(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("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(" "),e("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(" "),e("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(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[t.status.sensitive?e("details",[e("summary",{staticClass:"mb-2 font-weight-bold text-muted"},[t._v("Content Warning")]),t._v(" "),e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}})]):e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}}),t._v(" "),e("p",{staticClass:"mb-0"},[e("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(" "),e("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?e("div",[e("poll-card",{attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1):e("div",{staticClass:"card rounded-0 border-top-0 status-card card-md-rounded-0 shadow-none border"},[t.status?e("div",{staticClass:"card-header d-inline-flex align-items-center bg-white"},[e("div",[e("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(" "),e("div",{staticClass:"pl-2"},[e("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(" "),t.status.account.is_admin?e("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[t.status.place?e("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"}},[e("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(" "),e("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]):t._e(),t._v(" "),e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):e("div",{staticClass:"w-100"},[e("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?e("div",{staticClass:"card-body border-top border-bottom py-2 cursor-pointer pr-2",on:{click:function(e){return t.labelRedirect()}}},[e("p",{staticClass:"font-weight-bold d-flex justify-content-between align-items-center mb-0"},[e("span",[e("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(" "),e("div",{staticClass:"card-body"},[t.reactionBar?e("div",{staticClass:"reactions my-1 pb-2"},[t.status.favourited?e("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)}}}):e("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():e("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?e("span",{staticClass:"float-right"},[e("span",{staticClass:"font-weight-light small",staticStyle:{color:"#718096"}},[e("i",{staticClass:"far fa-user",attrs:{"data-toggle":"tooltip",title:"Tagged People"}}),t._v(" "),t._l(t.status.taggedPeople,(function(t,s){return e("span",{staticClass:"mr-n2"},[e("a",{attrs:{href:"/"+t.username}},[e("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?e("div",{staticClass:"likes mb-1"},[e("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t"),e("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?e("span",[t._v("\n\t\t\t\t\t\tand "),t.status.liked_by.total_count_pretty?e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v("others")])]):t._e()])]):t._e(),t._v(" "),"text"!=t.status.pf_type?e("div",{staticClass:"caption"},[t.status.sensitive?t._e():e("p",{staticClass:"mb-2 read-more",staticStyle:{overflow:"hidden"}},[e("span",{staticClass:"username font-weight-bold"},[e("bdi",[e("a",{staticClass:"text-dark",attrs:{href:t.profileUrl(t.status)}},[t._v(t._s(t.status.account.username))])])]),t._v(" "),e("span",{staticClass:"status-content",domProps:{innerHTML:t._s(t.content)}})])]):t._e(),t._v(" "),e("div",{staticClass:"timestamp mt-2"},[e("p",{staticClass:"small mb-0"},["archived"!=t.status.visibility?e("a",{staticClass:"text-muted text-uppercase",attrs:{href:t.statusUrl(t.status)}},[e("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):e("span",{staticClass:"text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\tPosted "),e("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?e("span",[e("span",{staticClass:"px-1"},[t._v("·")]),t._v(" "),e("span",{staticClass:"text-muted"},[t._v("Based on popular and trending content")])]):t._e()])])])]),t._v(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},o=[function(){var t=this._self._c;return t("span",[t("i",{staticClass:"fas fa-chevron-right text-lighter"})])}]},74050:(t,e,s)=>{Vue.component("group-component",s(17547).default),Vue.component("groups-home",s(18115).default),Vue.component("group-feed",s(71307).default),Vue.component("group-settings",s(13480).default),Vue.component("group-profile",s(17346).default),Vue.component("groups-invite",s(1544).default)},53933:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".card-img-top[data-v-7066737e]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-7066737e]{position:relative}.content-label[data-v-7066737e]{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-7066737e]{position:relative}",""]);const i=o},71336:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".card-img-top[data-v-f935045a]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-f935045a]{position:relative}.content-label[data-v-f935045a]{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 i=o},1685:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".content-label-wrapper[data-v-7871d23c]{position:relative}.content-label[data-v-7871d23c]{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 i=o},40102:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-component-hero{align-items:center;background-color:#fff;border:1px solid #dee2e6;border-top:0;display:flex;justify-content:space-between;padding:1rem}.group-component-hero h3{margin-bottom:0}",""]);const i=o},86387:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,'.create-group-component .submit-button{width:130px}.create-group-component .multistep{counter-reset:step;margin-bottom:30px;margin-top:30px;overflow:hidden;padding-left:0;text-align:center}.create-group-component .multistep li{color:#b8c2cc;float:left;font-size:9px;font-weight:700;list-style-type:none;position:relative;text-transform:uppercase;width:20%}.create-group-component .multistep li.active{color:#000}.create-group-component .multistep li:before{background:#f3f4f6;border-radius:25px;color:#b8c2cc;content:counter(step);counter-increment:step;display:block;font-size:12px;height:24px;line-height:26px;margin:0 auto 10px;transition:background .4s;width:24px}.create-group-component .multistep li:after{background:#dee2e6;content:"";height:2px;left:-50%;position:absolute;top:11px;transition:background .4s;width:100%;z-index:-1}.create-group-component .multistep li:first-child:after{content:none}.create-group-component .multistep li.active:after,.create-group-component .multistep li.active:before{background:#2c78bf;color:#fff;transition:background .4s}.create-group-component .col-form-label{font-weight:600;text-align:right}',""]);const i=o},71546:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-feed-component-header{align-items:flex-end;background-color:transparent;display:flex;justify-content:space-between;padding:1rem 0}.group-feed-component-header .cta-btn{width:190px}.group-feed-component .header-jumbotron{background-color:#f3f4f6;border-bottom-left-radius:20px;border-bottom-right-radius:20px;height:320px}.group-feed-component-menu{align-items:center;display:flex;justify-content:space-between;padding:0}.group-feed-component-menu-nav .nav-item .nav-link{color:#6c757d;padding-bottom:1rem;padding-top:1rem}.group-feed-component-menu-nav .nav-item .nav-link.active{border-bottom:2px solid #2c78bf;color:#2c78bf}.group-feed-component-menu-nav:not(last-child) .nav-item{margin-right:14px}.group-feed-component-body{min-height:40vh}.group-feed-component .member-label{background:rgba(137,196,244,.2);border:1px solid rgba(137,196,244,.3);color:#4b77be;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}.group-feed-component .dropdown-item{font-weight:600}.group-feed-component .remote-label{background:#fef3c7;border:1px solid #fcd34d;color:#b45309;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}",""]);const i=o},43438:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-invite-component .btn-light{border-color:#e5e7eb}",""]);const i=o},72752:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-profile-component{background-color:#f0f2f5}.group-profile-component .header-jumbotron{background-color:#f3f4f6;border-bottom-left-radius:20px;border-bottom-right-radius:20px;height:320px}.group-profile-component .header-profile-card{align-items:center;display:flex;flex-direction:column;justify-content:center}.group-profile-component .header-profile-card .avatar{border-radius:50%;height:170px;margin-bottom:20px;margin-top:-150px;width:170px}.group-profile-component .header-profile-card .name{font-size:30px;font-weight:700;line-height:30px;margin-bottom:6px;text-align:center}.group-profile-component .header-profile-card .username{font-size:16px;font-weight:500;text-align:center}.group-profile-component .header-navbar{align-items:center;border-top:1px solid #f3f4f6;display:flex;height:60px;justify-content:space-between}.group-profile-component .header-navbar .dropdown{display:inline-block}.group-profile-component .header-navbar .dropdown-toggle:after{display:none}.group-profile-component .group-profile-feed{min-height:500px}.group-profile-component .infolet{margin-bottom:1rem}.group-profile-component .infolet .media-icon{display:flex;justify-content:center;margin-right:10px;width:30px}.group-profile-component .infolet .media-icon i{color:#d1d5db!important;font-size:1.1rem}.group-profile-component .btn-light{border-color:#f3f4f6}",""]);const i=o},47841:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-settings-component-header{align-items:flex-end;background-color:#fff;display:flex;justify-content:space-between;padding:2rem 1rem 1rem}.group-settings-component-header .cta-btn{min-width:140px}",""]);const i=o},93537:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".groups-home-component{font-family:var(--font-family-sans-serif)}.groups-home-component .group-nav-btn{background-color:transparent;border-color:transparent;border-radius:1.5rem;color:#6c757d;display:block;justify-content:flex-start;margin-bottom:.3rem;padding-bottom:.3rem;padding-left:0;padding-top:.3rem;text-align:left;width:100%}.groups-home-component .group-nav-btn.active{background-color:#eff6ff!important;border:1px solid #dbeafe!important;color:#212529}.groups-home-component .group-nav-btn.active .group-nav-btn-icon{background-color:#2c78bf!important;color:#fff!important}.groups-home-component .group-nav-btn-icon{align-items:center;background-color:#e5e7eb;border-radius:17px;display:inline-flex;height:35px;justify-content:center;margin:auto .3rem;padding:12px;width:35px}.groups-home-component .group-nav-btn-name{display:inline-block;font-weight:700;margin-left:.3rem}.groups-home-component .autocomplete-input{background-color:#f8f9fa!important;border-color:transparent;border-radius:50rem;color:#495057;font-size:.9rem;height:2.375rem}.groups-home-component .autocomplete-input:focus,.groups-home-component .autocomplete-input[aria-expanded=true]{box-shadow:none}.groups-home-component .autocomplete-result{background:none;padding:12px}.groups-home-component .autocomplete-result:focus,.groups-home-component .autocomplete-result:hover{background-color:#eff6ff!important}.groups-home-component .autocomplete-result .media img{border-radius:4px;margin-right:.6rem;-o-object-fit:cover;object-fit:cover}.groups-home-component .autocomplete-result .media .icon-placeholder{align-items:center;background-color:#2c78bf;border-radius:4px;color:#fff;display:flex;height:32px;justify-content:center;margin-right:.6rem;width:32px}.groups-home-component .autocomplete-result-list{padding-bottom:0}.groups-home-component .fade-enter-active,.groups-home-component .fade-leave-active{transition:opacity .2s}.groups-home-component .fade-enter,.groups-home-component .fade-leave-to{opacity:0}",""]);const i=o},11620:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,'.comment-drawer-component .media{position:relative}.comment-drawer-component .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}.comment-drawer-component .media .comment-border-link:hover{background-color:#bfdbfe}.comment-drawer-component .media .child-reply-form{position:relative}.comment-drawer-component .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}.comment-drawer-component .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.comment-drawer-component .media-status{margin-bottom:1.3rem}.comment-drawer-component .media-avatar{margin-right:12px}.comment-drawer-component .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.comment-drawer-component .media-body-comment-username{color:#000;font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.comment-drawer-component .media-body-comment-username a{color:#000;text-decoration:none}.comment-drawer-component .media-body-comment-content{font-size:16px;margin-bottom:0}.comment-drawer-component .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.25rem!important}.comment-drawer-component .load-more-comments{font-weight:500}.comment-drawer-component .reply-form{margin-bottom:2rem}.comment-drawer-component .reply-form-input{flex:1;position:relative}.comment-drawer-component .reply-form-input textarea{border-radius:10px}.comment-drawer-component .reply-form-input .form-control{padding-right:100px;resize:none}.comment-drawer-component .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.comment-drawer-component .reply-form .btn{text-decoration:none}.comment-drawer-component .reply-form-menu{margin-top:5px}.comment-drawer-component .reply-form-menu .char-counter{color:var(--muted);font-size:10px}.comment-drawer-component .bh-comment,.comment-drawer-component .bh-comment img,.comment-drawer-component .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.comment-drawer-component .bh-comment img{-o-object-fit:cover;object-fit:cover}',""]);const i=o},14941:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,"",""]);const i=o},68863:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,"",""]);const i=o},86716:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-info-card .title[data-v-9d095298]{font-size:16px;font-weight:700}.group-info-card .description[data-v-9d095298]{color:#6c757d;font-size:15px;font-weight:400;margin-bottom:0;white-space:break-spaces}.group-info-card .fact[data-v-9d095298]{align-items:center;display:flex;margin-bottom:1.5rem}.group-info-card .fact-body[data-v-9d095298]{flex:1}.group-info-card .fact-icon[data-v-9d095298]{text-align:center;width:50px}.group-info-card .fact-title[data-v-9d095298]{font-size:17px;font-weight:500;margin-bottom:0}.group-info-card .fact-subtitle[data-v-9d095298]{color:#6c757d;font-size:14px;margin-bottom:0}",""]);const i=o},96187:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-invite-modal-wrapper .media{border-radius:10px;cursor:pointer;height:60px;padding:10px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.group-invite-modal-wrapper .media:hover{background-color:#e5e7eb}",""]);const i=o},17955:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-list-card .member-label[data-v-102531e6]{background:rgba(137,196,244,.2);border:1px solid rgba(137,196,244,.3);border-radius:3px;color:#4b77be}.group-list-card .member-label[data-v-102531e6],.group-list-card .remote-label[data-v-102531e6]{font-size:9px;font-weight:500;padding:2px 5px;text-transform:capitalize}.group-list-card .remote-label[data-v-102531e6]{background:#fef3c7;border:1px solid #fcd34d;border-radius:3px;color:#b45309}.group-list-card .group-header-img[data-v-102531e6]{height:60px;-o-object-fit:cover;object-fit:cover;padding:0;width:60px}.group-list-card .group-header-img.compact[data-v-102531e6]{height:42.5px;width:42.5px}",""]);const i=o},43247:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".gpm-media{display:flex;width:70%}.gpm-media img{background-color:#000;height:auto;max-height:70vh;-o-object-fit:contain;object-fit:contain;width:100%}.gpm .comment-drawer-component .my-3{max-height:46vh;overflow:auto}.gpm .cdrawer-reply-form{bottom:0;margin-bottom:1rem!important;min-width:310px;position:absolute}",""]);const i=o},83561:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-search-modal-wrapper .media{border-radius:10px;cursor:pointer;height:60px;padding:10px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.group-search-modal-wrapper .media:hover{background-color:#e5e7eb}",""]);const i=o},69780:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((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}.reaction-bar{border:1px solid #f3f4f6!important;left:-50px!important;max-width:unset;width:auto}.reaction-bar .popover-body{padding:2px}.reaction-bar .arrow{display:none}.reaction-bar img{width:48px}",""]);const i=o},5028:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".header-image[data-v-63bf412f]{border:1px solid var(--light);border-bottom-left-radius:5px;border-bottom-right-radius:5px;height:auto;margin-bottom:0;margin-top:-1px;max-height:220px;-o-object-fit:cover;object-fit:cover;width:100%}@media (min-width:768px){.header-image[data-v-63bf412f]{max-height:420px}}.header-jumbotron[data-v-63bf412f]{background-color:#f3f4f6;border-bottom-left-radius:20px;border-bottom-right-radius:20px;height:320px}",""]);const i=o},13843:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-feed-component-header{align-items:flex-end;background-color:transparent;display:flex;justify-content:space-between;padding:1rem 0}.group-feed-component-header .cta-btn{width:190px}.group-feed-component .member-label{background:rgba(137,196,244,.2);border:1px solid rgba(137,196,244,.3);color:#4b77be;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}.group-feed-component .dropdown-item{font-weight:600}.group-feed-component .remote-label{background:#fef3c7;border:1px solid #fcd34d;color:#b45309;font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}",""]);const i=o},35778:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-feed-component-menu{align-items:center;display:flex;justify-content:space-between;padding:0}.group-feed-component-menu-nav .nav-item .nav-link{color:#6c757d;padding-bottom:1rem;padding-top:1rem}.group-feed-component-menu-nav .nav-item .nav-link.active{border-bottom:2px solid #2c78bf;color:#2c78bf}.group-feed-component-menu-nav:not(last-child) .nav-item{margin-right:14px}",""]);const i=o},14990:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".self-discover-component .list-group-item{text-decoration:none}.self-discover-component .list-group-item:hover{background-color:#f3f4f6}.self-discover-component .bg-mantle{background:linear-gradient(45deg,#24c6dc,#514a9d)}.self-discover-component .bg-black{background-color:#000}.self-discover-component .bg-black hr{border-top:1px solid hsla(0,0%,100%,.12)}.self-discover-component .title{align-items:center;display:flex;justify-content:space-between}.self-discover-component .title span{font-size:24px;font-weight:600}.self-discover-component .title .btn{border:1px solid #e5e7eb}",""]);const i=o},33450:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".my-groups-component .list-container[data-v-04397ac0]{margin-bottom:30vh}.my-groups-component .member-label[data-v-04397ac0]{background:rgba(137,196,244,.2);border:1px solid rgba(137,196,244,.3);border-radius:3px;color:#4b77be}.my-groups-component .member-label[data-v-04397ac0],.my-groups-component .remote-label[data-v-04397ac0]{font-size:12px;font-weight:400;padding:2px 5px;text-transform:capitalize}.my-groups-component .remote-label[data-v-04397ac0]{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:3px;color:#4b5563}",""]);const i=o},8695:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,'.group-notification-component .dropdown-toggle:after{content:"";display:none}.group-notification-component .nitem a{color:#000;font-weight:700!important}.group-notification-component .nitem a:focus,.group-notification-component .nitem a:hover{color:#121416!important}',""]);const i=o},47292:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((function(t){return t[1]}));o.push([t.id,".group-post-header .btn[data-v-139b174c]::focus{box-shadow:none}.group-post-header .dropdown-toggle[data-v-139b174c]:after{display:none}.group-post-header .group-name-link[data-v-139b174c]{font-size:16px}.group-post-header .group-name-link[data-v-139b174c],.group-post-header .group-name-link-small[data-v-139b174c]{word-wrap:break-word!important;color:var(--body-color)!important;font-weight:600;text-decoration:none;word-break:break-word!important}.group-post-header .group-name-link-small[data-v-139b174c]{font-size:14px}",""]);const i=o},93145:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(76798),o=s.n(a)()((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 i=o},95442:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(53933),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},27713:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(71336),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},72908:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(1685),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},23122:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(40102),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},39392:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(86387),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},36889:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(71546),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},197:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(43438),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},77873:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(72752),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},79442:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(47841),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},82564:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(93537),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},1893:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(11620),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},80892:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(14941),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},72284:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(68863),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},90709:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(86716),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},37828:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(96187),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},43430:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(17955),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},91944:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(43247),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},44742:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(83561),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},76629:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(69780),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},3055:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(5028),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},58234:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(13843),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},44027:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(35778),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},78705:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(14990),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},65925:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(33450),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},43198:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(8695),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},44499:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(47292),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},1198:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var a=s(85072),o=s.n(a),i=s(93145),r={insert:"head",singleton:!1};o()(i.default,r);const n=i.default.locals||{}},17547:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(64330),o=s(32608),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(628);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},49139:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(25709),o=s(40720),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(65821);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},71307:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(31846),o=s(35236),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(65248);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},1544:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(54888),o=s(79051),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(40728);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},17346:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(56814),o=s(47953),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(49126);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},13480:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(85729),o=s(44515),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(7963);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},18115:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(51147),o=s(91036),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(62127);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},69513:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(94052),o=s(96046),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(84930);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},66536:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(47173),o=s(7059),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(89483);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},84125:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(22515),o=s(60586),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},62181:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(33988),o=s(72934),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},69104:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(49782),o=s(22903),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},40482:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(4552),o=s(60473),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},71347:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(87362),o=s(77548),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},17108:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(73143),o=s(22899),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(81189);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},13094:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(15476),o=s(98281),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(24978);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"9d095298",null).exports},19413:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(35343),o=s(75337),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(92585);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},75386:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(8953),o=s(69309),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(20857);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"102531e6",null).exports},42013:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(2133),o=s(65638),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(99653);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},94559:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(9339),o=s(84552),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(7455);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},95002:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(68786),o=s(60481),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(99258);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},58753:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(40710),o=s(72122),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},49268:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(19748),o=s(85083),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(56766);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"63bf412f",null).exports},52505:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(97741),o=s(36962),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(53861);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},33457:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(89014),o=s(18458),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(62224);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},7764:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(8751),o=s(6723),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},54048:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(80580),o=s(33759),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(98764);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},90637:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(16802),o=s(44778),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},57397:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(53056),o=s(73622),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(83012);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"04397ac0",null).exports},27403:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(17702),o=s(10912),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},65603:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(59037),o=s(65968),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(3469);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},5799:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(76407),o=s(71880),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},76746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(51716),o=s(28725),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(82030);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"139b174c",null).exports},40798:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(97299),o=s(84381),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},21466:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(63476),o=s(95509),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},98051:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(37086),o=s(90660),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(58877);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"7066737e",null).exports},37128:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(84585),o=s(2815),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(2776);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"f935045a",null).exports},61518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(99521),o=s(4777),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},79427:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(17962),o=s(6452),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(741);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,"7871d23c",null).exports},53744:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(29375),o=s(21663),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},78841:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(8044),o=s(24966),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},79984:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var a=s(53681),o=s(203),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);s(51627);const r=(0,s(14486).default)(o.default,a.render,a.staticRenderFns,!1,null,null,null).exports},32608:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(19933),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},40720:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(22681),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},35236:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(72233),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},79051:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(2118),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},47953:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(20258),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},44515:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(39786),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},91036:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(95727),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},96046:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(68717),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},7059:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(78828),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},60586:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(15961),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},72934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(3891),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},22903:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(35334),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},60473:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(87844),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},77548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(45065),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},22899:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(91446),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},98281:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(15426),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},75337:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(51796),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},69309:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(68902),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},65638:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(43599),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},84552:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(89905),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},60481:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(6234),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},72122:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(96895),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},85083:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(70714),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},36962:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(9125),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},18458:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(11493),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},6723:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(79270),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},33759:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(93350),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},44778:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(34015),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},73622:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(7755),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},10912:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(26751),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},65968:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(93543),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},71880:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(60217),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},28725:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(33664),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},84381:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(75e3),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},95509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(33422),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},90660:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(36639),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},2815:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(9266),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},4777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(35986),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},6452:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(25189),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},21663:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(70384),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},24966:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(78615),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},203:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var a=s(47898),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const i=a.default},64330:(t,e,s)=>{"use strict";s.r(e);var a=s(93409),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},25709:(t,e,s)=>{"use strict";s.r(e);var a=s(78058),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},31846:(t,e,s)=>{"use strict";s.r(e);var a=s(91057),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},54888:(t,e,s)=>{"use strict";s.r(e);var a=s(62959),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},56814:(t,e,s)=>{"use strict";s.r(e);var a=s(80311),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},85729:(t,e,s)=>{"use strict";s.r(e);var a=s(902),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},51147:(t,e,s)=>{"use strict";s.r(e);var a=s(36826),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},94052:(t,e,s)=>{"use strict";s.r(e);var a=s(37773),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},47173:(t,e,s)=>{"use strict";s.r(e);var a=s(16560),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},22515:(t,e,s)=>{"use strict";s.r(e);var a=s(57442),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},33988:(t,e,s)=>{"use strict";s.r(e);var a=s(88291),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},49782:(t,e,s)=>{"use strict";s.r(e);var a=s(20285),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},4552:(t,e,s)=>{"use strict";s.r(e);var a=s(80171),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},87362:(t,e,s)=>{"use strict";s.r(e);var a=s(47545),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},73143:(t,e,s)=>{"use strict";s.r(e);var a=s(54968),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},15476:(t,e,s)=>{"use strict";s.r(e);var a=s(26177),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},35343:(t,e,s)=>{"use strict";s.r(e);var a=s(22224),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},8953:(t,e,s)=>{"use strict";s.r(e);var a=s(25012),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},2133:(t,e,s)=>{"use strict";s.r(e);var a=s(64954),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},9339:(t,e,s)=>{"use strict";s.r(e);var a=s(83560),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},68786:(t,e,s)=>{"use strict";s.r(e);var a=s(79355),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},40710:(t,e,s)=>{"use strict";s.r(e);var a=s(52809),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},19748:(t,e,s)=>{"use strict";s.r(e);var a=s(2011),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},97741:(t,e,s)=>{"use strict";s.r(e);var a=s(11568),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},89014:(t,e,s)=>{"use strict";s.r(e);var a=s(17859),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},8751:(t,e,s)=>{"use strict";s.r(e);var a=s(30832),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},80580:(t,e,s)=>{"use strict";s.r(e);var a=s(48511),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},16802:(t,e,s)=>{"use strict";s.r(e);var a=s(84941),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},53056:(t,e,s)=>{"use strict";s.r(e);var a=s(54479),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},17702:(t,e,s)=>{"use strict";s.r(e);var a=s(75891),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},59037:(t,e,s)=>{"use strict";s.r(e);var a=s(25836),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},76407:(t,e,s)=>{"use strict";s.r(e);var a=s(5328),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},51716:(t,e,s)=>{"use strict";s.r(e);var a=s(3391),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},97299:(t,e,s)=>{"use strict";s.r(e);var a=s(70560),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},63476:(t,e,s)=>{"use strict";s.r(e);var a=s(18389),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},37086:(t,e,s)=>{"use strict";s.r(e);var a=s(28691),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},84585:(t,e,s)=>{"use strict";s.r(e);var a=s(84094),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},99521:(t,e,s)=>{"use strict";s.r(e);var a=s(12024),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},17962:(t,e,s)=>{"use strict";s.r(e);var a=s(75593),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},29375:(t,e,s)=>{"use strict";s.r(e);var a=s(45322),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},8044:(t,e,s)=>{"use strict";s.r(e);var a=s(28995),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},53681:(t,e,s)=>{"use strict";s.r(e);var a=s(55722),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},58877:(t,e,s)=>{"use strict";s.r(e);var a=s(95442),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},2776:(t,e,s)=>{"use strict";s.r(e);var a=s(27713),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},741:(t,e,s)=>{"use strict";s.r(e);var a=s(72908),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},628:(t,e,s)=>{"use strict";s.r(e);var a=s(23122),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},65821:(t,e,s)=>{"use strict";s.r(e);var a=s(39392),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},65248:(t,e,s)=>{"use strict";s.r(e);var a=s(36889),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},40728:(t,e,s)=>{"use strict";s.r(e);var a=s(197),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},49126:(t,e,s)=>{"use strict";s.r(e);var a=s(77873),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},7963:(t,e,s)=>{"use strict";s.r(e);var a=s(79442),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},62127:(t,e,s)=>{"use strict";s.r(e);var a=s(82564),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},84930:(t,e,s)=>{"use strict";s.r(e);var a=s(1893),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},89483:(t,e,s)=>{"use strict";s.r(e);var a=s(80892),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},81189:(t,e,s)=>{"use strict";s.r(e);var a=s(72284),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},24978:(t,e,s)=>{"use strict";s.r(e);var a=s(90709),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},92585:(t,e,s)=>{"use strict";s.r(e);var a=s(37828),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},20857:(t,e,s)=>{"use strict";s.r(e);var a=s(43430),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},99653:(t,e,s)=>{"use strict";s.r(e);var a=s(91944),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},7455:(t,e,s)=>{"use strict";s.r(e);var a=s(44742),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},99258:(t,e,s)=>{"use strict";s.r(e);var a=s(76629),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},56766:(t,e,s)=>{"use strict";s.r(e);var a=s(3055),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},53861:(t,e,s)=>{"use strict";s.r(e);var a=s(58234),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},62224:(t,e,s)=>{"use strict";s.r(e);var a=s(44027),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},98764:(t,e,s)=>{"use strict";s.r(e);var a=s(78705),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},83012:(t,e,s)=>{"use strict";s.r(e);var a=s(65925),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},3469:(t,e,s)=>{"use strict";s.r(e);var a=s(43198),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},82030:(t,e,s)=>{"use strict";s.r(e);var a=s(44499),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)},51627:(t,e,s)=>{"use strict";s.r(e);var a=s(1198),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o)}},t=>{t.O(0,[3660],(()=>{return e=74050,t(t.s=e);var e}));t.O()}]); \ No newline at end of file diff --git a/public/js/home.chunk.8bbc3c5c38dde66d.js b/public/js/home.chunk.db29292541125db4.js similarity index 76% rename from public/js/home.chunk.8bbc3c5c38dde66d.js rename to public/js/home.chunk.db29292541125db4.js index 7aa8ec580..226236da5 100644 --- a/public/js/home.chunk.8bbc3c5c38dde66d.js +++ b/public/js/home.chunk.db29292541125db4.js @@ -1,2 +1,2 @@ -/*! For license information please see home.chunk.8bbc3c5c38dde66d.js.LICENSE.txt */ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[4951],{27836:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var i=s(5787),a=s(28772),o=s(59993),n=s(67051),r=(s(76830),s(88153));const l={props:{scope:{type:String,default:"home"}},components:{drawer:i.default,sidebar:a.default,timeline:n.default,rightbar:o.default,"story-carousel":r.default},data:function(){return{isLoaded:!1,profile:void 0,recommended:[],trending:[],storiesEnabled:!1,shouldRefresh:!1,showUpdateWarning:!1,showUpdateConnectionWarning:!1,updateInfo:void 0}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){var t;this.profile=window._sharedData.user,this.isLoaded=!0,this.storiesEnabled=!(null===(t=window.App)||void 0===t||null===(t=t.config)||void 0===t||null===(t=t.features)||void 0===t||!t.hasOwnProperty("stories"))&&window.App.config.features.stories,this.profile.is_admin&&this.softwareUpdateCheck()},updateProfile:function(t){this.profile=Object.assign(this.profile,t)},softwareUpdateCheck:function(){var t=this;axios.get("/api/web-admin/software-update/check").then((function(e){if(e&&e.data&&e.data.hasOwnProperty("running_latest")&&!e.data.running_latest){if(null===e.data.running_latest)return t.updateInfo=e.data,void(t.showUpdateConnectionWarning=!0);t.updateInfo=e.data,t.showUpdateWarning=!e.data.running_latest}})).catch((function(e){t.showUpdateConnectionWarning=!0}))}}}},56987:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(20243),a=s(84800),o=s(79110),n=s(27821);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":a.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.shadowStatus.media_attachments||!this.shadowStatus.media_attachments.length)&&this.shadowStatus.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.shadowStatus.account.id==window._sharedData.user.id,this.shadowStatus.reply_count&&this.autoloadComments&&!1===this.shadowStatus.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},isReblog:{get:function(){return null!=this.status.reblog}},reblogAccount:{get:function(){return this.status.reblog?this.status.account:null}},shadowStatus:{get:function(){return this.status.reblog?this.status.reblog:this.status}}},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")}}}},50371:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={data:function(){return{user:window._sharedData.user}}}},25054:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={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}))}}}},84154:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:{small:{type:Boolean,default:!1}}}},51073:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(34719);const a={props:{profile:{type:Object}},components:{"profile-card":i.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})}))}}}},3211:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var i=s(79288),a=s(50294),o=s(34719),n=s(72028),r=s(19138);const l={props:{status:{type:Object}},components:{VueTribute:i.default,ReadMore:a.default,ProfileHoverCard:o.default,CommentReplyForm:r.default,CommentReplies:n.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,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",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},24758:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(50294);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("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,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}}}},85100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},49415:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:["status","profile"],data:function(){return{config:window.App.config,ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1,isDeleting:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){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/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;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(i){i?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 i=this,a=(t.account.username,t.id,""),o=this;switch(e){case"addcw":a=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:a,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(i.$t("common.success"),i.$t("menu.modCWSuccess"),"success"),i.$emit("moderate","addcw"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"remcw":a=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:a,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(i.$t("common.success"),i.$t("menu.modRemoveCWSuccess"),"success"),i.$emit("moderate","remcw"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"unlist":a=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:a,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){i.$emit("moderate","unlist"),swal(i.$t("common.success"),i.$t("menu.modUnlistSuccess"),"success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"spammer":a=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:a,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){i.$emit("moderate","spammer"),swal(i.$t("common.success"),i.$t("menu.modMarkAsSpammerSuccess"),"success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}))}},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;this.isDeleting=!0,0!=this.ownerOrAdmin(t)&&swal({title:"Confirm Delete",text:"Are you sure you want to delete this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s?axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals(),e.isDeleting=!1})).catch((function(t){e.closeModals(),e.isDeleting=!1,swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")})):(e.closeModals(),e.isDeleting=!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()},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("delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))},editPost:function(t){this.closeModals(),this.$emit("edit",t)},handleMute:function(){var t=this;if(this.ctxMenuRelationship){var e=this.ctxMenuRelationship.muting;swal({title:e?"Confirm Unmute":"Confirm Mute",text:e?"Are you sure you want to unmute this account?":"Are you sure you want to mute this account?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){if(s){var i="/api/v1/accounts/".concat(t.status.account.id,e?"/unmute":"/mute");axios.post(i).then((function(e){t.closeModals(),t.$emit("muted",t.status),t.$store.commit("updateRelationship",[e.data])})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")}))}else t.closeModals()}))}},handleBlock:function(){var t=this;if(this.ctxMenuRelationship){var e=this.ctxMenuRelationship.blocking;swal({title:e?"Confirm Unblock":"Confirm Block",text:e?"Are you sure you want to unblock this account?":"Are you sure you want to block this account?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){if(s){var i="/api/v1/accounts/".concat(t.status.account.id,e?"/unblock":"/block");axios.post(i).then((function(e){t.closeModals(),t.$store.commit("updateRelationship",[e.data]),t.$emit("muted",t.status)})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")}))}else t.closeModals()}))}},handleUnfollow:function(){var t=this;this.ctxMenuRelationship&&swal({title:"Unfollow",text:"Are you sure you want to unfollow "+this.status.account.username+"?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(e){e?axios.post("/api/v1/accounts/".concat(t.status.account.id,"/unfollow")).then((function(e){t.closeModals(),t.$store.commit("updateRelationship",[e.data]),t.$emit("unfollow",t.status)})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")})):t.closeModals()}))}}}},37844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},getDiff:function(t){if(t==this.allHistory.length-1)return this.allHistory[this.allHistory.length-1].content;var e=document.createElement("div");return r.forEach((function(t){var s=t.added?"green":t.removed?"red":"grey",i=document.createElement("span");(i.style.color=s,console.log(t.value,t.value.length),t.added)?t.value.trim().length?i.appendChild(document.createTextNode(t.value)):i.appendChild(document.createTextNode("·")):i.appendChild(document.createTextNode(t.value));e.appendChild(i)})),e.innerHTML},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),i=Math.floor(s/63072e3);return i<0?"0s":i>=1?i+(1==i?" year":" years")+" ago":(i=Math.floor(s/604800))>=1?i+(1==i?" week":" weeks")+" ago":(i=Math.floor(s/86400))>=1?i+(1==i?" day":" days")+" ago":(i=Math.floor(s/3600))>=1?i+(1==i?" hour":" hours")+" ago":(i=Math.floor(s/60))>=1?i+(1==i?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},67975:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(25100),a=s(29787),o=s(24848);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:i.default,"like-placeholder":a.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},61746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(18634),a=s(50294),o=s(75938);const n={props:["status"],components:{"read-more":a.default,"video-player":o.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},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},26030:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>u});var i=s(2e4),a=s(18634);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return r(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);s=0;--o){var n=this.tryEntries[o],r=n.completion;if("root"===n.tryLoc)return a("end");if(n.tryLoc<=this.prev){var l=i.call(n,"catchLoc"),c=i.call(n,"finallyLoc");if(l&&c){if(this.prev=0;--s){var a=this.tryEntries[s];if(a.tryLoc<=this.prev&&i.call(a,"finallyLoc")&&this.prev=0;--e){var s=this.tryEntries[e];if(s.finallyLoc===t)return this.complete(s.completion,s.afterLoc),T(s),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var s=this.tryEntries[e];if(s.tryLoc===t){var i=s.completion;if("throw"===i.type){var a=i.arg;T(s)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,s,i){return this.delegate={iterator:I(e),resultName:s,nextLoc:i},"next"===this.method&&(this.arg=t),b}},e}function c(t,e,s,i,a,o,n){try{var r=t[o](n),l=r.value}catch(t){return void s(t)}r.done?e(l):Promise.resolve(l).then(i,a)}function d(t){return function(){var e=this,s=arguments;return new Promise((function(i,a){var o=t.apply(e,s);function n(t){c(o,i,a,n,r,"next",t)}function r(t){c(o,i,a,n,r,"throw",t)}n(void 0)}))}}const u={components:{Autocomplete:i.default},data:function(){return{config:window.App.config,status:void 0,isLoading:!0,isOpen:!1,isSubmitting:!1,tabIndex:0,canEdit:!1,composeTextLength:0,canSave:!1,originalFields:{caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},fields:{caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},medias:void 0,altTextEditIndex:void 0,tributeSettings:{noMatchTemplate:function(){return null},collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){console.log(t)}))}}]}}},watch:{fields:{deep:!0,immediate:!0,handler:function(t,e){this.canEdit&&(this.canSave=this.originalFields!==JSON.stringify(this.fields))}}},methods:{reset:function(){this.status=void 0,this.tabIndex=0,this.isOpen=!1,this.canEdit=!1,this.composeTextLength=0,this.canSave=!1,this.originalFields={caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},this.fields={caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},this.medias=void 0,this.altTextEditIndex=void 0,this.isSubmitting=!1},show:function(t){var e=this;return d(l().mark((function s(){return l().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,axios.get("/api/v1/statuses/"+t.id,{params:{_pe:1}}).then((function(t){e.reset(),e.init(t.data)})).finally((function(){setTimeout((function(){e.isLoading=!1}),500)}));case 2:case"end":return s.stop()}}),s)})))()},init:function(t){var e=this;this.reset(),this.originalFields=JSON.stringify({caption:t.content_text,visibility:t.visibility,sensitive:t.sensitive,location:t.place,spoiler_text:t.spoiler_text,media:t.media_attachments}),this.fields={caption:t.content_text,visibility:t.visibility,sensitive:t.sensitive,location:t.place,spoiler_text:t.spoiler_text,media:t.media_attachments},this.status=t,this.medias=t.media_attachments,this.composeTextLength=t.content_text?t.content_text.length:0,this.isOpen=!0,setTimeout((function(){e.canEdit=!0}),1e3)},toggleTab:function(t){this.tabIndex=t,this.altTextEditIndex=void 0},toggleVisibility:function(t){this.fields.visibility=t},locationSearch:function(t){if(t.length<1)return[];return axios.get("/api/compose/v0/search/location",{params:{q:t}}).then((function(t){return t.data}))},getResultValue:function(t){return t.name+", "+t.country},onSubmitLocation:function(t){this.fields.location=t,this.tabIndex=0},clearLocation:function(){event.currentTarget.blur(),this.fields.location=null,this.tabIndex=0},handleAltTextUpdate:function(t){0==this.fields.media[t].description.length&&(this.fields.media[t].description=null)},moveMedia:function(t,e,s){var i=n(s),a=i.splice(t,1)[0];return i.splice(e,0,a),i},toggleMediaOrder:function(t,e){"prev"===t&&(this.fields.media=this.moveMedia(e,e-1,this.fields.media)),"next"===t&&(this.fields.media=this.moveMedia(e,e+1,this.fields.media))},toggleLightbox:function(t){(0,a.default)({el:t.target})},handleAddAltText:function(t){event.currentTarget.blur(),this.altTextEditIndex=t},removeMedia:function(t){var e=this;swal({title:"Confirm",text:"Are you sure you want to remove this media from your post?",buttons:{cancel:"Cancel",confirm:{text:"Confirm Removal",value:"remove",className:"swal-button--danger"}}}).then((function(s){"remove"===s&&e.fields.media.splice(t,1)}))},handleSave:function(){var t=this;return d(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return event.currentTarget.blur(),t.canSave=!1,t.isSubmitting=!0,e.next=5,t.checkMediaUpdates();case 5:axios.put("/api/v1/statuses/"+t.status.id,{status:t.fields.caption,spoiler_text:t.fields.spoiler_text,sensitive:t.fields.sensitive,media_ids:t.fields.media.map((function(t){return t.id})),location:t.fields.location}).then((function(e){t.isOpen=!1,t.$emit("update",e.data),swal({title:"Post Updated",text:"You have successfully updated this post!",icon:"success",buttons:{close:{text:"Close",value:"close",close:!0,className:"swal-button--cancel"},view:{text:"View Post",value:"view",className:"btn-primary"}}}).then((function(e){"view"===e&&("post"===t.$router.currentRoute.name?window.location.reload():t.$router.push("/i/web/post/"+t.status.id))}))})).catch((function(e){t.isSubmitting=!1,e.response.data.hasOwnProperty("error")?swal("Error",e.response.data.error,"error"):swal("Error","An error occured, please try again later","error"),console.log(e)}));case 6:case"end":return e.stop()}}),e)})))()},checkMediaUpdates:function(){var t=this;return d(l().mark((function e(){var s;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=JSON.parse(t.originalFields),JSON.stringify(s.media)===JSON.stringify(t.fields.media)){e.next=5;break}return e.next=5,axios.all(t.fields.media.map((function(e){return t.updateAltText(e)})));case 5:case"end":return e.stop()}}),e)})))()},updateAltText:function(t){return d(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.put("/api/v1/media/"+t.id,{description:t.description});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))()}}}},22434:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(34719),a=s(49986);const o={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1},isReblog:{type:Boolean,default:!1},reblogAccount:{type:Object}},components:{"profile-hover-card":i.default,"edit-history-modal":a.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfileById:function(t){var e=this;this.$nextTick((function(){e.$router.push({name:"profile",path:"/i/web/profile/".concat(t),params:{id:t,cachedUser:e.profile}})}))},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")},openEditModal:function(){this.$refs.editModal.open()}}}},99397:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(20243),a=s(34719);const o={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}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},6140:(t,e,s)=>{"use strict";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=e.getAttribute("href"),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)}))}}}},85679:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(25100),a=s(29787),o=s(24848);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:i.default,"like-placeholder":a.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchShares:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchShares(),this.$refs.sharesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},3223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var i=s(50294),a=s(95353);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function r(t,e,s){var i;return i=function(t,e){if("object"!=o(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!=o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==o(i)?i:i+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore: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)}}}},28413:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={components:{notifications:s(76830).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},79318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var i=s(95353),a=s(90414);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function r(t,e,s){var i;return i=function(t,e){if("object"!=o(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!=o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==o(i)?i:i+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,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:{UpdateAvatar:a.default},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},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},44813:(t,e,s)=>{"use strict";function i(t){return function(t){if(Array.isArray(t))return a(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 a(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 a(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 a(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);so});const o={props:{profile:{type:Object}},data:function(){return{canShow:!1,stories:[],selfStory:void 0}},mounted:function(){this.fetchStories()},methods:{fetchStories:function(){var t=this;axios.get("/api/web/stories/v1/recent").then((function(e){if(e.data&&e.data.length){t.selfStory=e.data.filter((function(e){return e.pid==t.profile.id}));var s,a=e.data.filter((function(e){return e.pid!==t.profile.id}));if(t.stories=a,t.canShow=!0,!a||!a.length||a.length<5)(s=t.stories).push.apply(s,i(Array(5-a.length).keys()))}}))}}}},68910:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(64945),a=(s(34076),s(34330)),o=s.n(a),n=(s(10706),s(71241));const r={props:["status","fixedHeight"],data:function(){return{shouldPlay:!1,hasHls:void 0,hlsConfig:window.App.config.features.hls,liveSyncDurationCount:7,isHlsSupported:!1,isP2PSupported:!1,engine:void 0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{handleShouldPlay:function(){var t=this;this.shouldPlay=!0,this.isHlsSupported=this.hlsConfig.enabled&&i.default.isSupported(),this.isP2PSupported=this.hlsConfig.enabled&&this.hlsConfig.p2p&&n.Engine.isSupported(),this.$nextTick((function(){t.init()}))},init:function(){var t,e=this;!this.status.sensitive&&null!==(t=this.status.media_attachments[0])&&void 0!==t&&t.hls_manifest&&this.isHlsSupported?(this.hasHls=!0,this.$nextTick((function(){e.initHls()}))):this.hasHls=!1},initHls:function(){var t;if(this.isP2PSupported){var e={loader:{trackerAnnounce:[this.hlsConfig.tracker],rtcConfig:{iceServers:[{urls:[this.hlsConfig.ice]}]}}},s=new n.Engine(e);this.hlsConfig.p2p_debug&&(s.on("peer_connect",(function(t){return console.log("peer_connect",t.id,t.remoteAddress)})),s.on("peer_close",(function(t){return console.log("peer_close",t)})),s.on("segment_loaded",(function(t,e){return console.log("segment_loaded from",e?"peer ".concat(e):"HTTP",t.url)}))),t=s.createLoaderClass()}else t=i.default.DefaultConfig.loader;var a=this.$refs.video,r=this.status.media_attachments[0].hls_manifest,l=(new(o())(a,{captions:{active:!0,update:!0}}),new i.default({liveSyncDurationCount:this.liveSyncDurationCount,loader:t})),c=this;(0,n.initHlsJsPlayer)(l),l.loadSource(r),l.attachMedia(a),l.on(i.default.Events.MANIFEST_PARSED,(function(t,e){this.hlsConfig.debug&&(console.log(t),console.log(e));var s={},n=l.levels.map((function(t){return t.height}));this.hlsConfig.debug&&console.log(n),n.unshift(0),s.quality={default:0,options:n,forced:!0,onChange:function(t){return c.updateQuality(t)}},s.i18n={qualityLabel:{0:"Auto"}},l.on(i.default.Events.LEVEL_SWITCHED,(function(t,e){var s=document.querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");l.autoLevelEnabled?s.innerHTML="Auto (".concat(l.levels[e.level].height,"p)"):s.innerHTML="Auto"}));new(o())(a,s)}))},updateQuality:function(t){var e=this;0===t?window.hls.currentLevel=-1:window.hls.levels.forEach((function(s,i){s.height===t&&(e.hlsConfig.debug&&console.log("Found quality match with "+t),window.hls.currentLevel=i)}))},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},91360:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(71687),a=s(25100);function o(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);sWe use automated systems to help detect potential abuse and spam. Your recent post was flagged for review.

Don\'t worry! Your post will be reviewed by a human, and they will restore your post if they determine it appropriate.

Once a human approves your post, any posts you create after will not be marked as unlisted. If you delete this post and share more posts before a human can approve any of them, you will need to wait for at least one unlisted post to be reviewed by a human.';var s=document.createElement("div");s.appendChild(e),swal({title:"Why was my post unlisted?",content:s,icon:"warning"})}}}},29927:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>m});var i=s(58741),a=s(35547),o=s(25100),n=s(57103),r=s(59515),l=s(99681),c=s(13090),d=s(30229),u=s(35719),f=s(67578);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,i=new Array(e);s0&&void 0!==arguments[0]&&arguments[0];"home"===this.getScope()&&this.settings&&this.settings.hasOwnProperty("enable_reblogs")&&this.settings.enable_reblogs?(t=this.baseApi+"home",e={_pe:1,max_id:this.max_id,limit:6,include_reblogs:!0}):(t=this.baseApi+this.getScope(),e=0===this.max_id?{min_id:1,limit:6,_pe:1}:{max_id:this.max_id,limit:6,_pe:1}),"network"===this.getScope()&&(e.remote=!0,t=this.baseApi+"public"),axios.get(t,{params:e}).then((function(t){var e=t.data.map((function(t){return t&&t.hasOwnProperty("relationship")&&s.$store.commit("updateRelationship",[t.relationship]),t.id}));s.isLoaded=!0,0!=t.data.length&&(s.ids=e,s.max_id=Math.min.apply(Math,p(e)),s.feed=t.data,t.data.length<4&&(s.canLoadMore=!1,s.showLoadMore=!0))})).then((function(){i&&s.$nextTick((function(){window.scrollTo({top:0,left:0,behavior:"smooth"}),s.$emit("refreshed")}))}))},enterIntersect:function(){var t,e,s=this;this.isFetchingMore||(this.isFetchingMore=!0,"home"===this.getScope()&&this.settings&&this.settings.hasOwnProperty("enable_reblogs")&&this.settings.enable_reblogs?(t=this.baseApi+"home",e={_pe:1,max_id:this.max_id,limit:6,include_reblogs:!0}):(t=this.baseApi+this.getScope(),e={max_id:this.max_id,limit:6,_pe:1}),"network"===this.getScope()&&(e.remote=!0,t=this.baseApi+"public"),axios.get(t,{params:e}).then((function(t){t.data.length||(s.endFeedReached=!0,s.canLoadMore=!1,s.isFetchingMore=!1),setTimeout((function(){t.data.forEach((function(t){-1==s.ids.indexOf(t.id)&&(s.max_id>t.id&&(s.max_id=t.id),s.ids.push(t.id),s.feed.push(t),t&&t.hasOwnProperty("relationship")&&s.$store.commit("updateRelationship",[t.relationship]))})),s.isFetchingMore=!1}),100)})))},tryToLoadMore:function(){var t=this;this.loadMoreAttempts++,this.loadMoreAttempts>=3&&(this.showLoadMore=!1),this.showLoadMore=!1,this.canLoadMore=!0,this.loadMoreTimeout=setTimeout((function(){t.canLoadMore=!1,t.showLoadMore=!0}),5e3)},likeStatus:function(t){var e=this,s=this.feed[t];if(s.reblog){(s=s.reblog).favourited;var i=s.favourites_count;this.feed[t].reblog.favourites_count=i+1,this.feed[t].reblog.favourited=!s.favourited}else{s.favourited;var a=s.favourites_count;this.feed[t].favourites_count=a+1,this.feed[t].favourited=!s.favourited}axios.post("/api/v1/statuses/"+s.id+"/favourite").then((function(t){})).catch((function(i){s.reblog?(e.feed[t].reblog.favourites_count=count,e.feed[t].reblog.favourited=!1):(e.feed[t].favourites_count=count,e.feed[t].favourited=!1);var a=document.createElement("p");a.classList.add("text-left"),a.classList.add("mb-0"),a.innerHTML='We limit certain interactions to keep our community healthy and it appears that you have reached that limit. Please try again later.';var o=document.createElement("div");o.appendChild(a),429===i.response.status&&swal({title:"Too many requests",content:o,icon:"warning",buttons:{confirm:{text:"OK",value:!1,visible:!0,className:"bg-transparent primary",closeModal:!0}}}).then((function(t){"more"==t&&(location.href="/site/contact")}))}))},unlikeStatus:function(t){var e=this,s=this.feed[t];if(s.reblog){(s=s.reblog).favourited;var i=s.favourites_count;this.feed[t].reblog.favourites_count=i-1,this.feed[t].reblog.favourited=!s.favourited}else{s.favourited;var a=s.favourites_count;this.feed[t].favourites_count=a-1,this.feed[t].favourited=!s.favourited}axios.post("/api/v1/statuses/"+s.id+"/unfavourite").then((function(t){})).catch((function(i){s.reblog&&"share"==s.pf_type?(e.feed[t].reblog.favourites_count=count,e.feed[t].reblog.favourited=!1):(e.feed[t].favourites_count=count,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;var s=this.feed[this.postIndex];this.likesModalPost=s.reblog?s.reblog:s,this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},openSharesModal:function(t){var e=this;this.postIndex=t;var s=this.feed[this.postIndex];this.sharesModalPost=s.reblog?s.reblog:s,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),this.forceUpdateIdx++},counterChange:function(t,e){var s=this.feed[t];switch(e){case"comment-increment":null!=s.reblog?this.feed[t].reblog.reply_count=this.feed[t].reblog.reply_count+1:this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":null!=s.reblog?this.feed[t].reblog.reply_count=this.feed[t].reblog.reply_count-1:this.feed[t].reply_count=this.feed[t].reply_count-1}},openCommentLikesModal:function(t){var e=this;null!=t.reblog?this.likesModalPost=t.reblog:this.likesModalPost=t,this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},shareStatus:function(t){var e=this,s=this.feed[t];if(s.reblog){(s=s.reblog).reblogged;var i=s.reblogs_count;this.feed[t].reblog.reblogs_count=i+1,this.feed[t].reblog.reblogged=!s.reblogged}else{s.reblogged;var a=s.reblogs_count;this.feed[t].reblogs_count=a+1,this.feed[t].reblogged=!s.reblogged}axios.post("/api/v1/statuses/"+s.id+"/reblog").then((function(t){})).catch((function(i){s.reblog?(e.feed[t].reblog.reblogs_count=count,e.feed[t].reblog.reblogged=!1):(e.feed[t].reblogs_count=count,e.feed[t].reblogged=!1)}))},unshareStatus:function(t){var e=this,s=this.feed[t];if(s.reblog){(s=s.reblog).reblogged;var i=s.reblogs_count;this.feed[t].reblog.reblogs_count=i-1,this.feed[t].reblog.reblogged=!s.reblogged}else{s.reblogged;var a=s.reblogs_count;this.feed[t].reblogs_count=a-1,this.feed[t].reblogged=!s.reblogged}axios.post("/api/v1/statuses/"+s.id+"/unreblog").then((function(t){})).catch((function(i){s.reblog?(e.feed[t].reblog.reblogs_count=count,e.feed[t].reblog.reblogged=!1):(e.feed[t].reblogs_count=count,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];s.reblog&&(s=s.reblog),axios.post("/i/bookmark",{item:s.id}).then((function(i){e.feed[t].reblog?e.feed[t].reblog.bookmarked=!s.bookmarked: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;this.feed[t].reblog?axios.post("/api/v1/accounts/"+this.feed[t].reblog.account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count+1}),e.feed[t].reblog.account.followers_count=e.feed[t].reblog.account.followers_count+1})).catch((function(s){swal("Oops!","An error occured when attempting to follow this account.","error"),e.feed[t].reblog.relationship.following=!1})):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;this.feed[t].reblog?axios.post("/api/v1/accounts/"+this.feed[t].reblog.account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count-1}),e.feed[t].reblog.account.followers_count=e.feed[t].reblog.account.followers_count-1})).catch((function(s){swal("Oops!","An error occured when attempting to unfollow this account.","error"),e.feed[t].reblog.relationship.following=!0})):axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count-1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1})).catch((function(s){swal("Oops!","An error occured when attempting to unfollow this account.","error"),e.feed[t].relationship.following=!0}))},updateProfile:function(t){this.$emit("update-profile",t)},handleRefresh:function(){var t=this;this.isLoaded=!1,this.feed=[],this.ids=[],this.max_id=0,this.canLoadMore=!0,this.showLoadMore=!1,this.loadMoreTimeout=void 0,this.loadMoreAttempts=0,this.isFetchingMore=!1,this.endFeedReached=!1,this.postIndex=0,this.showMenu=!1,this.showLikesModal=!1,this.likesModalPost={},this.showReportModal=!1,this.reportedStatus={},this.reportedStatusId=0,this.showSharesModal=!1,this.sharesModalPost={},this.$nextTick((function(){t.fetchTimeline(!0)}))},handleEdit:function(t){this.$refs.editModal.show(t)},mergeUpdatedPost:function(t){var e=this;this.feed=this.feed.map((function(e){return e.id==t.id&&(e=t),e})),this.$nextTick((function(){e.forceUpdateIdx++}))},enableReblogs:function(){this.enablingReblogs=!0,axios.post("/api/pixelfed/v1/web/settings",{field:"enable_reblogs",value:!0}).then((function(t){setTimeout((function(){window.location.reload()}),1e3)}))},hideReblogs:function(){this.showReblogBanner=!1,axios.post("/api/pixelfed/v1/web/settings",{field:"hide_reblog_banner",value:!0}).then((function(t){}))},handleMuted:function(t){this.feed=this.feed.filter((function(e){return e.account.id!==t.account.id}))},handleUnfollow:function(t){"home"===this.scope&&(this.feed=this.feed.filter((function(e){return e.account.id!==t.account.id}))),this.updateProfile({following_count:this.profile.following_count-1})}},watch:{refresh:"handleRefresh"},beforeDestroy:function(){clearTimeout(this.loadMoreTimeout)}}},47561:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t,e,s,i,a,o,n=this,r=n._self._c;return r("div",{staticClass:"web-wrapper"},[n.isLoaded?r("div",{staticClass:"container-fluid mt-3"},[r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-4 col-lg-3"},[r("sidebar",{attrs:{user:n.profile},on:{refresh:function(t){n.shouldRefresh=!0}}})],1),n._v(" "),r("div",{staticClass:"col-md-8 col-lg-6 px-0"},[n.showUpdateWarning&&n.updateInfo&&n.updateInfo.hasOwnProperty("running_latest")?[r("div",{staticClass:"card rounded-lg mb-4 ft-std",staticStyle:{background:"#e11d48",border:"3px dashed #fff"}},[r("div",{staticClass:"card-body"},[r("div",{staticClass:"d-flex justify-content-between align-items-center flex-column flex-lg-row",staticStyle:{gap:"1rem"}},[r("div",{staticClass:"d-flex justify-content-between align-items-center",staticStyle:{gap:"1rem"}},[r("i",{staticClass:"d-none d-sm-block far fa-exclamation-triangle fa-5x text-white"}),n._v(" "),r("div",[r("h1",{staticClass:"h3 font-weight-bold text-light mb-0"},[n._v("New Update Available")]),n._v(" "),r("p",{staticClass:"mb-0 text-white",staticStyle:{"font-size":"18px"}},[n._v("Update your Pixelfed server as soon as possible!")]),n._v(" "),r("p",{staticClass:"mb-n1 text-white small",staticStyle:{opacity:".7"}},[n._v("Once you update, this message will disappear.")]),n._v(" "),r("p",{staticClass:"mb-0 text-white small d-flex",staticStyle:{opacity:".5",gap:"1rem"}},[r("span",[n._v("Current version: "),r("strong",[n._v(n._s(null!==(t=null===(e=n.updateInfo)||void 0===e?void 0:e.current)&&void 0!==t?t:"Unknown"))])]),n._v(" "),r("span",[n._v("Latest version: "),r("strong",[n._v(n._s(null!==(s=null===(i=n.updateInfo)||void 0===i||null===(i=i.latest)||void 0===i?void 0:i.version)&&void 0!==s?s:"Unknown"))])])])])]),n._v(" "),n.updateInfo.latest.url?r("a",{staticClass:"btn btn-light font-weight-bold",attrs:{href:n.updateInfo.latest.url,target:"_blank"}},[n._v("View Update")]):n._e()])])])]:n._e(),n._v(" "),n.showUpdateConnectionWarning?[r("div",{staticClass:"card rounded-lg mb-4 ft-std",staticStyle:{background:"#e11d48",border:"3px dashed #fff"}},[r("div",{staticClass:"card-body"},[r("div",{staticClass:"d-flex justify-content-between align-items-center flex-column flex-lg-row",staticStyle:{gap:"1rem"}},[r("div",{staticClass:"d-flex justify-content-between align-items-center",staticStyle:{gap:"1rem"}},[r("i",{staticClass:"d-none d-sm-block far fa-exclamation-triangle fa-5x text-white"}),n._v(" "),r("div",[r("h1",{staticClass:"h3 font-weight-bold text-light mb-1"},[n._v("Software Update Check Failed")]),n._v(" "),n._m(0),n._v(" "),n._m(1),n._v(" "),r("p",{staticClass:"mb-0 text-white small",staticStyle:{opacity:".7"}},[n._v("Current version: "+n._s(null!==(a=null===(o=n.updateInfo)||void 0===o?void 0:o.current)&&void 0!==a?a:"Unknown"))])])])])])])]:n._e(),n._v(" "),n.storiesEnabled?r("story-carousel",{attrs:{profile:n.profile}}):n._e(),n._v(" "),r("timeline",{key:n.scope,attrs:{profile:n.profile,scope:n.scope,refresh:n.shouldRefresh},on:{"update-profile":n.updateProfile,refreshed:function(t){n.shouldRefresh=!1}}})],2),n._v(" "),r("div",{staticClass:"d-none d-lg-block col-lg-3"},[r("rightbar",{staticClass:"sticky-top sidebar"})],1)]),n._v(" "),r("drawer")],1):r("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"calc(100vh - 58px)"}},[r("b-spinner")],1)])},a=[function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-1 text-white",staticStyle:{"font-size":"18px","line-height":"1.2"}},[t._v("We attempted to check if there is a new version available, however we encountered an error. "),e("a",{staticClass:"text-white font-weight-bold",staticStyle:{"text-decoration":"underline"},attrs:{href:"https://github.com/pixelfed/pixelfed/releases",target:"_blank"}},[t._v("Click here")]),t._v(" to view the latest releases.")])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-0 text-white small"},[t._v("You can set "),e("code",{staticClass:"text-white"},[t._v("INSTANCE_SOFTWARE_UPDATE_DISABLE_FAILED_WARNING=true")]),t._v(" to remove this warning.")])}]},24853:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){this._self._c;return this._m(0)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"ph-item border-0 shadow-sm",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[e("div",{staticClass:"ph-col-12"},[e("div",{staticClass:"ph-row align-items-center"},[e("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{width:"50px",height:"60px","border-radius":"15px"}}),t._v(" "),e("div",{staticClass:"ph-col-6 big"})]),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"ph-picture"}),t._v(" "),e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12 big"}),t._v(" "),e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])}]},70201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.shadowStatus,"is-reblog":t.isReblog,"reblog-account":t.reblogAccount},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.shadowStatus}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.shadowStatus,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.shadowStatus,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=[]},69831:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},a=[]},82960:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?e("div",{staticClass:"card shadow-none rounded-lg border my-4"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?e("div",[t.status.content_text.length<=140?e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?e("div",[e("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[e("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?e("p",{staticClass:"mt-3 mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),e("p",{staticClass:"text-right mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?e("div",[e("div",{staticClass:"my-4 text-center"},[e("b-spinner"),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-4x text-success"},[e("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-3x text-danger"},[e("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},a=[]},67153:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},a=[]},65069:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){this._self._c;return this._m(0)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("img",{staticClass:"img-fluid",staticStyle:{"max-height":"300px",opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("p",{staticClass:"lead mb-0 text-center"},[t._v("This feed is empty")])])}]},11526:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return t.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},a=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},84870:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-onboarding"},[e("div",{staticClass:"card card-body shadow-sm mb-3 p-5",staticStyle:{"border-radius":"15px"}},[e("h1",{staticClass:"text-center mb-4"},[t._v("✨ "+t._s(t.$t("timeline.onboarding.welcome")))]),t._v(" "),e("p",{staticClass:"text-center mb-3",staticStyle:{"font-size":"22px"}},[t._v("\n\t\t\t"+t._s(t.$t("timeline.onboarding.thisIsYourHomeFeed"))+"\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v(t._s(t.$t("timeline.onboarding.letUsHelpYouFind")))]),t._v(" "),t.newlyFollowed?e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-primary btn-lg primary font-weight-bold rounded-pill px-4",attrs:{href:"/i/web",onclick:"location.reload()"}},[t._v("\n\t\t\t\t"+t._s(t.$t("timeline.onboarding.refreshFeed"))+"\n\t\t\t")])]):t._e()]),t._v(" "),e("div",{staticClass:"row"},t._l(t.popularAccounts,(function(s,i){return e("div",{staticClass:"col-12 col-md-6 mb-3"},[e("div",{staticClass:"card shadow-sm border-0 rounded-px"},[e("div",{staticClass:"card-body p-2"},[e("profile-card",{key:"pfc"+i,staticClass:"w-100",attrs:{profile:s},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)])])})),0)])},a=[]},55318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,i){return e("div",{key:"cd:"+s.id+":"+i,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===i?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(i,a){return e("div",{on:{click:function(e){return t.lightbox(s,a)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[a].blurhash,src:t.getMediaSource(s,a)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+i),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===i?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===i?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===i?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(i)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(i)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[i].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[i].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[i].replies},on:{"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==i&&t.feed[i].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==i?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(i,e)},"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},a=[]},54309:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,i){return e("div",{key:"cd:"+s.id+":"+i},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+i),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(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._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},82285:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},a=[]},4215:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item d-flex p-0 m-0"},[e("div",{staticClass:"border-right p-2 w-50"},[t.status?e("a",{staticClass:"menu-option",attrs:{href:t.status.url},on:{click:function(e){return e.preventDefault(),t.ctxMenuGoToPost()}}},[e("div",{staticClass:"action-icon-link"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"fal fa-images fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v(t._s(t.$t("menu.viewPost")))])])]):t._e()]),t._v(" "),e("div",{staticClass:"p-2 flex-grow-1"},[t.status?e("a",{staticClass:"menu-option",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.ctxMenuGoToProfile()}}},[e("div",{staticClass:"action-icon-link"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"fal fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v(t._s(t.$t("menu.viewProfile")))])])]):t._e()])]):t._e(),t._v(" "),t.ctxMenuRelationship?[t.ctxMenuRelationship.following?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleUnfollow.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("profile.unfollow"))+"\n ")]):e("div",{staticClass:"d-flex"},[e("div",{staticClass:"p-3 border-right w-50 text-center"},[e("a",{staticClass:"small menu-option text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleMute.apply(null,arguments)}}},[e("div",{staticClass:"action-icon-link-inline"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"far",class:[t.ctxMenuRelationship.muting?"fa-eye":"fa-eye-slash"]})]),t._v(" "),e("p",{staticClass:"text-muted mb-0"},[t._v(t._s(t.ctxMenuRelationship.muting?"Unmute":"Mute"))])])])]),t._v(" "),e("div",{staticClass:"p-3 w-50"},[e("a",{staticClass:"small menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleBlock.apply(null,arguments)}}},[e("div",{staticClass:"action-icon-link-inline"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"far fa-shield-alt"})]),t._v(" "),e("p",{staticClass:"text-danger mb-0"},[t._v("Block")])])])])])]:t._e(),t._v(" "),"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuShare()}}},[t._v("\n "+t._s(t.$t("common.share"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxModMenuShow()}}},[t._v("\n "+t._s(t.$t("menu.moderationTools"))+"\n ")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuReportPost()}}},[t._v("\n "+t._s(t.$t("menu.report"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.archivePost(t.status)}}},[t._v("\n "+t._s(t.$t("menu.archive"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.unarchivePost(t.status)}}},[t._v("\n "+t._s(t.$t("menu.unarchive"))+"\n ")]):t._e(),t._v(" "),t.config.ab.pue&&t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.editPost(t.status)}}},[t._v("\n Edit\n ")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deletePost(t.status)}}},[t.isDeleting?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("div",[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e(),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeCtxMenu()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])],2)]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center menu-option text-danger"},[t._v("\n "+t._s(t.$t("menu.moderationTools"))+"\n ")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("\n "+t._s(t.$t("menu.selectOneOption"))+"\n ")]),t._v(" "),e("p"),t._v(" "),e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"unlist")}}},[t._v("\n "+t._s(t.$t("menu.unlistFromTimelines"))+"\n ")]),t._v(" "),t.status.sensitive?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"remcw")}}},[t._v("\n "+t._s(t.$t("menu.removeCW"))+"\n ")]):e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"addcw")}}},[t._v("\n "+t._s(t.$t("menu.addCW"))+"\n ")]),t._v(" "),e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"spammer")}}},[t._v("\n "+t._s(t.$t("menu.markAsSpammer"))),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxModMenuClose()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuCopyLink()}}},[t._v("\n "+t._s(t.$t("common.copyLink"))+"\n ")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("a",{staticClass:"list-group-item menu-option",on:{click:function(e){return e.preventDefault(),t.ctxMenuEmbed()}}},[t._v("\n "+t._s(t.$t("menu.embed"))+"\n ")]):t._e(),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeCtxShareMenu()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,i=e.target,a=!!i.checked;if(Array.isArray(s)){var o=t._i(s,null);i.checked?o<0&&(t.ctxEmbedShowCaption=s.concat([null])):o>-1&&(t.ctxEmbedShowCaption=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowCaption=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.showCaption"))+"\n ")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,i=e.target,a=!!i.checked;if(Array.isArray(s)){var o=t._i(s,null);i.checked?o<0&&(t.ctxEmbedShowLikes=s.concat([null])):o>-1&&(t.ctxEmbedShowLikes=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowLikes=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.showLikes"))+"\n ")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,i=e.target,a=!!i.checked;if(Array.isArray(s)){var o=t._i(s,null);i.checked?o<0&&(t.ctxEmbedCompactMode=s.concat([null])):o>-1&&(t.ctxEmbedCompactMode=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedCompactMode=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.compactMode"))+"\n ")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},a=[]},27934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var i=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,i){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(i==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=i}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},a=[]},7971:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){this._self._c;return this._m(0)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}]},92162:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,i){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===i?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[null==s.follows||s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},a=[]},79911:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight}}):"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div",[t.status.sensitive?e("div",{staticClass:"border m-3 p-5 rounded-lg"},[t._m(1),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold mb-0"},[t._v("Sensitive Content")]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.status.spoiler_text&&t.status.spoiler_text.length?t.status.spoiler_text:"This post may contain sensitive content"))]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See post")])])]):t._e()]):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],1):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},a=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},12191:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("b-modal",{attrs:{centered:"","body-class":"p-0","footer-class":"d-flex justify-content-between align-items-center"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var i=s.close;return[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Edit Post")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]}},{key:"modal-footer",fn:function(s){s.ok;var i=s.cancel;s.hide;return[e("b-button",{staticClass:"rounded-pill px-3 font-weight-bold",attrs:{variant:"outline-muted"},on:{click:function(t){return i()}}},[t._v("\n\t\t\tCancel\n\t\t")]),t._v(" "),e("b-button",{staticClass:"rounded-pill font-weight-bold",staticStyle:{"min-width":"195px"},attrs:{variant:"primary",disabled:!t.canSave},on:{click:t.handleSave}},[t.isSubmitting?[e("b-spinner",{attrs:{small:""}})]:[t._v("\n\t\t\t\tSave Updates\n\t\t\t")]],2)]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("b-card",{staticClass:"shadow-none p-0",attrs:{"no-body":"",flush:""}},[e("b-card-body",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"300px"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center flex-column",staticStyle:{gap:"0.4rem"}},[e("b-spinner",{attrs:{variant:"primary"}}),t._v(" "),e("p",{staticClass:"small mb-0 font-weight-lighter"},[t._v("Loading Post...")])],1)])],1):!t.isLoading&&t.isOpen&&t.status&&t.status.id?e("b-card",{staticClass:"shadow-none p-0",attrs:{"no-body":"",flush:""}},[e("b-card-header",{attrs:{"header-tag":"nav"}},[e("b-nav",{attrs:{tabs:"",fill:"","card-header":""}},[e("b-nav-item",{attrs:{active:0===t.tabIndex},on:{click:function(e){return t.toggleTab(0)}}},[t._v("Caption")]),t._v(" "),e("b-nav-item",{attrs:{active:1===t.tabIndex},on:{click:function(e){return t.toggleTab(1)}}},[t._v("Media")]),t._v(" "),e("b-nav-item",{attrs:{active:4===t.tabIndex},on:{click:function(e){return t.toggleTab(3)}}},[t._v("Other")])],1)],1),t._v(" "),e("b-card-body",{staticStyle:{"min-height":"300px"}},[0===t.tabIndex?[e("p",{staticClass:"font-weight-bold small"},[t._v("Caption")]),t._v(" "),e("div",{staticClass:"media mb-0"},[e("div",{staticClass:"media-body"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.fields.caption,expression:"fields.caption"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"4",placeholder:"Write a caption...",maxlength:t.config.uploader.max_caption_length},domProps:{value:t.fields.caption},on:{keyup:function(e){t.composeTextLength=t.fields.caption.length},input:function(e){e.target.composing||t.$set(t.fields,"caption",e.target.value)}}})]),t._v(" "),e("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"font-weight-bold small"},[t._v("Sensitive/NSFW")]),t._v(" "),e("div",{staticClass:"border py-2 px-3 bg-light rounded"},[e("b-form-checkbox",{staticStyle:{"font-weight":"300"},attrs:{name:"check-button",switch:""},model:{value:t.fields.sensitive,callback:function(e){t.$set(t.fields,"sensitive",e)},expression:"fields.sensitive"}},[e("span",{staticClass:"ml-1 small"},[t._v("Contains spoilers, sensitive or nsfw content")])])],1),t._v(" "),e("transition",{attrs:{name:"slide-fade"}},[t.fields.sensitive?e("div",{staticClass:"form-group mt-3"},[e("label",{staticClass:"font-weight-bold small"},[t._v("Content Warning")]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.fields.spoiler_text,expression:"fields.spoiler_text"}],staticClass:"form-control",attrs:{rows:"2",placeholder:"Add an optional spoiler/content warning...",maxlength:140},domProps:{value:t.fields.spoiler_text},on:{input:function(e){e.target.composing||t.$set(t.fields,"spoiler_text",e.target.value)}}}),t._v(" "),e("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.fields.spoiler_text?t.fields.spoiler_text.length:0)+"/140")])]):t._e()])]:1===t.tabIndex?[e("div",{staticClass:"list-group"},t._l(t.fields.media,(function(s,i){return e("div",{key:"edm:"+s.id+":"+i,staticClass:"list-group-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},["image"===s.type?[e("img",{staticClass:"bg-light rounded cursor-pointer",staticStyle:{"object-fit":"cover"},attrs:{src:s.url,width:"40",height:"40"},on:{click:t.toggleLightbox}})]:t._e(),t._v(" "),e("p",{staticClass:"d-none d-lg-block mb-0"},[e("span",{staticClass:"small font-weight-light"},[t._v(t._s(s.mime))])]),t._v(" "),e("button",{staticClass:"btn btn-sm font-weight-bold rounded-pill px-4",class:[s.description&&s.description.length?"btn-success":"btn-outline-muted"],staticStyle:{"font-size":"13px"},on:{click:function(e){return e.preventDefault(),t.handleAddAltText(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.description&&s.description.length?"Edit Alt Text":"Add Alt Text")+"\n\t\t\t\t\t\t\t")]),t._v(" "),t.fields.media&&t.fields.media.length>1?e("div",{staticClass:"btn-group"},[e("a",{staticClass:"btn btn-outline-secondary btn-sm",class:{disabled:0===i},attrs:{href:"#",disabled:0===i},on:{click:function(e){return e.preventDefault(),t.toggleMediaOrder("prev",i)}}},[e("i",{staticClass:"fas fa-arrow-alt-up"})]),t._v(" "),e("a",{staticClass:"btn btn-outline-secondary btn-sm",class:{disabled:i===t.fields.media.length-1},attrs:{href:"#",disabled:i===t.fields.media.length-1},on:{click:function(e){return e.preventDefault(),t.toggleMediaOrder("next",i)}}},[e("i",{staticClass:"fas fa-arrow-alt-down"})])]):t._e(),t._v(" "),t.fields.media&&t.fields.media.length&&t.fields.media.length>1?e("button",{staticClass:"btn btn-outline-danger btn-sm",on:{click:function(e){return e.preventDefault(),t.removeMedia(i)}}},[e("i",{staticClass:"far fa-trash-alt"})]):t._e()],2),t._v(" "),e("transition",{attrs:{name:"slide-fade"}},[t.altTextEditIndex===i?[e("div",{staticClass:"form-group mt-1"},[e("label",{staticClass:"font-weight-bold small"},[t._v("Alt Text")]),t._v(" "),e("b-form-textarea",{attrs:{placeholder:"Describe your image for the visually impaired...",rows:"3","max-rows":"6"},on:{input:function(e){return t.handleAltTextUpdate(i)}},model:{value:s.description,callback:function(e){t.$set(s,"description",e)},expression:"media.description"}}),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("a",{staticClass:"font-weight-bold small text-muted",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.altTextEditIndex=void 0}}},[t._v("Close")]),t._v(" "),e("p",{staticClass:"help-text small mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.fields.media[i].description?t.fields.media[i].description.length:0)+"/"+t._s(t.config.uploader.max_altext_length)+"\n\t\t\t\t\t\t\t\t\t\t")])])],1)]:t._e()],2)],1)})),0)]:3===t.tabIndex?[e("p",{staticClass:"font-weight-bold small"},[t._v("Location")]),t._v(" "),e("autocomplete",{attrs:{search:t.locationSearch,placeholder:"Search locations ...","aria-label":"Search locations ...","get-result-value":t.getResultValue},on:{submit:t.onSubmitLocation}}),t._v(" "),t.fields.location&&t.fields.location.hasOwnProperty("id")?e("div",{staticClass:"mt-3 border rounded p-3 d-flex justify-content-between"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.fields.location.name)+", "+t._s(t.fields.location.country)+"\n\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link text-danger m-0 p-0",on:{click:function(e){return e.preventDefault(),t.clearLocation.apply(null,arguments)}}},[e("i",{staticClass:"far fa-trash"})])]):t._e()]:t._e()],2)],1):t._e()],1)},a=[]},44516:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[t.isReblog?e("div",{staticClass:"card-header bg-light border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center",staticStyle:{height:"10px"}},[e("a",{staticClass:"mx-2",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[e("img",{staticStyle:{"border-radius":"10px"},attrs:{src:t.reblogAccount.avatar,width:"24",height:"24",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticStyle:{"font-size":"12px","font-weight":"bold"}},[e("i",{staticClass:"far fa-retweet text-warning mr-1"}),t._v(" Reblogged by "),e("a",{staticClass:"text-dark",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[t._v("@"+t._s(t.reblogAccount.acct))])])])]):t._e(),t._v(" "),e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n "+t._s(t.status.account.acct)+"\n ")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n "+t._s(t.timeago(t.status.created_at))+"\n ")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)])},a=[]},51992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},a=[]},16331:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},a=[]},66295:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"sharesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,i){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===i?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},a=[]},53577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}})]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},a=[]},55201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},a=[]},67725:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},a=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},75125:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"story-carousel-component"},[t.canShow?e("div",{staticClass:"d-flex story-carousel-component-wrapper",staticStyle:{"overflow-y":"auto","z-index":"3"}},[e("a",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 text-dark text-decoration-none",staticStyle:{"max-width":"120px"},attrs:{href:"/i/stories/new"}},[t.selfStory&&t.selfStory.length?[e("div",{staticClass:"story-wrapper text-white shadow-sm mb-3",staticStyle:{width:"100%",height:"200px","border-radius":"15px"},style:{background:"linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.4)), url(".concat(t.selfStory[0].latest.preview_url,")"),backgroundSize:"cover",backgroundPosition:"center"}},[t._m(0)])]:[e("div",{staticClass:"story-wrapper text-white shadow-sm d-flex flex-column align-items-center justify-content-between",staticStyle:{width:"100%",height:"200px","border-radius":"15px"}},[e("p",{staticClass:"mb-4"}),t._v(" "),t._m(1),t._v(" "),e("p",{staticClass:"font-weight-bold"},[t._v(t._s(t.$t("story.add")))])])]],2),t._v(" "),t._l(t.stories,(function(s,i){return e("div",{staticClass:"col-4 col-lg-3 col-xl-2 px-1",staticStyle:{"max-width":"120px"}},[s.hasOwnProperty("url")?[e("a",{staticClass:"story",attrs:{href:s.url}},[s.latest&&"photo"==s.latest.type?e("div",{staticClass:"shadow-sm story-wrapper",class:{seen:s.seen},style:{background:"linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.4)), url(".concat(s.latest.preview_url,")"),backgroundSize:"cover",backgroundPosition:"center"}},[e("div",{staticClass:"story-wrapper-blur",staticStyle:{display:"block",width:"100%",height:"100%",position:"relative"}},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"},[e("img",{staticClass:"avatar",attrs:{src:s.avatar,width:"30",height:"30",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t\t")])])])]):e("div",{staticClass:"shadow-sm story-wrapper"},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"},[e("img",{staticClass:"avatar",attrs:{src:s.avatar,width:"30",height:"30"}})]),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t")])])])])]:[e("div",{staticClass:"story shadow-sm story-wrapper seen",style:{background:"linear-gradient(rgba(0,0,0,0.01),rgba(0,0,0,0.04))"}},[t._m(2,!0)])]],2)})),t._v(" "),t.selfStory&&t.selfStory.length&&t.stories.length<2?t._l(5,(function(s){return e("div",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 story",staticStyle:{"max-width":"120px"}},[e("div",{staticClass:"shadow-sm story-wrapper seen",style:{background:"linear-gradient(rgba(0,0,0,0.01),rgba(0,0,0,0.04))"}},[t._m(3,!0)])])})):t._e()],2):t._e()])},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"story-wrapper-blur d-flex flex-column align-items-center justify-content-between",staticStyle:{display:"block",width:"100%",height:"100%"}},[e("p",{staticClass:"mb-4"}),t._v(" "),e("p",{staticClass:"mb-0"},[e("i",{staticClass:"fal fa-plus-circle fa-2x"})]),t._v(" "),e("p",{staticClass:"font-weight-bold"},[t._v("My Story")])])},function(){var t=this._self._c;return t("p",{staticClass:"mb-0"},[t("i",{staticClass:"fal fa-plus-circle fa-2x"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"story-wrapper-blur",staticStyle:{display:"block",width:"100%",height:"100%",position:"relative"}},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"}),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"})])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"story-wrapper-blur",staticStyle:{display:"block",width:"100%",height:"100%",position:"relative"}},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"}),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"})])])}]},21146:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n Sensitive Content\n ")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n "+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n ")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):[t.shouldPlay?[t.hasHls?e("video",{ref:"video",class:{fixedHeight:t.fixedHeight},staticStyle:{margin:"0"},attrs:{playsinline:"","webkit-playsinline":"",controls:"",autoplay:"false",poster:t.getPoster(t.status)}}):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{autoplay:"false",playsinline:"","webkit-playsinline":"",controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:e("div",{staticClass:"content-label-wrapper",style:{background:"linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.8)),url(".concat(t.getPoster(t.status),")"),backgroundSize:"cover"}},[e("div",{staticClass:"text-light content-label"},[e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-link btn-block btn-sm font-weight-bold",on:{click:function(e){return e.preventDefault(),t.handleShouldPlay.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-play fa-5x text-white"})])])])])]],2)},a=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},18865:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"notifications-component"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[e("div",{staticClass:"card-body pb-0"},[e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?e("div",[e("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[e("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?e("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[e("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?e("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),e("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(s,i){return e("div",{staticClass:"mb-2"},[e("div",{staticClass:"media align-items-center"},["autospam.warning"===s.type?e("img",{staticClass:"mr-2 rounded-circle shadow-sm p-1",staticStyle:{border:"2px solid var(--danger)"},attrs:{src:"/img/pixelfed-icon-color.svg",width:"32",height:"32"}}):e("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:s.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),e("div",{staticClass:"media-body font-weight-light small"},["favourite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),s.status&&s.status.hasOwnProperty("media_attachments")?e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status),id:"fvn-"+s.id},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),e("b-popover",{attrs:{target:"fvn-"+s.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(s),width:"100px",height:"100px"}})])],1):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"autospam.warning"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour recent "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(" has been unlisted.\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mt-n1 mb-0"},[e("span",{staticClass:"small text-muted"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showAutospamInfo(s.status)}}},[t._v("Click here")]),t._v(" for more info.")])])]):"comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" reacted to your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/i/web/direct/thread/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/i/web/direct/thread/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" shared your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(t.truncate(s.account.username)))]),t._v(" updated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" tagged you in a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" sent a "),e("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+s.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" invited you to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url+"/invite/claim",title:s.group.name}},[t._v(t._s(s.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:s.created_at}},[t._v(t._s(t.timeAgo(s.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?e("div",[e("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):e("div",[t.hasLoaded&&t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}})],1):e("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):e("div",{staticClass:"notifications-component-feed"},[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},a=[]},50442:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-section-component"},[t.isLoaded?e("div",[e("transition",{attrs:{name:"fade"}},[t.showReblogBanner&&"home"===t.getScope()?e("div",{staticClass:"card bg-g-amin card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"d-flex justify-content-around align-items-center"},[e("div",{staticClass:"flex-grow-1 ft-std"},[e("h2",{staticClass:"font-weight-bold text-white mb-0"},[t._v("Introducing Reblogs in feeds")]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"lead text-white mb-0"},[t._v("\n See reblogs from accounts you follow in your home feed!\n ")]),t._v(" "),e("p",{staticClass:"text-white small mb-1",staticStyle:{opacity:"0.6"}},[t._v("\n You can disable reblogs in feeds on the Timeline Settings page.\n ")]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex"},[e("button",{staticClass:"btn btn-light rounded-pill font-weight-bold btn-block mr-2",on:{click:function(e){return e.preventDefault(),t.enableReblogs()}}},[t.enablingReblogs?e("b-spinner",{attrs:{small:""}}):[t._v("Show reblogs in home feed")]],2),t._v(" "),e("button",{staticClass:"btn btn-outline-light rounded-pill font-weight-bold px-5",on:{click:function(e){return e.preventDefault(),t.hideReblogs()}}},[t._v("Hide")])])])])]):t._e()]),t._v(" "),t._l(t.feed,(function(s,i){return e("status",{key:"pf_feed:"+s.id+":idx:"+i+":fui:"+t.forceUpdateIdx,attrs:{status:s,profile:t.profile},on:{like:function(e){return t.likeStatus(i)},unlike:function(e){return t.unlikeStatus(i)},share:function(e){return t.shareStatus(i)},unshare:function(e){return t.unshareStatus(i)},menu:function(e){return t.openContextMenu(i)},"counter-change":function(e){return t.counterChange(i,e)},"likes-modal":function(e){return t.openLikesModal(i)},"shares-modal":function(e){return t.openSharesModal(i)},follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport,bookmark:function(e){return t.handleBookmark(i)},"mod-tools":function(e){return t.handleModTools(i)}}})})),t._v(" "),t.showLoadMore?e("div",{staticClass:"text-center"},[e("button",{staticClass:"btn btn-primary rounded-pill font-weight-bold",on:{click:t.tryToLoadMore}},[t._v("\n Load more\n ")])]):t._e(),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e(),t._v(" "),!t.isLoaded&&t.feed.length&&t.endFeedReached?e("div",{staticStyle:{"margin-bottom":"50vh"}},[t._m(0)]):t._e(),t._v(" "),"home"!=t.scope||t.feed.length?t._e():e("timeline-onboarding",{attrs:{profile:t.profile},on:{"update-profile":t.updateProfile}}),t._v(" "),t.isLoaded&&"home"!==t.scope&&!t.feed.length?e("empty-timeline"):t._e()],2):e("div",[e("status-placeholder"),t._v(" "),e("status-placeholder"),t._v(" "),e("status-placeholder"),t._v(" "),e("status-placeholder")],1),t._v(" "),t.showMenu?e("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.profile},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport,edit:t.handleEdit,muted:t.handleMuted,unfollow:t.handleUnfollow}}):t._e(),t._v(" "),t.showLikesModal?e("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.profile}}):t._e(),t._v(" "),t.showSharesModal?e("shares-modal",{ref:"sharesModal",attrs:{status:t.sharesModalPost,profile:t.profile}}):t._e(),t._v(" "),e("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}}),t._v(" "),e("post-edit-modal",{ref:"editModal",on:{update:t.mergeUpdatedPost}})],1)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("p",{staticClass:"display-4 text-center"},[t._v("✨")]),t._v(" "),e("p",{staticClass:"lead mb-0 text-center"},[t._v("You have reached the end of this feed")])])}]},35934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".avatar[data-v-4f12f988]{border-radius:15px}.username[data-v-4f12f988]{margin-bottom:-6px}.btn-white[data-v-4f12f988]{background-color:#fff;border:1px solid #f3f4f6}.sidebar[data-v-4f12f988]{top:90px}",""]);const o=a},35296:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),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 .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const o=a},35518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const o=a},8183:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".timeline-onboarding .profile-hover-card-inner{width:100%}.timeline-onboarding .profile-hover-card-inner .d-flex{max-width:100%!important}",""]);const o=a},34857:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),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;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const o=a},26689:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".menu-option[data-v-be1fd05a]{color:var(--dark);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;text-decoration:none}.list-group-item[data-v-be1fd05a]{border-color:var(--border-color)}.action-icon-link[data-v-be1fd05a]{display:flex;flex-direction:column}.action-icon-link .icon[data-v-be1fd05a]{margin-bottom:5px;opacity:.5}.action-icon-link p[data-v-be1fd05a]{font-size:11px;font-weight:600}.action-icon-link-inline[data-v-be1fd05a]{align-items:center;display:flex;flex-direction:row;gap:8px;justify-content:center}.action-icon-link-inline p[data-v-be1fd05a]{font-weight:700}",""]);const o=a},49777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const o=a},11366:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,"div[data-v-1be4e9aa],p[data-v-1be4e9aa]{font-family:var(--font-family-sans-serif)}.nav-link[data-v-1be4e9aa]{color:var(--text-lighter);font-size:13px;font-weight:600}.nav-link.active[data-v-1be4e9aa]{color:var(--primary);font-weight:800}.slide-fade-enter-active[data-v-1be4e9aa]{transition:all .5s ease}.slide-fade-leave-active[data-v-1be4e9aa]{transition:all .2s cubic-bezier(.5,1,.6,1)}.slide-fade-enter[data-v-1be4e9aa],.slide-fade-leave-to[data-v-1be4e9aa]{opacity:0;transform:translateY(20px)}",""]);const o=a},93100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),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:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const o=a},15822:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const o=a},54788:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const o=a},42160:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".story-carousel-component-wrapper{-ms-overflow-style:none;scrollbar-width:none}.story-carousel-component-wrapper::-webkit-scrollbar{width:0!important}.story-carousel-component .story-wrapper{background:#b24592;background:linear-gradient(90deg,#b24592,#f15f79);border:1px solid var(--border-color);border-radius:15px;display:block;height:200px;margin-bottom:1rem;overflow:hidden;position:relative;width:100%}.story-carousel-component .story-wrapper .username{color:#fff}.story-carousel-component .story-wrapper .avatar{border-radius:6px;margin-bottom:5px}.story-carousel-component .story-wrapper.seen{opacity:30%}.story-carousel-component .story-wrapper-blur{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:rgba(0,0,0,.2);border-radius:15px;overflow:hidden}.force-dark-mode .story-wrapper.seen{background:linear-gradient(hsla(0,0%,100%,.12),hsla(0,0%,100%,.14))!important;opacity:50%}",""]);const o=a},91748:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const o=a},99093:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(35934),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},209:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(35296),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},96259:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(35518),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},52820:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(8183),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},48432:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(34857),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},54328:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(26689),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},22626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(49777),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},37339:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(11366),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},67621:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(93100),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},82851:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(15822),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},5323:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(54788),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},28541:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(42160),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},53639:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(91748),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},75050:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(19106),a=s(40069),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(72804);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,"4f12f988",null).exports},58741:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(17310);const a=(0,s(14486).default)({},i.render,i.staticRenderFns,!1,null,null,null).exports},35547:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(59028),a=s(52548),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(86546);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},5787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(16286),a=s(80260),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(68840);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},13090:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(54229),a=s(13514),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},90414:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(82704),a=s(55597),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},30229:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(57352);const a=(0,s(14486).default)({},i.render,i.staticRenderFns,!1,null,null,null).exports},71687:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(24871),a=s(11308),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},35719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(305),a=s(88988),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(36281);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},20243:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(34727),a=s(88012),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(21883);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},72028:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(46098),a=s(93843),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},19138:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(44982),a=s(43509),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},57103:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(56765),a=s(64672),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(74811);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,"be1fd05a",null).exports},49986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(32785),a=s(79577),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(67011);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},29787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(68329);const a=(0,s(14486).default)({},i.render,i.staticRenderFns,!1,null,null,null).exports},59515:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(4607),a=s(38972),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},79110:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(5458),a=s(99369),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},67578:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(9918),a=s(97105),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(79040);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,"1be4e9aa",null).exports},84800:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(43047),a=s(6119),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},27821:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(99421),a=s(28934),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},50294:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(95728),a=s(33417),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},99681:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(9836),a=s(22350),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},34719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(38888),a=s(42260),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(88814);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},59993:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(60848),a=s(88626),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(74148);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,"c5fe4fd2",null).exports},28772:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(75754),a=s(75223),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(68338);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},88153:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(92020),a=s(70729),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(13418);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},75938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(86943),a=s(42909),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},76830:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(65358),a=s(93953),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(85082);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},67051:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(36327),a=s(70232),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},40069:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(27836),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},52548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(56987),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},80260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(50371),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},13514:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(25054),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},55597:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(84154),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},11308:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(51651),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},88988:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(51073),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},88012:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(3211),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},93843:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(24758),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},43509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(85100),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},64672:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(49415),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},79577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(37844),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},38972:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(67975),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},99369:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(61746),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},97105:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(26030),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},6119:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(22434),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},28934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(99397),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},33417:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(6140),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},22350:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(85679),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},42260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(3223),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},88626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(28413),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},75223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(79318),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},70729:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(44813),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},42909:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(68910),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},93953:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(91360),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},70232:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(29927),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},19106:(t,e,s)=>{"use strict";s.r(e);var i=s(47561),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},17310:(t,e,s)=>{"use strict";s.r(e);var i=s(24853),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},59028:(t,e,s)=>{"use strict";s.r(e);var i=s(70201),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},16286:(t,e,s)=>{"use strict";s.r(e);var i=s(69831),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},54229:(t,e,s)=>{"use strict";s.r(e);var i=s(82960),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},82704:(t,e,s)=>{"use strict";s.r(e);var i=s(67153),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},57352:(t,e,s)=>{"use strict";s.r(e);var i=s(65069),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},24871:(t,e,s)=>{"use strict";s.r(e);var i=s(11526),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},305:(t,e,s)=>{"use strict";s.r(e);var i=s(84870),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},34727:(t,e,s)=>{"use strict";s.r(e);var i=s(55318),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},46098:(t,e,s)=>{"use strict";s.r(e);var i=s(54309),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},44982:(t,e,s)=>{"use strict";s.r(e);var i=s(82285),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},56765:(t,e,s)=>{"use strict";s.r(e);var i=s(4215),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},32785:(t,e,s)=>{"use strict";s.r(e);var i=s(27934),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},68329:(t,e,s)=>{"use strict";s.r(e);var i=s(7971),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},4607:(t,e,s)=>{"use strict";s.r(e);var i=s(92162),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},5458:(t,e,s)=>{"use strict";s.r(e);var i=s(79911),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},9918:(t,e,s)=>{"use strict";s.r(e);var i=s(12191),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},43047:(t,e,s)=>{"use strict";s.r(e);var i=s(44516),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},99421:(t,e,s)=>{"use strict";s.r(e);var i=s(51992),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},95728:(t,e,s)=>{"use strict";s.r(e);var i=s(16331),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},9836:(t,e,s)=>{"use strict";s.r(e);var i=s(66295),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},38888:(t,e,s)=>{"use strict";s.r(e);var i=s(53577),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},60848:(t,e,s)=>{"use strict";s.r(e);var i=s(55201),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},75754:(t,e,s)=>{"use strict";s.r(e);var i=s(67725),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},92020:(t,e,s)=>{"use strict";s.r(e);var i=s(75125),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},86943:(t,e,s)=>{"use strict";s.r(e);var i=s(21146),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},65358:(t,e,s)=>{"use strict";s.r(e);var i=s(18865),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},36327:(t,e,s)=>{"use strict";s.r(e);var i=s(50442),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},72804:(t,e,s)=>{"use strict";s.r(e);var i=s(99093),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},86546:(t,e,s)=>{"use strict";s.r(e);var i=s(209),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},68840:(t,e,s)=>{"use strict";s.r(e);var i=s(96259),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},36281:(t,e,s)=>{"use strict";s.r(e);var i=s(52820),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},21883:(t,e,s)=>{"use strict";s.r(e);var i=s(48432),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},74811:(t,e,s)=>{"use strict";s.r(e);var i=s(54328),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},67011:(t,e,s)=>{"use strict";s.r(e);var i=s(22626),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},79040:(t,e,s)=>{"use strict";s.r(e);var i=s(37339),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},88814:(t,e,s)=>{"use strict";s.r(e);var i=s(67621),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},74148:(t,e,s)=>{"use strict";s.r(e);var i=s(82851),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},68338:(t,e,s)=>{"use strict";s.r(e);var i=s(5323),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},13418:(t,e,s)=>{"use strict";s.r(e);var i=s(28541),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},85082:(t,e,s)=>{"use strict";s.r(e);var i=s(53639),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},11220:()=>{},16052:()=>{},40295:()=>{},89858:()=>{},45187:()=>{},87919:()=>{},40264:()=>{},80434:()=>{},18053:()=>{}}]); \ No newline at end of file +/*! For license information please see home.chunk.db29292541125db4.js.LICENSE.txt */ +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[4951],{27836:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var i=s(5787),a=s(28772),o=s(59993),n=s(67051),r=(s(76830),s(88153));const l={props:{scope:{type:String,default:"home"}},components:{drawer:i.default,sidebar:a.default,timeline:n.default,rightbar:o.default,"story-carousel":r.default},data:function(){return{isLoaded:!1,profile:void 0,recommended:[],trending:[],storiesEnabled:!1,shouldRefresh:!1,showUpdateWarning:!1,showUpdateConnectionWarning:!1,updateInfo:void 0}},mounted:function(){this.init()},watch:{$route:"init"},methods:{init:function(){var t;this.profile=window._sharedData.user,this.isLoaded=!0,this.storiesEnabled=!(null===(t=window.App)||void 0===t||null===(t=t.config)||void 0===t||null===(t=t.features)||void 0===t||!t.hasOwnProperty("stories"))&&window.App.config.features.stories,this.profile.is_admin&&this.softwareUpdateCheck()},updateProfile:function(t){this.profile=Object.assign(this.profile,t)},softwareUpdateCheck:function(){var t=this;axios.get("/api/web-admin/software-update/check").then((function(e){if(e&&e.data&&e.data.hasOwnProperty("running_latest")&&!e.data.running_latest){if(null===e.data.running_latest)return t.updateInfo=e.data,void(t.showUpdateConnectionWarning=!0);t.updateInfo=e.data,t.showUpdateWarning=!e.data.running_latest}})).catch((function(e){t.showUpdateConnectionWarning=!0}))}}}},56987:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(20243),a=s(84800),o=s(79110),n=s(27821);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":a.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.shadowStatus.media_attachments||!this.shadowStatus.media_attachments.length)&&this.shadowStatus.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.shadowStatus.account.id==window._sharedData.user.id,this.shadowStatus.reply_count&&this.autoloadComments&&!1===this.shadowStatus.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},isReblog:{get:function(){return null!=this.status.reblog}},reblogAccount:{get:function(){return this.status.reblog?this.status.account:null}},shadowStatus:{get:function(){return this.status.reblog?this.status.reblog:this.status}}},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")}}}},50371:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={data:function(){return{user:window._sharedData.user}}}},25054:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={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}))}}}},84154:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:{small:{type:Boolean,default:!1}}}},51073:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(34719);const a={props:{profile:{type:Object}},components:{"profile-card":i.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})}))}}}},3211:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var i=s(79288),a=s(50294),o=s(34719),n=s(72028),r=s(19138);const l={props:{status:{type:Object}},components:{VueTribute:i.default,ReadMore:a.default,ProfileHoverCard:o.default,CommentReplyForm:r.default,CommentReplies:n.default},data:function(){return{profile:window._sharedData.user,ids:[],feed:[],sortIndex:0,sorts:["all","newest","popular"],replyContent:void 0,nextUrl:void 0,canLoadMore:!1,isPostingReply:!1,showReplyOptions:!1,feedLoading:!1,isUploading:!1,uploadProgress:0,lightboxStatus:null,settings:{expanded:!1,sensitive:!1},tributeSettings:{noMatchTemplate:null,collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){e(),console.log(t)}))}}]},showEmptyRepliesRefresh:!1,commentReplyIndex:void 0,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,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",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},24758:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(50294);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("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,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}}}},85100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},49415:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:["status","profile"],data:function(){return{config:window.App.config,ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1,isDeleting:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){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/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;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(i){i?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 i=this,a=(t.account.username,t.id,""),o=this;switch(e){case"addcw":a=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:a,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(i.$t("common.success"),i.$t("menu.modCWSuccess"),"success"),i.$emit("moderate","addcw"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"remcw":a=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:a,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(i.$t("common.success"),i.$t("menu.modRemoveCWSuccess"),"success"),i.$emit("moderate","remcw"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"unlist":a=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:a,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){i.$emit("moderate","unlist"),swal(i.$t("common.success"),i.$t("menu.modUnlistSuccess"),"success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"spammer":a=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:a,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){i.$emit("moderate","spammer"),swal(i.$t("common.success"),i.$t("menu.modMarkAsSpammerSuccess"),"success"),o.closeModals(),o.ctxModMenuClose()})).catch((function(t){o.closeModals(),o.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}))}},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;this.isDeleting=!0,0!=this.ownerOrAdmin(t)&&swal({title:"Confirm Delete",text:"Are you sure you want to delete this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s?axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals(),e.isDeleting=!1})).catch((function(t){e.closeModals(),e.isDeleting=!1,swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")})):(e.closeModals(),e.isDeleting=!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()},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("delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))},editPost:function(t){this.closeModals(),this.$emit("edit",t)},handleMute:function(){var t=this;if(this.ctxMenuRelationship){var e=this.ctxMenuRelationship.muting;swal({title:e?"Confirm Unmute":"Confirm Mute",text:e?"Are you sure you want to unmute this account?":"Are you sure you want to mute this account?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){if(s){var i="/api/v1/accounts/".concat(t.status.account.id,e?"/unmute":"/mute");axios.post(i).then((function(e){t.closeModals(),t.$emit("muted",t.status),t.$store.commit("updateRelationship",[e.data])})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")}))}else t.closeModals()}))}},handleBlock:function(){var t=this;if(this.ctxMenuRelationship){var e=this.ctxMenuRelationship.blocking;swal({title:e?"Confirm Unblock":"Confirm Block",text:e?"Are you sure you want to unblock this account?":"Are you sure you want to block this account?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){if(s){var i="/api/v1/accounts/".concat(t.status.account.id,e?"/unblock":"/block");axios.post(i).then((function(e){t.closeModals(),t.$store.commit("updateRelationship",[e.data]),t.$emit("muted",t.status)})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")}))}else t.closeModals()}))}},handleUnfollow:function(){var t=this;this.ctxMenuRelationship&&swal({title:"Unfollow",text:"Are you sure you want to unfollow "+this.status.account.username+"?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(e){e?axios.post("/api/v1/accounts/".concat(t.status.account.id,"/unfollow")).then((function(e){t.closeModals(),t.$store.commit("updateRelationship",[e.data]),t.$emit("unfollow",t.status)})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")})):t.closeModals()}))}}}},37844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},getDiff:function(t){if(t==this.allHistory.length-1)return this.allHistory[this.allHistory.length-1].content;var e=document.createElement("div");return r.forEach((function(t){var s=t.added?"green":t.removed?"red":"grey",i=document.createElement("span");(i.style.color=s,console.log(t.value,t.value.length),t.added)?t.value.trim().length?i.appendChild(document.createTextNode(t.value)):i.appendChild(document.createTextNode("·")):i.appendChild(document.createTextNode(t.value));e.appendChild(i)})),e.innerHTML},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),i=Math.floor(s/63072e3);return i<0?"0s":i>=1?i+(1==i?" year":" years")+" ago":(i=Math.floor(s/604800))>=1?i+(1==i?" week":" weeks")+" ago":(i=Math.floor(s/86400))>=1?i+(1==i?" day":" days")+" ago":(i=Math.floor(s/3600))>=1?i+(1==i?" hour":" hours")+" ago":(i=Math.floor(s/60))>=1?i+(1==i?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},67975:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(25100),a=s(29787),o=s(24848);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:i.default,"like-placeholder":a.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},61746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(18634),a=s(50294),o=s(75938);const n={props:["status"],components:{"read-more":a.default,"video-player":o.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},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},26030:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>u});var i=s(2e4),a=s(18634);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return r(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);s=0;--o){var n=this.tryEntries[o],r=n.completion;if("root"===n.tryLoc)return a("end");if(n.tryLoc<=this.prev){var l=i.call(n,"catchLoc"),c=i.call(n,"finallyLoc");if(l&&c){if(this.prev=0;--s){var a=this.tryEntries[s];if(a.tryLoc<=this.prev&&i.call(a,"finallyLoc")&&this.prev=0;--e){var s=this.tryEntries[e];if(s.finallyLoc===t)return this.complete(s.completion,s.afterLoc),T(s),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var s=this.tryEntries[e];if(s.tryLoc===t){var i=s.completion;if("throw"===i.type){var a=i.arg;T(s)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,s,i){return this.delegate={iterator:I(e),resultName:s,nextLoc:i},"next"===this.method&&(this.arg=t),b}},e}function c(t,e,s,i,a,o,n){try{var r=t[o](n),l=r.value}catch(t){return void s(t)}r.done?e(l):Promise.resolve(l).then(i,a)}function d(t){return function(){var e=this,s=arguments;return new Promise((function(i,a){var o=t.apply(e,s);function n(t){c(o,i,a,n,r,"next",t)}function r(t){c(o,i,a,n,r,"throw",t)}n(void 0)}))}}const u={components:{Autocomplete:i.default},data:function(){return{config:window.App.config,status:void 0,isLoading:!0,isOpen:!1,isSubmitting:!1,tabIndex:0,canEdit:!1,composeTextLength:0,canSave:!1,originalFields:{caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},fields:{caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},medias:void 0,altTextEditIndex:void 0,tributeSettings:{noMatchTemplate:function(){return null},collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){console.log(t)}))}}]}}},watch:{fields:{deep:!0,immediate:!0,handler:function(t,e){this.canEdit&&(this.canSave=this.originalFields!==JSON.stringify(this.fields))}}},methods:{reset:function(){this.status=void 0,this.tabIndex=0,this.isOpen=!1,this.canEdit=!1,this.composeTextLength=0,this.canSave=!1,this.originalFields={caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},this.fields={caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},this.medias=void 0,this.altTextEditIndex=void 0,this.isSubmitting=!1},show:function(t){var e=this;return d(l().mark((function s(){return l().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,axios.get("/api/v1/statuses/"+t.id,{params:{_pe:1}}).then((function(t){e.reset(),e.init(t.data)})).finally((function(){setTimeout((function(){e.isLoading=!1}),500)}));case 2:case"end":return s.stop()}}),s)})))()},init:function(t){var e=this;this.reset(),this.originalFields=JSON.stringify({caption:t.content_text,visibility:t.visibility,sensitive:t.sensitive,location:t.place,spoiler_text:t.spoiler_text,media:t.media_attachments}),this.fields={caption:t.content_text,visibility:t.visibility,sensitive:t.sensitive,location:t.place,spoiler_text:t.spoiler_text,media:t.media_attachments},this.status=t,this.medias=t.media_attachments,this.composeTextLength=t.content_text?t.content_text.length:0,this.isOpen=!0,setTimeout((function(){e.canEdit=!0}),1e3)},toggleTab:function(t){this.tabIndex=t,this.altTextEditIndex=void 0},toggleVisibility:function(t){this.fields.visibility=t},locationSearch:function(t){if(t.length<1)return[];return axios.get("/api/compose/v0/search/location",{params:{q:t}}).then((function(t){return t.data}))},getResultValue:function(t){return t.name+", "+t.country},onSubmitLocation:function(t){this.fields.location=t,this.tabIndex=0},clearLocation:function(){event.currentTarget.blur(),this.fields.location=null,this.tabIndex=0},handleAltTextUpdate:function(t){0==this.fields.media[t].description.length&&(this.fields.media[t].description=null)},moveMedia:function(t,e,s){var i=n(s),a=i.splice(t,1)[0];return i.splice(e,0,a),i},toggleMediaOrder:function(t,e){"prev"===t&&(this.fields.media=this.moveMedia(e,e-1,this.fields.media)),"next"===t&&(this.fields.media=this.moveMedia(e,e+1,this.fields.media))},toggleLightbox:function(t){(0,a.default)({el:t.target})},handleAddAltText:function(t){event.currentTarget.blur(),this.altTextEditIndex=t},removeMedia:function(t){var e=this;swal({title:"Confirm",text:"Are you sure you want to remove this media from your post?",buttons:{cancel:"Cancel",confirm:{text:"Confirm Removal",value:"remove",className:"swal-button--danger"}}}).then((function(s){"remove"===s&&e.fields.media.splice(t,1)}))},handleSave:function(){var t=this;return d(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return event.currentTarget.blur(),t.canSave=!1,t.isSubmitting=!0,e.next=5,t.checkMediaUpdates();case 5:axios.put("/api/v1/statuses/"+t.status.id,{status:t.fields.caption,spoiler_text:t.fields.spoiler_text,sensitive:t.fields.sensitive,media_ids:t.fields.media.map((function(t){return t.id})),location:t.fields.location}).then((function(e){t.isOpen=!1,t.$emit("update",e.data),swal({title:"Post Updated",text:"You have successfully updated this post!",icon:"success",buttons:{close:{text:"Close",value:"close",close:!0,className:"swal-button--cancel"},view:{text:"View Post",value:"view",className:"btn-primary"}}}).then((function(e){"view"===e&&("post"===t.$router.currentRoute.name?window.location.reload():t.$router.push("/i/web/post/"+t.status.id))}))})).catch((function(e){t.isSubmitting=!1,e.response.data.hasOwnProperty("error")?swal("Error",e.response.data.error,"error"):swal("Error","An error occured, please try again later","error"),console.log(e)}));case 6:case"end":return e.stop()}}),e)})))()},checkMediaUpdates:function(){var t=this;return d(l().mark((function e(){var s;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=JSON.parse(t.originalFields),JSON.stringify(s.media)===JSON.stringify(t.fields.media)){e.next=5;break}return e.next=5,axios.all(t.fields.media.map((function(e){return t.updateAltText(e)})));case 5:case"end":return e.stop()}}),e)})))()},updateAltText:function(t){return d(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.put("/api/v1/media/"+t.id,{description:t.description});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))()}}}},22434:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(34719),a=s(49986);const o={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1},isReblog:{type:Boolean,default:!1},reblogAccount:{type:Object}},components:{"profile-hover-card":i.default,"edit-history-modal":a.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfileById:function(t){var e=this;this.$nextTick((function(){e.$router.push({name:"profile",path:"/i/web/profile/".concat(t),params:{id:t,cachedUser:e.profile}})}))},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")},openEditModal:function(){this.$refs.editModal.open()}}}},99397:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(20243),a=s(34719);const o={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}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},6140:(t,e,s)=>{"use strict";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=e.getAttribute("href"),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)}))}}}},85679:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(25100),a=s(29787),o=s(24848);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:i.default,"like-placeholder":a.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchShares:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchShares(),this.$refs.sharesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,o.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},3223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var i=s(50294),a=s(95353);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function r(t,e,s){var i;return i=function(t,e){if("object"!=o(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!=o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==o(i)?i:i+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore: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)}}}},28413:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={components:{notifications:s(76830).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},79318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var i=s(95353),a=s(90414);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function n(t,e){var s=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),s.push.apply(s,i)}return s}function r(t,e,s){var i;return i=function(t,e){if("object"!=o(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!=o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==o(i)?i:i+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,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:{UpdateAvatar:a.default},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},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},44813:(t,e,s)=>{"use strict";function i(t){return function(t){if(Array.isArray(t))return a(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 a(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 a(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 a(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);so});const o={props:{profile:{type:Object}},data:function(){return{canShow:!1,stories:[],selfStory:void 0}},mounted:function(){this.fetchStories()},methods:{fetchStories:function(){var t=this;axios.get("/api/web/stories/v1/recent").then((function(e){if(e.data&&e.data.length){t.selfStory=e.data.filter((function(e){return e.pid==t.profile.id}));var s,a=e.data.filter((function(e){return e.pid!==t.profile.id}));if(t.stories=a,t.canShow=!0,!a||!a.length||a.length<5)(s=t.stories).push.apply(s,i(Array(5-a.length).keys()))}}))}}}},68910:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(64945),a=(s(34076),s(34330)),o=s.n(a),n=(s(10706),s(71241));const r={props:["status","fixedHeight"],data:function(){return{shouldPlay:!1,hasHls:void 0,hlsConfig:window.App.config.features.hls,liveSyncDurationCount:7,isHlsSupported:!1,isP2PSupported:!1,engine:void 0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{handleShouldPlay:function(){var t=this;this.shouldPlay=!0,this.isHlsSupported=this.hlsConfig.enabled&&i.default.isSupported(),this.isP2PSupported=this.hlsConfig.enabled&&this.hlsConfig.p2p&&n.Engine.isSupported(),this.$nextTick((function(){t.init()}))},init:function(){var t,e=this;!this.status.sensitive&&null!==(t=this.status.media_attachments[0])&&void 0!==t&&t.hls_manifest&&this.isHlsSupported?(this.hasHls=!0,this.$nextTick((function(){e.initHls()}))):this.hasHls=!1},initHls:function(){var t;if(this.isP2PSupported){var e={loader:{trackerAnnounce:[this.hlsConfig.tracker],rtcConfig:{iceServers:[{urls:[this.hlsConfig.ice]}]}}},s=new n.Engine(e);this.hlsConfig.p2p_debug&&(s.on("peer_connect",(function(t){return console.log("peer_connect",t.id,t.remoteAddress)})),s.on("peer_close",(function(t){return console.log("peer_close",t)})),s.on("segment_loaded",(function(t,e){return console.log("segment_loaded from",e?"peer ".concat(e):"HTTP",t.url)}))),t=s.createLoaderClass()}else t=i.default.DefaultConfig.loader;var a=this.$refs.video,r=this.status.media_attachments[0].hls_manifest,l=(new(o())(a,{captions:{active:!0,update:!0}}),new i.default({liveSyncDurationCount:this.liveSyncDurationCount,loader:t})),c=this;(0,n.initHlsJsPlayer)(l),l.loadSource(r),l.attachMedia(a),l.on(i.default.Events.MANIFEST_PARSED,(function(t,e){this.hlsConfig.debug&&(console.log(t),console.log(e));var s={},n=l.levels.map((function(t){return t.height}));this.hlsConfig.debug&&console.log(n),n.unshift(0),s.quality={default:0,options:n,forced:!0,onChange:function(t){return c.updateQuality(t)}},s.i18n={qualityLabel:{0:"Auto"}},l.on(i.default.Events.LEVEL_SWITCHED,(function(t,e){var s=document.querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");l.autoLevelEnabled?s.innerHTML="Auto (".concat(l.levels[e.level].height,"p)"):s.innerHTML="Auto"}));new(o())(a,s)}))},updateQuality:function(t){var e=this;0===t?window.hls.currentLevel=-1:window.hls.levels.forEach((function(s,i){s.height===t&&(e.hlsConfig.debug&&console.log("Found quality match with "+t),window.hls.currentLevel=i)}))},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},91360:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(71687),a=s(25100);function o(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var s=Object.prototype.toString.call(t).slice(8,-1);"Object"===s&&t.constructor&&(s=t.constructor.name);if("Map"===s||"Set"===s)return Array.from(t);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return n(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);sWe use automated systems to help detect potential abuse and spam. Your recent post was flagged for review.

Don\'t worry! Your post will be reviewed by a human, and they will restore your post if they determine it appropriate.

Once a human approves your post, any posts you create after will not be marked as unlisted. If you delete this post and share more posts before a human can approve any of them, you will need to wait for at least one unlisted post to be reviewed by a human.';var s=document.createElement("div");s.appendChild(e),swal({title:"Why was my post unlisted?",content:s,icon:"warning"})}}}},29927:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>m});var i=s(58741),a=s(35547),o=s(25100),n=s(57103),r=s(59515),l=s(99681),c=s(13090),d=s(30229),u=s(35719),f=s(67578);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,i=new Array(e);s0&&void 0!==arguments[0]&&arguments[0];"home"===this.getScope()&&this.settings&&this.settings.hasOwnProperty("enable_reblogs")&&this.settings.enable_reblogs?(t=this.baseApi+"home",e={_pe:1,max_id:this.max_id,limit:6,include_reblogs:!0}):(t=this.baseApi+this.getScope(),e=0===this.max_id?{min_id:1,limit:6,_pe:1}:{max_id:this.max_id,limit:6,_pe:1}),"network"===this.getScope()&&(e.remote=!0,t=this.baseApi+"public"),axios.get(t,{params:e}).then((function(t){var e=t.data.map((function(t){return t&&t.hasOwnProperty("relationship")&&s.$store.commit("updateRelationship",[t.relationship]),t.id}));s.isLoaded=!0,0!=t.data.length&&(s.ids=e,s.max_id=Math.min.apply(Math,p(e)),s.feed=t.data,t.data.length<4&&(s.canLoadMore=!1,s.showLoadMore=!0))})).then((function(){i&&s.$nextTick((function(){window.scrollTo({top:0,left:0,behavior:"smooth"}),s.$emit("refreshed")}))}))},enterIntersect:function(){var t,e,s=this;this.isFetchingMore||(this.isFetchingMore=!0,"home"===this.getScope()&&this.settings&&this.settings.hasOwnProperty("enable_reblogs")&&this.settings.enable_reblogs?(t=this.baseApi+"home",e={_pe:1,max_id:this.max_id,limit:6,include_reblogs:!0}):(t=this.baseApi+this.getScope(),e={max_id:this.max_id,limit:6,_pe:1}),"network"===this.getScope()&&(e.remote=!0,t=this.baseApi+"public"),axios.get(t,{params:e}).then((function(t){t.data.length||(s.endFeedReached=!0,s.canLoadMore=!1,s.isFetchingMore=!1),setTimeout((function(){t.data.forEach((function(t){-1==s.ids.indexOf(t.id)&&(s.max_id>t.id&&(s.max_id=t.id),s.ids.push(t.id),s.feed.push(t),t&&t.hasOwnProperty("relationship")&&s.$store.commit("updateRelationship",[t.relationship]))})),s.isFetchingMore=!1}),100)})))},tryToLoadMore:function(){var t=this;this.loadMoreAttempts++,this.loadMoreAttempts>=3&&(this.showLoadMore=!1),this.showLoadMore=!1,this.canLoadMore=!0,this.loadMoreTimeout=setTimeout((function(){t.canLoadMore=!1,t.showLoadMore=!0}),5e3)},likeStatus:function(t){var e=this,s=this.feed[t];if(s.reblog){(s=s.reblog).favourited;var i=s.favourites_count;this.feed[t].reblog.favourites_count=i+1,this.feed[t].reblog.favourited=!s.favourited}else{s.favourited;var a=s.favourites_count;this.feed[t].favourites_count=a+1,this.feed[t].favourited=!s.favourited}axios.post("/api/v1/statuses/"+s.id+"/favourite").then((function(t){})).catch((function(i){s.reblog?(e.feed[t].reblog.favourites_count=count,e.feed[t].reblog.favourited=!1):(e.feed[t].favourites_count=count,e.feed[t].favourited=!1);var a=document.createElement("p");a.classList.add("text-left"),a.classList.add("mb-0"),a.innerHTML='We limit certain interactions to keep our community healthy and it appears that you have reached that limit. Please try again later.';var o=document.createElement("div");o.appendChild(a),429===i.response.status&&swal({title:"Too many requests",content:o,icon:"warning",buttons:{confirm:{text:"OK",value:!1,visible:!0,className:"bg-transparent primary",closeModal:!0}}}).then((function(t){"more"==t&&(location.href="/site/contact")}))}))},unlikeStatus:function(t){var e=this,s=this.feed[t];if(s.reblog){(s=s.reblog).favourited;var i=s.favourites_count;this.feed[t].reblog.favourites_count=i-1,this.feed[t].reblog.favourited=!s.favourited}else{s.favourited;var a=s.favourites_count;this.feed[t].favourites_count=a-1,this.feed[t].favourited=!s.favourited}axios.post("/api/v1/statuses/"+s.id+"/unfavourite").then((function(t){})).catch((function(i){s.reblog&&"share"==s.pf_type?(e.feed[t].reblog.favourites_count=count,e.feed[t].reblog.favourited=!1):(e.feed[t].favourites_count=count,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;var s=this.feed[this.postIndex];this.likesModalPost=s.reblog?s.reblog:s,this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},openSharesModal:function(t){var e=this;this.postIndex=t;var s=this.feed[this.postIndex];this.sharesModalPost=s.reblog?s.reblog:s,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),this.forceUpdateIdx++},counterChange:function(t,e){var s=this.feed[t];switch(e){case"comment-increment":null!=s.reblog?this.feed[t].reblog.reply_count=this.feed[t].reblog.reply_count+1:this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":null!=s.reblog?this.feed[t].reblog.reply_count=this.feed[t].reblog.reply_count-1:this.feed[t].reply_count=this.feed[t].reply_count-1}},openCommentLikesModal:function(t){var e=this;null!=t.reblog?this.likesModalPost=t.reblog:this.likesModalPost=t,this.showLikesModal=!0,this.$nextTick((function(){e.$refs.likesModal.open()}))},shareStatus:function(t){var e=this,s=this.feed[t];if(s.reblog){(s=s.reblog).reblogged;var i=s.reblogs_count;this.feed[t].reblog.reblogs_count=i+1,this.feed[t].reblog.reblogged=!s.reblogged}else{s.reblogged;var a=s.reblogs_count;this.feed[t].reblogs_count=a+1,this.feed[t].reblogged=!s.reblogged}axios.post("/api/v1/statuses/"+s.id+"/reblog").then((function(t){})).catch((function(i){s.reblog?(e.feed[t].reblog.reblogs_count=count,e.feed[t].reblog.reblogged=!1):(e.feed[t].reblogs_count=count,e.feed[t].reblogged=!1)}))},unshareStatus:function(t){var e=this,s=this.feed[t];if(s.reblog){(s=s.reblog).reblogged;var i=s.reblogs_count;this.feed[t].reblog.reblogs_count=i-1,this.feed[t].reblog.reblogged=!s.reblogged}else{s.reblogged;var a=s.reblogs_count;this.feed[t].reblogs_count=a-1,this.feed[t].reblogged=!s.reblogged}axios.post("/api/v1/statuses/"+s.id+"/unreblog").then((function(t){})).catch((function(i){s.reblog?(e.feed[t].reblog.reblogs_count=count,e.feed[t].reblog.reblogged=!1):(e.feed[t].reblogs_count=count,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];s.reblog&&(s=s.reblog),axios.post("/i/bookmark",{item:s.id}).then((function(i){e.feed[t].reblog?e.feed[t].reblog.bookmarked=!s.bookmarked: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;this.feed[t].reblog?axios.post("/api/v1/accounts/"+this.feed[t].reblog.account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count+1}),e.feed[t].reblog.account.followers_count=e.feed[t].reblog.account.followers_count+1})).catch((function(s){swal("Oops!","An error occured when attempting to follow this account.","error"),e.feed[t].reblog.relationship.following=!1})):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;this.feed[t].reblog?axios.post("/api/v1/accounts/"+this.feed[t].reblog.account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count-1}),e.feed[t].reblog.account.followers_count=e.feed[t].reblog.account.followers_count-1})).catch((function(s){swal("Oops!","An error occured when attempting to unfollow this account.","error"),e.feed[t].reblog.relationship.following=!0})):axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.updateProfile({following_count:e.profile.following_count-1}),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1})).catch((function(s){swal("Oops!","An error occured when attempting to unfollow this account.","error"),e.feed[t].relationship.following=!0}))},updateProfile:function(t){this.$emit("update-profile",t)},handleRefresh:function(){var t=this;this.isLoaded=!1,this.feed=[],this.ids=[],this.max_id=0,this.canLoadMore=!0,this.showLoadMore=!1,this.loadMoreTimeout=void 0,this.loadMoreAttempts=0,this.isFetchingMore=!1,this.endFeedReached=!1,this.postIndex=0,this.showMenu=!1,this.showLikesModal=!1,this.likesModalPost={},this.showReportModal=!1,this.reportedStatus={},this.reportedStatusId=0,this.showSharesModal=!1,this.sharesModalPost={},this.$nextTick((function(){t.fetchTimeline(!0)}))},handleEdit:function(t){this.$refs.editModal.show(t)},mergeUpdatedPost:function(t){var e=this;this.feed=this.feed.map((function(e){return e.id==t.id&&(e=t),e})),this.$nextTick((function(){e.forceUpdateIdx++}))},enableReblogs:function(){this.enablingReblogs=!0,axios.post("/api/pixelfed/v1/web/settings",{field:"enable_reblogs",value:!0}).then((function(t){setTimeout((function(){window.location.reload()}),1e3)}))},hideReblogs:function(){this.showReblogBanner=!1,axios.post("/api/pixelfed/v1/web/settings",{field:"hide_reblog_banner",value:!0}).then((function(t){}))},handleMuted:function(t){this.feed=this.feed.filter((function(e){return e.account.id!==t.account.id}))},handleUnfollow:function(t){"home"===this.scope&&(this.feed=this.feed.filter((function(e){return e.account.id!==t.account.id}))),this.updateProfile({following_count:this.profile.following_count-1})}},watch:{refresh:"handleRefresh"},beforeDestroy:function(){clearTimeout(this.loadMoreTimeout)}}},47561:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t,e,s,i,a,o,n=this,r=n._self._c;return r("div",{staticClass:"web-wrapper"},[n.isLoaded?r("div",{staticClass:"container-fluid mt-3"},[r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-4 col-lg-3"},[r("sidebar",{attrs:{user:n.profile},on:{refresh:function(t){n.shouldRefresh=!0}}})],1),n._v(" "),r("div",{staticClass:"col-md-8 col-lg-6 px-0"},[n.showUpdateWarning&&n.updateInfo&&n.updateInfo.hasOwnProperty("running_latest")?[r("div",{staticClass:"card rounded-lg mb-4 ft-std",staticStyle:{background:"#e11d48",border:"3px dashed #fff"}},[r("div",{staticClass:"card-body"},[r("div",{staticClass:"d-flex justify-content-between align-items-center flex-column flex-lg-row",staticStyle:{gap:"1rem"}},[r("div",{staticClass:"d-flex justify-content-between align-items-center",staticStyle:{gap:"1rem"}},[r("i",{staticClass:"d-none d-sm-block far fa-exclamation-triangle fa-5x text-white"}),n._v(" "),r("div",[r("h1",{staticClass:"h3 font-weight-bold text-light mb-0"},[n._v("New Update Available")]),n._v(" "),r("p",{staticClass:"mb-0 text-white",staticStyle:{"font-size":"18px"}},[n._v("Update your Pixelfed server as soon as possible!")]),n._v(" "),r("p",{staticClass:"mb-n1 text-white small",staticStyle:{opacity:".7"}},[n._v("Once you update, this message will disappear.")]),n._v(" "),r("p",{staticClass:"mb-0 text-white small d-flex",staticStyle:{opacity:".5",gap:"1rem"}},[r("span",[n._v("Current version: "),r("strong",[n._v(n._s(null!==(t=null===(e=n.updateInfo)||void 0===e?void 0:e.current)&&void 0!==t?t:"Unknown"))])]),n._v(" "),r("span",[n._v("Latest version: "),r("strong",[n._v(n._s(null!==(s=null===(i=n.updateInfo)||void 0===i||null===(i=i.latest)||void 0===i?void 0:i.version)&&void 0!==s?s:"Unknown"))])])])])]),n._v(" "),n.updateInfo.latest.url?r("a",{staticClass:"btn btn-light font-weight-bold",attrs:{href:n.updateInfo.latest.url,target:"_blank"}},[n._v("View Update")]):n._e()])])])]:n._e(),n._v(" "),n.showUpdateConnectionWarning?[r("div",{staticClass:"card rounded-lg mb-4 ft-std",staticStyle:{background:"#e11d48",border:"3px dashed #fff"}},[r("div",{staticClass:"card-body"},[r("div",{staticClass:"d-flex justify-content-between align-items-center flex-column flex-lg-row",staticStyle:{gap:"1rem"}},[r("div",{staticClass:"d-flex justify-content-between align-items-center",staticStyle:{gap:"1rem"}},[r("i",{staticClass:"d-none d-sm-block far fa-exclamation-triangle fa-5x text-white"}),n._v(" "),r("div",[r("h1",{staticClass:"h3 font-weight-bold text-light mb-1"},[n._v("Software Update Check Failed")]),n._v(" "),n._m(0),n._v(" "),n._m(1),n._v(" "),r("p",{staticClass:"mb-0 text-white small",staticStyle:{opacity:".7"}},[n._v("Current version: "+n._s(null!==(a=null===(o=n.updateInfo)||void 0===o?void 0:o.current)&&void 0!==a?a:"Unknown"))])])])])])])]:n._e(),n._v(" "),n.storiesEnabled?r("story-carousel",{attrs:{profile:n.profile}}):n._e(),n._v(" "),r("timeline",{key:n.scope,attrs:{profile:n.profile,scope:n.scope,refresh:n.shouldRefresh},on:{"update-profile":n.updateProfile,refreshed:function(t){n.shouldRefresh=!1}}})],2),n._v(" "),r("div",{staticClass:"d-none d-lg-block col-lg-3"},[r("rightbar",{staticClass:"sticky-top sidebar"})],1)]),n._v(" "),r("drawer")],1):r("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"calc(100vh - 58px)"}},[r("b-spinner")],1)])},a=[function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-1 text-white",staticStyle:{"font-size":"18px","line-height":"1.2"}},[t._v("We attempted to check if there is a new version available, however we encountered an error. "),e("a",{staticClass:"text-white font-weight-bold",staticStyle:{"text-decoration":"underline"},attrs:{href:"https://github.com/pixelfed/pixelfed/releases",target:"_blank"}},[t._v("Click here")]),t._v(" to view the latest releases.")])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-0 text-white small"},[t._v("You can set "),e("code",{staticClass:"text-white"},[t._v("INSTANCE_SOFTWARE_UPDATE_DISABLE_FAILED_WARNING=true")]),t._v(" to remove this warning.")])}]},24853:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){this._self._c;return this._m(0)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"ph-item border-0 shadow-sm",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[e("div",{staticClass:"ph-col-12"},[e("div",{staticClass:"ph-row align-items-center"},[e("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{width:"50px",height:"60px","border-radius":"15px"}}),t._v(" "),e("div",{staticClass:"ph-col-6 big"})]),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"ph-picture"}),t._v(" "),e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12 big"}),t._v(" "),e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])}]},70201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.shadowStatus,"is-reblog":t.isReblog,"reblog-account":t.reblogAccount},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.shadowStatus}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.shadowStatus,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.shadowStatus,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=[]},69831:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},a=[]},82960:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?e("div",{staticClass:"card shadow-none rounded-lg border my-4"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?e("div",[t.status.content_text.length<=140?e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?e("div",[e("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[e("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?e("p",{staticClass:"mt-3 mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),e("p",{staticClass:"text-right mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?e("div",[e("div",{staticClass:"my-4 text-center"},[e("b-spinner"),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-4x text-success"},[e("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-3x text-danger"},[e("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},a=[]},67153:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},a=[]},65069:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){this._self._c;return this._m(0)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("img",{staticClass:"img-fluid",staticStyle:{"max-height":"300px",opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("p",{staticClass:"lead mb-0 text-center"},[t._v("This feed is empty")])])}]},11526:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return t.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},a=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},84870:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-onboarding"},[e("div",{staticClass:"card card-body shadow-sm mb-3 p-5",staticStyle:{"border-radius":"15px"}},[e("h1",{staticClass:"text-center mb-4"},[t._v("✨ "+t._s(t.$t("timeline.onboarding.welcome")))]),t._v(" "),e("p",{staticClass:"text-center mb-3",staticStyle:{"font-size":"22px"}},[t._v("\n\t\t\t"+t._s(t.$t("timeline.onboarding.thisIsYourHomeFeed"))+"\n\t\t")]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v(t._s(t.$t("timeline.onboarding.letUsHelpYouFind")))]),t._v(" "),t.newlyFollowed?e("p",{staticClass:"text-center mb-0"},[e("a",{staticClass:"btn btn-primary btn-lg primary font-weight-bold rounded-pill px-4",attrs:{href:"/i/web",onclick:"location.reload()"}},[t._v("\n\t\t\t\t"+t._s(t.$t("timeline.onboarding.refreshFeed"))+"\n\t\t\t")])]):t._e()]),t._v(" "),e("div",{staticClass:"row"},t._l(t.popularAccounts,(function(s,i){return e("div",{staticClass:"col-12 col-md-6 mb-3"},[e("div",{staticClass:"card shadow-sm border-0 rounded-px"},[e("div",{staticClass:"card-body p-2"},[e("profile-card",{key:"pfc"+i,staticClass:"w-100",attrs:{profile:s},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)])])})),0)])},a=[]},55318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,i){return e("div",{key:"cd:"+s.id+":"+i,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===i?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(i,a){return e("div",{on:{click:function(e){return t.lightbox(s,a)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[a].blurhash,src:t.getMediaSource(s,a)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+i),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===i?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===i?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===i?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(i)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(i)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[i].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[i].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[i].replies},on:{"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==i&&t.feed[i].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==i?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(i,e)},"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},a=[]},54309:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,i){return e("div",{key:"cd:"+s.id+":"+i},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+i),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(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._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},82285:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},a=[]},4215:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item d-flex p-0 m-0"},[e("div",{staticClass:"border-right p-2 w-50"},[t.status?e("a",{staticClass:"menu-option",attrs:{href:t.status.url},on:{click:function(e){return e.preventDefault(),t.ctxMenuGoToPost()}}},[e("div",{staticClass:"action-icon-link"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"fal fa-images fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v(t._s(t.$t("menu.viewPost")))])])]):t._e()]),t._v(" "),e("div",{staticClass:"p-2 flex-grow-1"},[t.status?e("a",{staticClass:"menu-option",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.ctxMenuGoToProfile()}}},[e("div",{staticClass:"action-icon-link"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"fal fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v(t._s(t.$t("menu.viewProfile")))])])]):t._e()])]):t._e(),t._v(" "),t.ctxMenuRelationship?[t.ctxMenuRelationship.following?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleUnfollow.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("profile.unfollow"))+"\n ")]):e("div",{staticClass:"d-flex"},[e("div",{staticClass:"p-3 border-right w-50 text-center"},[e("a",{staticClass:"small menu-option text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleMute.apply(null,arguments)}}},[e("div",{staticClass:"action-icon-link-inline"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"far",class:[t.ctxMenuRelationship.muting?"fa-eye":"fa-eye-slash"]})]),t._v(" "),e("p",{staticClass:"text-muted mb-0"},[t._v(t._s(t.ctxMenuRelationship.muting?"Unmute":"Mute"))])])])]),t._v(" "),e("div",{staticClass:"p-3 w-50"},[e("a",{staticClass:"small menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleBlock.apply(null,arguments)}}},[e("div",{staticClass:"action-icon-link-inline"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"far fa-shield-alt"})]),t._v(" "),e("p",{staticClass:"text-danger mb-0"},[t._v("Block")])])])])])]:t._e(),t._v(" "),"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuShare()}}},[t._v("\n "+t._s(t.$t("common.share"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxModMenuShow()}}},[t._v("\n "+t._s(t.$t("menu.moderationTools"))+"\n ")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuReportPost()}}},[t._v("\n "+t._s(t.$t("menu.report"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.archivePost(t.status)}}},[t._v("\n "+t._s(t.$t("menu.archive"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.unarchivePost(t.status)}}},[t._v("\n "+t._s(t.$t("menu.unarchive"))+"\n ")]):t._e(),t._v(" "),t.config.ab.pue&&t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.editPost(t.status)}}},[t._v("\n Edit\n ")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deletePost(t.status)}}},[t.isDeleting?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("div",[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e(),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeCtxMenu()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])],2)]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center menu-option text-danger"},[t._v("\n "+t._s(t.$t("menu.moderationTools"))+"\n ")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("\n "+t._s(t.$t("menu.selectOneOption"))+"\n ")]),t._v(" "),e("p"),t._v(" "),e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"unlist")}}},[t._v("\n "+t._s(t.$t("menu.unlistFromTimelines"))+"\n ")]),t._v(" "),t.status.sensitive?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"remcw")}}},[t._v("\n "+t._s(t.$t("menu.removeCW"))+"\n ")]):e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"addcw")}}},[t._v("\n "+t._s(t.$t("menu.addCW"))+"\n ")]),t._v(" "),e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"spammer")}}},[t._v("\n "+t._s(t.$t("menu.markAsSpammer"))),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxModMenuClose()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuCopyLink()}}},[t._v("\n "+t._s(t.$t("common.copyLink"))+"\n ")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("a",{staticClass:"list-group-item menu-option",on:{click:function(e){return e.preventDefault(),t.ctxMenuEmbed()}}},[t._v("\n "+t._s(t.$t("menu.embed"))+"\n ")]):t._e(),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeCtxShareMenu()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,i=e.target,a=!!i.checked;if(Array.isArray(s)){var o=t._i(s,null);i.checked?o<0&&(t.ctxEmbedShowCaption=s.concat([null])):o>-1&&(t.ctxEmbedShowCaption=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowCaption=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.showCaption"))+"\n ")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,i=e.target,a=!!i.checked;if(Array.isArray(s)){var o=t._i(s,null);i.checked?o<0&&(t.ctxEmbedShowLikes=s.concat([null])):o>-1&&(t.ctxEmbedShowLikes=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedShowLikes=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.showLikes"))+"\n ")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,i=e.target,a=!!i.checked;if(Array.isArray(s)){var o=t._i(s,null);i.checked?o<0&&(t.ctxEmbedCompactMode=s.concat([null])):o>-1&&(t.ctxEmbedCompactMode=s.slice(0,o).concat(s.slice(o+1)))}else t.ctxEmbedCompactMode=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.compactMode"))+"\n ")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},a=[]},27934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var i=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,i){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(i==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=i}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},a=[]},7971:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){this._self._c;return this._m(0)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}]},92162:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,i){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===i?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[null==s.follows||s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},a=[]},64394:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight}}):"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div",[t.status.sensitive?e("div",{staticClass:"border m-3 p-5 rounded-lg"},[t._m(1),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold mb-0"},[t._v("Sensitive Content")]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.status.spoiler_text&&t.status.spoiler_text.length?t.status.spoiler_text:"This post may contain sensitive content"))]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See post")])])]):t._e()]):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],1):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},a=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},12191:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("b-modal",{attrs:{centered:"","body-class":"p-0","footer-class":"d-flex justify-content-between align-items-center"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var i=s.close;return[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Edit Post")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]}},{key:"modal-footer",fn:function(s){s.ok;var i=s.cancel;s.hide;return[e("b-button",{staticClass:"rounded-pill px-3 font-weight-bold",attrs:{variant:"outline-muted"},on:{click:function(t){return i()}}},[t._v("\n\t\t\tCancel\n\t\t")]),t._v(" "),e("b-button",{staticClass:"rounded-pill font-weight-bold",staticStyle:{"min-width":"195px"},attrs:{variant:"primary",disabled:!t.canSave},on:{click:t.handleSave}},[t.isSubmitting?[e("b-spinner",{attrs:{small:""}})]:[t._v("\n\t\t\t\tSave Updates\n\t\t\t")]],2)]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("b-card",{staticClass:"shadow-none p-0",attrs:{"no-body":"",flush:""}},[e("b-card-body",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"300px"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center flex-column",staticStyle:{gap:"0.4rem"}},[e("b-spinner",{attrs:{variant:"primary"}}),t._v(" "),e("p",{staticClass:"small mb-0 font-weight-lighter"},[t._v("Loading Post...")])],1)])],1):!t.isLoading&&t.isOpen&&t.status&&t.status.id?e("b-card",{staticClass:"shadow-none p-0",attrs:{"no-body":"",flush:""}},[e("b-card-header",{attrs:{"header-tag":"nav"}},[e("b-nav",{attrs:{tabs:"",fill:"","card-header":""}},[e("b-nav-item",{attrs:{active:0===t.tabIndex},on:{click:function(e){return t.toggleTab(0)}}},[t._v("Caption")]),t._v(" "),e("b-nav-item",{attrs:{active:1===t.tabIndex},on:{click:function(e){return t.toggleTab(1)}}},[t._v("Media")]),t._v(" "),e("b-nav-item",{attrs:{active:4===t.tabIndex},on:{click:function(e){return t.toggleTab(3)}}},[t._v("Other")])],1)],1),t._v(" "),e("b-card-body",{staticStyle:{"min-height":"300px"}},[0===t.tabIndex?[e("p",{staticClass:"font-weight-bold small"},[t._v("Caption")]),t._v(" "),e("div",{staticClass:"media mb-0"},[e("div",{staticClass:"media-body"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.fields.caption,expression:"fields.caption"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"4",placeholder:"Write a caption...",maxlength:t.config.uploader.max_caption_length},domProps:{value:t.fields.caption},on:{keyup:function(e){t.composeTextLength=t.fields.caption.length},input:function(e){e.target.composing||t.$set(t.fields,"caption",e.target.value)}}})]),t._v(" "),e("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"font-weight-bold small"},[t._v("Sensitive/NSFW")]),t._v(" "),e("div",{staticClass:"border py-2 px-3 bg-light rounded"},[e("b-form-checkbox",{staticStyle:{"font-weight":"300"},attrs:{name:"check-button",switch:""},model:{value:t.fields.sensitive,callback:function(e){t.$set(t.fields,"sensitive",e)},expression:"fields.sensitive"}},[e("span",{staticClass:"ml-1 small"},[t._v("Contains spoilers, sensitive or nsfw content")])])],1),t._v(" "),e("transition",{attrs:{name:"slide-fade"}},[t.fields.sensitive?e("div",{staticClass:"form-group mt-3"},[e("label",{staticClass:"font-weight-bold small"},[t._v("Content Warning")]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.fields.spoiler_text,expression:"fields.spoiler_text"}],staticClass:"form-control",attrs:{rows:"2",placeholder:"Add an optional spoiler/content warning...",maxlength:140},domProps:{value:t.fields.spoiler_text},on:{input:function(e){e.target.composing||t.$set(t.fields,"spoiler_text",e.target.value)}}}),t._v(" "),e("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.fields.spoiler_text?t.fields.spoiler_text.length:0)+"/140")])]):t._e()])]:1===t.tabIndex?[e("div",{staticClass:"list-group"},t._l(t.fields.media,(function(s,i){return e("div",{key:"edm:"+s.id+":"+i,staticClass:"list-group-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},["image"===s.type?[e("img",{staticClass:"bg-light rounded cursor-pointer",staticStyle:{"object-fit":"cover"},attrs:{src:s.url,width:"40",height:"40"},on:{click:t.toggleLightbox}})]:t._e(),t._v(" "),e("p",{staticClass:"d-none d-lg-block mb-0"},[e("span",{staticClass:"small font-weight-light"},[t._v(t._s(s.mime))])]),t._v(" "),e("button",{staticClass:"btn btn-sm font-weight-bold rounded-pill px-4",class:[s.description&&s.description.length?"btn-success":"btn-outline-muted"],staticStyle:{"font-size":"13px"},on:{click:function(e){return e.preventDefault(),t.handleAddAltText(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.description&&s.description.length?"Edit Alt Text":"Add Alt Text")+"\n\t\t\t\t\t\t\t")]),t._v(" "),t.fields.media&&t.fields.media.length>1?e("div",{staticClass:"btn-group"},[e("a",{staticClass:"btn btn-outline-secondary btn-sm",class:{disabled:0===i},attrs:{href:"#",disabled:0===i},on:{click:function(e){return e.preventDefault(),t.toggleMediaOrder("prev",i)}}},[e("i",{staticClass:"fas fa-arrow-alt-up"})]),t._v(" "),e("a",{staticClass:"btn btn-outline-secondary btn-sm",class:{disabled:i===t.fields.media.length-1},attrs:{href:"#",disabled:i===t.fields.media.length-1},on:{click:function(e){return e.preventDefault(),t.toggleMediaOrder("next",i)}}},[e("i",{staticClass:"fas fa-arrow-alt-down"})])]):t._e(),t._v(" "),t.fields.media&&t.fields.media.length&&t.fields.media.length>1?e("button",{staticClass:"btn btn-outline-danger btn-sm",on:{click:function(e){return e.preventDefault(),t.removeMedia(i)}}},[e("i",{staticClass:"far fa-trash-alt"})]):t._e()],2),t._v(" "),e("transition",{attrs:{name:"slide-fade"}},[t.altTextEditIndex===i?[e("div",{staticClass:"form-group mt-1"},[e("label",{staticClass:"font-weight-bold small"},[t._v("Alt Text")]),t._v(" "),e("b-form-textarea",{attrs:{placeholder:"Describe your image for the visually impaired...",rows:"3","max-rows":"6"},on:{input:function(e){return t.handleAltTextUpdate(i)}},model:{value:s.description,callback:function(e){t.$set(s,"description",e)},expression:"media.description"}}),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("a",{staticClass:"font-weight-bold small text-muted",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.altTextEditIndex=void 0}}},[t._v("Close")]),t._v(" "),e("p",{staticClass:"help-text small mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.fields.media[i].description?t.fields.media[i].description.length:0)+"/"+t._s(t.config.uploader.max_altext_length)+"\n\t\t\t\t\t\t\t\t\t\t")])])],1)]:t._e()],2)],1)})),0)]:3===t.tabIndex?[e("p",{staticClass:"font-weight-bold small"},[t._v("Location")]),t._v(" "),e("autocomplete",{attrs:{search:t.locationSearch,placeholder:"Search locations ...","aria-label":"Search locations ...","get-result-value":t.getResultValue},on:{submit:t.onSubmitLocation}}),t._v(" "),t.fields.location&&t.fields.location.hasOwnProperty("id")?e("div",{staticClass:"mt-3 border rounded p-3 d-flex justify-content-between"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.fields.location.name)+", "+t._s(t.fields.location.country)+"\n\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link text-danger m-0 p-0",on:{click:function(e){return e.preventDefault(),t.clearLocation.apply(null,arguments)}}},[e("i",{staticClass:"far fa-trash"})])]):t._e()]:t._e()],2)],1):t._e()],1)},a=[]},44516:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[t.isReblog?e("div",{staticClass:"card-header bg-light border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center",staticStyle:{height:"10px"}},[e("a",{staticClass:"mx-2",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[e("img",{staticStyle:{"border-radius":"10px"},attrs:{src:t.reblogAccount.avatar,width:"24",height:"24",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticStyle:{"font-size":"12px","font-weight":"bold"}},[e("i",{staticClass:"far fa-retweet text-warning mr-1"}),t._v(" Reblogged by "),e("a",{staticClass:"text-dark",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[t._v("@"+t._s(t.reblogAccount.acct))])])])]):t._e(),t._v(" "),e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n "+t._s(t.status.account.acct)+"\n ")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n "+t._s(t.timeago(t.status.created_at))+"\n ")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)])},a=[]},51992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},a=[]},16331:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},a=[]},66295:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"sharesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,i){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===i?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},a=[]},53577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}})]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},a=[]},55201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},a=[]},75274:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/groups/feed"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-layer-group"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.groups"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},a=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},75125:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"story-carousel-component"},[t.canShow?e("div",{staticClass:"d-flex story-carousel-component-wrapper",staticStyle:{"overflow-y":"auto","z-index":"3"}},[e("a",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 text-dark text-decoration-none",staticStyle:{"max-width":"120px"},attrs:{href:"/i/stories/new"}},[t.selfStory&&t.selfStory.length?[e("div",{staticClass:"story-wrapper text-white shadow-sm mb-3",staticStyle:{width:"100%",height:"200px","border-radius":"15px"},style:{background:"linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.4)), url(".concat(t.selfStory[0].latest.preview_url,")"),backgroundSize:"cover",backgroundPosition:"center"}},[t._m(0)])]:[e("div",{staticClass:"story-wrapper text-white shadow-sm d-flex flex-column align-items-center justify-content-between",staticStyle:{width:"100%",height:"200px","border-radius":"15px"}},[e("p",{staticClass:"mb-4"}),t._v(" "),t._m(1),t._v(" "),e("p",{staticClass:"font-weight-bold"},[t._v(t._s(t.$t("story.add")))])])]],2),t._v(" "),t._l(t.stories,(function(s,i){return e("div",{staticClass:"col-4 col-lg-3 col-xl-2 px-1",staticStyle:{"max-width":"120px"}},[s.hasOwnProperty("url")?[e("a",{staticClass:"story",attrs:{href:s.url}},[s.latest&&"photo"==s.latest.type?e("div",{staticClass:"shadow-sm story-wrapper",class:{seen:s.seen},style:{background:"linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.4)), url(".concat(s.latest.preview_url,")"),backgroundSize:"cover",backgroundPosition:"center"}},[e("div",{staticClass:"story-wrapper-blur",staticStyle:{display:"block",width:"100%",height:"100%",position:"relative"}},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"},[e("img",{staticClass:"avatar",attrs:{src:s.avatar,width:"30",height:"30",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t\t")])])])]):e("div",{staticClass:"shadow-sm story-wrapper"},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"},[e("img",{staticClass:"avatar",attrs:{src:s.avatar,width:"30",height:"30"}})]),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t")])])])])]:[e("div",{staticClass:"story shadow-sm story-wrapper seen",style:{background:"linear-gradient(rgba(0,0,0,0.01),rgba(0,0,0,0.04))"}},[t._m(2,!0)])]],2)})),t._v(" "),t.selfStory&&t.selfStory.length&&t.stories.length<2?t._l(5,(function(s){return e("div",{staticClass:"col-4 col-lg-3 col-xl-2 px-1 story",staticStyle:{"max-width":"120px"}},[e("div",{staticClass:"shadow-sm story-wrapper seen",style:{background:"linear-gradient(rgba(0,0,0,0.01),rgba(0,0,0,0.04))"}},[t._m(3,!0)])])})):t._e()],2):t._e()])},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"story-wrapper-blur d-flex flex-column align-items-center justify-content-between",staticStyle:{display:"block",width:"100%",height:"100%"}},[e("p",{staticClass:"mb-4"}),t._v(" "),e("p",{staticClass:"mb-0"},[e("i",{staticClass:"fal fa-plus-circle fa-2x"})]),t._v(" "),e("p",{staticClass:"font-weight-bold"},[t._v("My Story")])])},function(){var t=this._self._c;return t("p",{staticClass:"mb-0"},[t("i",{staticClass:"fal fa-plus-circle fa-2x"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"story-wrapper-blur",staticStyle:{display:"block",width:"100%",height:"100%",position:"relative"}},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"}),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"})])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"story-wrapper-blur",staticStyle:{display:"block",width:"100%",height:"100%",position:"relative"}},[e("div",{staticClass:"px-2",staticStyle:{display:"block",width:"100%",bottom:"0",position:"absolute"}},[e("p",{staticClass:"mt-3 mb-0"}),t._v(" "),e("p",{staticClass:"mb-0"}),t._v(" "),e("p",{staticClass:"username font-weight-bold small text-truncate"})])])}]},21146:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n Sensitive Content\n ")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n "+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n ")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):[t.shouldPlay?[t.hasHls?e("video",{ref:"video",class:{fixedHeight:t.fixedHeight},staticStyle:{margin:"0"},attrs:{playsinline:"","webkit-playsinline":"",controls:"",autoplay:"false",poster:t.getPoster(t.status)}}):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{autoplay:"false",playsinline:"","webkit-playsinline":"",controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:e("div",{staticClass:"content-label-wrapper",style:{background:"linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.8)),url(".concat(t.getPoster(t.status),")"),backgroundSize:"cover"}},[e("div",{staticClass:"text-light content-label"},[e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-link btn-block btn-sm font-weight-bold",on:{click:function(e){return e.preventDefault(),t.handleShouldPlay.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-play fa-5x text-white"})])])])])]],2)},a=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},18865:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"notifications-component"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[e("div",{staticClass:"card-body pb-0"},[e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?e("div",[e("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[e("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?e("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[e("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?e("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),e("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(s,i){return e("div",{staticClass:"mb-2"},[e("div",{staticClass:"media align-items-center"},["autospam.warning"===s.type?e("img",{staticClass:"mr-2 rounded-circle shadow-sm p-1",staticStyle:{border:"2px solid var(--danger)"},attrs:{src:"/img/pixelfed-icon-color.svg",width:"32",height:"32"}}):e("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:s.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),e("div",{staticClass:"media-body font-weight-light small"},["favourite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),s.status&&s.status.hasOwnProperty("media_attachments")?e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status),id:"fvn-"+s.id},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),e("b-popover",{attrs:{target:"fvn-"+s.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(s),width:"100px",height:"100px"}})])],1):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"autospam.warning"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour recent "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(" has been unlisted.\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mt-n1 mb-0"},[e("span",{staticClass:"small text-muted"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showAutospamInfo(s.status)}}},[t._v("Click here")]),t._v(" for more info.")])])]):"comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" reacted to your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/i/web/direct/thread/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/i/web/direct/thread/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" shared your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(t.truncate(s.account.username)))]),t._v(" updated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" tagged you in a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" sent a "),e("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+s.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" invited you to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url+"/invite/claim",title:s.group.name}},[t._v(t._s(s.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:s.created_at}},[t._v(t._s(t.timeAgo(s.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?e("div",[e("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):e("div",[t.hasLoaded&&t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}})],1):e("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):e("div",{staticClass:"notifications-component-feed"},[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},a=[]},50442:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-section-component"},[t.isLoaded?e("div",[e("transition",{attrs:{name:"fade"}},[t.showReblogBanner&&"home"===t.getScope()?e("div",{staticClass:"card bg-g-amin card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"d-flex justify-content-around align-items-center"},[e("div",{staticClass:"flex-grow-1 ft-std"},[e("h2",{staticClass:"font-weight-bold text-white mb-0"},[t._v("Introducing Reblogs in feeds")]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"lead text-white mb-0"},[t._v("\n See reblogs from accounts you follow in your home feed!\n ")]),t._v(" "),e("p",{staticClass:"text-white small mb-1",staticStyle:{opacity:"0.6"}},[t._v("\n You can disable reblogs in feeds on the Timeline Settings page.\n ")]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex"},[e("button",{staticClass:"btn btn-light rounded-pill font-weight-bold btn-block mr-2",on:{click:function(e){return e.preventDefault(),t.enableReblogs()}}},[t.enablingReblogs?e("b-spinner",{attrs:{small:""}}):[t._v("Show reblogs in home feed")]],2),t._v(" "),e("button",{staticClass:"btn btn-outline-light rounded-pill font-weight-bold px-5",on:{click:function(e){return e.preventDefault(),t.hideReblogs()}}},[t._v("Hide")])])])])]):t._e()]),t._v(" "),t._l(t.feed,(function(s,i){return e("status",{key:"pf_feed:"+s.id+":idx:"+i+":fui:"+t.forceUpdateIdx,attrs:{status:s,profile:t.profile},on:{like:function(e){return t.likeStatus(i)},unlike:function(e){return t.unlikeStatus(i)},share:function(e){return t.shareStatus(i)},unshare:function(e){return t.unshareStatus(i)},menu:function(e){return t.openContextMenu(i)},"counter-change":function(e){return t.counterChange(i,e)},"likes-modal":function(e){return t.openLikesModal(i)},"shares-modal":function(e){return t.openSharesModal(i)},follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport,bookmark:function(e){return t.handleBookmark(i)},"mod-tools":function(e){return t.handleModTools(i)}}})})),t._v(" "),t.showLoadMore?e("div",{staticClass:"text-center"},[e("button",{staticClass:"btn btn-primary rounded-pill font-weight-bold",on:{click:t.tryToLoadMore}},[t._v("\n Load more\n ")])]):t._e(),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e(),t._v(" "),!t.isLoaded&&t.feed.length&&t.endFeedReached?e("div",{staticStyle:{"margin-bottom":"50vh"}},[t._m(0)]):t._e(),t._v(" "),"home"!=t.scope||t.feed.length?t._e():e("timeline-onboarding",{attrs:{profile:t.profile},on:{"update-profile":t.updateProfile}}),t._v(" "),t.isLoaded&&"home"!==t.scope&&!t.feed.length?e("empty-timeline"):t._e()],2):e("div",[e("status-placeholder"),t._v(" "),e("status-placeholder"),t._v(" "),e("status-placeholder"),t._v(" "),e("status-placeholder")],1),t._v(" "),t.showMenu?e("context-menu",{ref:"contextMenu",attrs:{status:t.feed[t.postIndex],profile:t.profile},on:{moderate:t.commitModeration,delete:t.deletePost,"report-modal":t.handleReport,edit:t.handleEdit,muted:t.handleMuted,unfollow:t.handleUnfollow}}):t._e(),t._v(" "),t.showLikesModal?e("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.profile}}):t._e(),t._v(" "),t.showSharesModal?e("shares-modal",{ref:"sharesModal",attrs:{status:t.sharesModalPost,profile:t.profile}}):t._e(),t._v(" "),e("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}}),t._v(" "),e("post-edit-modal",{ref:"editModal",on:{update:t.mergeUpdatedPost}})],1)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("p",{staticClass:"display-4 text-center"},[t._v("✨")]),t._v(" "),e("p",{staticClass:"lead mb-0 text-center"},[t._v("You have reached the end of this feed")])])}]},35934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".avatar[data-v-4f12f988]{border-radius:15px}.username[data-v-4f12f988]{margin-bottom:-6px}.btn-white[data-v-4f12f988]{background-color:#fff;border:1px solid #f3f4f6}.sidebar[data-v-4f12f988]{top:90px}",""]);const o=a},35296:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),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 .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const o=a},35518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const o=a},8183:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".timeline-onboarding .profile-hover-card-inner{width:100%}.timeline-onboarding .profile-hover-card-inner .d-flex{max-width:100%!important}",""]);const o=a},34857:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),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;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const o=a},26689:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".menu-option[data-v-be1fd05a]{color:var(--dark);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;text-decoration:none}.list-group-item[data-v-be1fd05a]{border-color:var(--border-color)}.action-icon-link[data-v-be1fd05a]{display:flex;flex-direction:column}.action-icon-link .icon[data-v-be1fd05a]{margin-bottom:5px;opacity:.5}.action-icon-link p[data-v-be1fd05a]{font-size:11px;font-weight:600}.action-icon-link-inline[data-v-be1fd05a]{align-items:center;display:flex;flex-direction:row;gap:8px;justify-content:center}.action-icon-link-inline p[data-v-be1fd05a]{font-weight:700}",""]);const o=a},49777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const o=a},11366:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,"div[data-v-1be4e9aa],p[data-v-1be4e9aa]{font-family:var(--font-family-sans-serif)}.nav-link[data-v-1be4e9aa]{color:var(--text-lighter);font-size:13px;font-weight:600}.nav-link.active[data-v-1be4e9aa]{color:var(--primary);font-weight:800}.slide-fade-enter-active[data-v-1be4e9aa]{transition:all .5s ease}.slide-fade-leave-active[data-v-1be4e9aa]{transition:all .2s cubic-bezier(.5,1,.6,1)}.slide-fade-enter[data-v-1be4e9aa],.slide-fade-leave-to[data-v-1be4e9aa]{opacity:0;transform:translateY(20px)}",""]);const o=a},93100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),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:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const o=a},15822:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const o=a},14185:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const o=a},42160:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".story-carousel-component-wrapper{-ms-overflow-style:none;scrollbar-width:none}.story-carousel-component-wrapper::-webkit-scrollbar{width:0!important}.story-carousel-component .story-wrapper{background:#b24592;background:linear-gradient(90deg,#b24592,#f15f79);border:1px solid var(--border-color);border-radius:15px;display:block;height:200px;margin-bottom:1rem;overflow:hidden;position:relative;width:100%}.story-carousel-component .story-wrapper .username{color:#fff}.story-carousel-component .story-wrapper .avatar{border-radius:6px;margin-bottom:5px}.story-carousel-component .story-wrapper.seen{opacity:30%}.story-carousel-component .story-wrapper-blur{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:rgba(0,0,0,.2);border-radius:15px;overflow:hidden}.force-dark-mode .story-wrapper.seen{background:linear-gradient(hsla(0,0%,100%,.12),hsla(0,0%,100%,.14))!important;opacity:50%}",""]);const o=a},91748:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const o=a},99093:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(35934),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},209:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(35296),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},96259:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(35518),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},52820:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(8183),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},48432:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(34857),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},54328:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(26689),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},22626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(49777),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},37339:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(11366),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},67621:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(93100),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},82851:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(15822),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},89598:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(14185),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},28541:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(42160),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},53639:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),o=s(91748),n={insert:"head",singleton:!1};a()(o.default,n);const r=o.default.locals||{}},75050:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(19106),a=s(40069),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(72804);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,"4f12f988",null).exports},58741:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(17310);const a=(0,s(14486).default)({},i.render,i.staticRenderFns,!1,null,null,null).exports},35547:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(59028),a=s(52548),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(86546);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},5787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(16286),a=s(80260),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(68840);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},13090:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(54229),a=s(13514),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},90414:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(82704),a=s(55597),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},30229:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(57352);const a=(0,s(14486).default)({},i.render,i.staticRenderFns,!1,null,null,null).exports},71687:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(24871),a=s(11308),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},35719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(305),a=s(88988),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(36281);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},20243:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(34727),a=s(88012),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(21883);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},72028:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(46098),a=s(93843),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},19138:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(44982),a=s(43509),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},57103:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(56765),a=s(64672),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(74811);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,"be1fd05a",null).exports},49986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(32785),a=s(79577),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(67011);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},29787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(68329);const a=(0,s(14486).default)({},i.render,i.staticRenderFns,!1,null,null,null).exports},59515:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(4607),a=s(38972),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},79110:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(74259),a=s(99369),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},67578:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(9918),a=s(97105),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(79040);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,"1be4e9aa",null).exports},84800:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(43047),a=s(6119),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},27821:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(99421),a=s(28934),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},50294:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(95728),a=s(33417),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},99681:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(9836),a=s(22350),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},34719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(38888),a=s(42260),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(88814);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},59993:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(60848),a=s(88626),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(74148);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,"c5fe4fd2",null).exports},28772:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(54017),a=s(75223),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(99387);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},88153:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(92020),a=s(70729),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(13418);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},75938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(86943),a=s(42909),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},76830:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(65358),a=s(93953),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);s(85082);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},67051:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(36327),a=s(70232),o={};for(const t in a)"default"!==t&&(o[t]=()=>a[t]);s.d(e,o);const n=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},40069:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(27836),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},52548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(56987),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},80260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(50371),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},13514:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(25054),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},55597:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(84154),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},11308:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(51651),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},88988:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(51073),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},88012:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(3211),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},93843:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(24758),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},43509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(85100),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},64672:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(49415),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},79577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(37844),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},38972:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(67975),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},99369:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(61746),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},97105:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(26030),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},6119:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(22434),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},28934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(99397),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},33417:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(6140),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},22350:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(85679),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},42260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(3223),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},88626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(28413),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},75223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(79318),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},70729:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(44813),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},42909:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(68910),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},93953:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(91360),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},70232:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(29927),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const o=i.default},19106:(t,e,s)=>{"use strict";s.r(e);var i=s(47561),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},17310:(t,e,s)=>{"use strict";s.r(e);var i=s(24853),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},59028:(t,e,s)=>{"use strict";s.r(e);var i=s(70201),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},16286:(t,e,s)=>{"use strict";s.r(e);var i=s(69831),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},54229:(t,e,s)=>{"use strict";s.r(e);var i=s(82960),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},82704:(t,e,s)=>{"use strict";s.r(e);var i=s(67153),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},57352:(t,e,s)=>{"use strict";s.r(e);var i=s(65069),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},24871:(t,e,s)=>{"use strict";s.r(e);var i=s(11526),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},305:(t,e,s)=>{"use strict";s.r(e);var i=s(84870),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},34727:(t,e,s)=>{"use strict";s.r(e);var i=s(55318),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},46098:(t,e,s)=>{"use strict";s.r(e);var i=s(54309),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},44982:(t,e,s)=>{"use strict";s.r(e);var i=s(82285),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},56765:(t,e,s)=>{"use strict";s.r(e);var i=s(4215),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},32785:(t,e,s)=>{"use strict";s.r(e);var i=s(27934),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},68329:(t,e,s)=>{"use strict";s.r(e);var i=s(7971),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},4607:(t,e,s)=>{"use strict";s.r(e);var i=s(92162),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},74259:(t,e,s)=>{"use strict";s.r(e);var i=s(64394),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},9918:(t,e,s)=>{"use strict";s.r(e);var i=s(12191),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},43047:(t,e,s)=>{"use strict";s.r(e);var i=s(44516),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},99421:(t,e,s)=>{"use strict";s.r(e);var i=s(51992),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},95728:(t,e,s)=>{"use strict";s.r(e);var i=s(16331),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},9836:(t,e,s)=>{"use strict";s.r(e);var i=s(66295),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},38888:(t,e,s)=>{"use strict";s.r(e);var i=s(53577),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},60848:(t,e,s)=>{"use strict";s.r(e);var i=s(55201),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},54017:(t,e,s)=>{"use strict";s.r(e);var i=s(75274),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},92020:(t,e,s)=>{"use strict";s.r(e);var i=s(75125),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},86943:(t,e,s)=>{"use strict";s.r(e);var i=s(21146),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},65358:(t,e,s)=>{"use strict";s.r(e);var i=s(18865),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},36327:(t,e,s)=>{"use strict";s.r(e);var i=s(50442),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},72804:(t,e,s)=>{"use strict";s.r(e);var i=s(99093),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},86546:(t,e,s)=>{"use strict";s.r(e);var i=s(209),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},68840:(t,e,s)=>{"use strict";s.r(e);var i=s(96259),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},36281:(t,e,s)=>{"use strict";s.r(e);var i=s(52820),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},21883:(t,e,s)=>{"use strict";s.r(e);var i=s(48432),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},74811:(t,e,s)=>{"use strict";s.r(e);var i=s(54328),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},67011:(t,e,s)=>{"use strict";s.r(e);var i=s(22626),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},79040:(t,e,s)=>{"use strict";s.r(e);var i=s(37339),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},88814:(t,e,s)=>{"use strict";s.r(e);var i=s(67621),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},74148:(t,e,s)=>{"use strict";s.r(e);var i=s(82851),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},99387:(t,e,s)=>{"use strict";s.r(e);var i=s(89598),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},13418:(t,e,s)=>{"use strict";s.r(e);var i=s(28541),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},85082:(t,e,s)=>{"use strict";s.r(e);var i=s(53639),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},11220:()=>{},16052:()=>{},40295:()=>{},89858:()=>{},45187:()=>{},87919:()=>{},40264:()=>{},80434:()=>{},18053:()=>{}}]); \ No newline at end of file diff --git a/public/js/home.chunk.8bbc3c5c38dde66d.js.LICENSE.txt b/public/js/home.chunk.db29292541125db4.js.LICENSE.txt similarity index 100% rename from public/js/home.chunk.8bbc3c5c38dde66d.js.LICENSE.txt rename to public/js/home.chunk.db29292541125db4.js.LICENSE.txt diff --git a/public/js/i18n.bundle.28bba3e12cdadf51.js b/public/js/i18n.bundle.11814756f6bbd153.js similarity index 61% rename from public/js/i18n.bundle.28bba3e12cdadf51.js rename to public/js/i18n.bundle.11814756f6bbd153.js index f3028771e..db7ce30e9 100644 --- a/public/js/i18n.bundle.28bba3e12cdadf51.js +++ b/public/js/i18n.bundle.11814756f6bbd153.js @@ -1 +1 @@ -"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[8119],{64875:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(5787),r=e(28772);const i={components:{drawer:s.default,sidebar:r.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 a=this;axios.post("/api/pixelfed/web/change-language.json",{v:.1,l:t}).then((function(e){a.$i18n.locale=t}))}}}},50371:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={data:function(){return{user:window._sharedData.user}}}},84154:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,a=event.target.files;Array.prototype.forEach.call(a,(function(a,e){t.avatarUpdateFile=a,t.avatarUpdatePreview=URL.createObjectURL(a),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var a=this;if(t.dataTransfer.items){for(var e=0;e{e.r(a),e.d(a,{default:()=>l});var s=e(95353),r=e(90414);function i(t){return i="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},i(t)}function n(t,a){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);a&&(s=s.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),e.push.apply(e,s)}return e}function o(t,a,e){var s;return s=function(t,a){if("object"!=i(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var s=e.call(t,a||"default");if("object"!=i(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(t)}(a,"string"),(a="symbol"==i(s)?s:s+"")in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,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:{UpdateAvatar:r.default},computed:function(t){for(var a=1;a)?/g,(function(a){var e=a.slice(1,a.length-1),s=t.getCustomEmoji.filter((function(t){return t.shortcode==e}));return s.length?''.concat(s[0].shortcode,''):a}))}return e},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(a,{notation:e,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var a=this.$route.path;switch(t){case"home":"/i/web"==a?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==a?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==a?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},92898:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>r});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"web-wrapper"},[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-6"},[t._m(0),t._v(" "),a("div",{staticClass:"card shadow-sm mb-3"},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"locale-changer form-group"},[a("label",[t._v("Language")]),t._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:t.locale,expression:"locale"}],staticClass:"form-control",on:{change:function(a){var e=Array.prototype.filter.call(a.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.locale=a.target.multiple?e:e[0]}}},t._l(t.langs,(function(e,s){return a("option",{key:"Lang".concat(s),domProps:{value:e}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.fullName(e))+"\n\t\t\t\t\t\t\t\t\t"),t.fullName(e)!=t.localeName(e)?[t._v(" · "+t._s(t.localeName(e)))]:t._e()],2)})),0)])])])])])]):t._e(),t._v(" "),a("drawer")],1)},r=[function(){var t=this._self._c;return t("div",{staticClass:"jumbotron shadow-sm bg-white"},[t("div",{staticClass:"text-center"},[t("h1",{staticClass:"font-weight-bold mb-0"},[this._v("Language")])])])}]},69831:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>r});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"app-drawer-component"},[a("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),a("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[a("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[a("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[a("p",[a("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Home")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[a("p",[a("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Local")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[a("p",[a("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("New")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[a("p",[a("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Alerts")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[a("p",[a("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Profile")])])])],1)])])])])},r=[]},67153:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>r});var s=function(){var t=this,a=t._self._c;return a("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[a("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(a){return t.handleAvatarUpdate()}}}),t._v(" "),a("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?a("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(a){return t.avatarUpdateStep(0)}}},[a("p",{staticClass:"text-center primary"},[a("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),a("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),a("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),a("strong",[t._v("png")]),t._v(" or "),a("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?a("div",{staticClass:"w-100 p-5"},[a("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[a("div",{staticClass:"text-center mb-4"},[a("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),a("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),a("div",{staticClass:"text-center mb-4"},[a("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),a("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),a("hr"),t._v(" "),a("div",{staticClass:"d-flex justify-content-between"},[a("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(a){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),a("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(a){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},r=[]},67725:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>r});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[a("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[a("div",{staticClass:"card-body p-2"},[a("div",{staticClass:"media user-card user-select-none"},[a("div",{staticStyle:{position:"relative"}},[a("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(a){return t.gotoMyProfile()}}}),t._v(" "),a("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(a){return t.updateAvatar()}}},[a("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),a("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),a("p",{staticClass:"stats"},[a("span",{staticClass:"stats-following"},[a("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),a("span",{staticClass:"stats-followers"},[a("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),a("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[a("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[a("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),a("div",{staticClass:"dropdown-menu dropdown-menu-right"},[a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),a("div",{staticClass:"dropdown-divider"}),t._v(" "),a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),a("div",{staticClass:"sidebar-sticky shadow-sm"},[a("ul",{staticClass:"nav flex-column"},[a("li",{staticClass:"nav-item"},[a("div",{staticClass:"d-flex justify-content-between align-items-center"},[a("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(a){return a.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?a("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(a){return a.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?a("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(a){return a.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),a("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),a("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[a("router-link",{attrs:{to:"/i/web/language"}},[a("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),a("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),a("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},r=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},35518:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(76798),r=e.n(s)()((function(t){return t[1]}));r.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const i=r},54788:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(76798),r=e.n(s)()((function(t){return t[1]}));r.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const i=r},96259:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(85072),r=e.n(s),i=e(35518),n={insert:"head",singleton:!1};r()(i.default,n);const o=i.default.locals||{}},5323:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(85072),r=e.n(s),i=e(54788),n={insert:"head",singleton:!1};r()(i.default,n);const o=i.default.locals||{}},55545:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(74377),r=e(27254),i={};for(const t in r)"default"!==t&&(i[t]=()=>r[t]);e.d(a,i);const n=(0,e(14486).default)(r.default,s.render,s.staticRenderFns,!1,null,null,null).exports},5787:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(16286),r=e(80260),i={};for(const t in r)"default"!==t&&(i[t]=()=>r[t]);e.d(a,i);e(68840);const n=(0,e(14486).default)(r.default,s.render,s.staticRenderFns,!1,null,null,null).exports},90414:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(82704),r=e(55597),i={};for(const t in r)"default"!==t&&(i[t]=()=>r[t]);e.d(a,i);const n=(0,e(14486).default)(r.default,s.render,s.staticRenderFns,!1,null,null,null).exports},28772:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(75754),r=e(75223),i={};for(const t in r)"default"!==t&&(i[t]=()=>r[t]);e.d(a,i);e(68338);const n=(0,e(14486).default)(r.default,s.render,s.staticRenderFns,!1,null,null,null).exports},27254:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(64875),r={};for(const t in s)"default"!==t&&(r[t]=()=>s[t]);e.d(a,r);const i=s.default},80260:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(50371),r={};for(const t in s)"default"!==t&&(r[t]=()=>s[t]);e.d(a,r);const i=s.default},55597:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(84154),r={};for(const t in s)"default"!==t&&(r[t]=()=>s[t]);e.d(a,r);const i=s.default},75223:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(79318),r={};for(const t in s)"default"!==t&&(r[t]=()=>s[t]);e.d(a,r);const i=s.default},74377:(t,a,e)=>{e.r(a);var s=e(92898),r={};for(const t in s)"default"!==t&&(r[t]=()=>s[t]);e.d(a,r)},16286:(t,a,e)=>{e.r(a);var s=e(69831),r={};for(const t in s)"default"!==t&&(r[t]=()=>s[t]);e.d(a,r)},82704:(t,a,e)=>{e.r(a);var s=e(67153),r={};for(const t in s)"default"!==t&&(r[t]=()=>s[t]);e.d(a,r)},75754:(t,a,e)=>{e.r(a);var s=e(67725),r={};for(const t in s)"default"!==t&&(r[t]=()=>s[t]);e.d(a,r)},68840:(t,a,e)=>{e.r(a);var s=e(96259),r={};for(const t in s)"default"!==t&&(r[t]=()=>s[t]);e.d(a,r)},68338:(t,a,e)=>{e.r(a);var s=e(5323),r={};for(const t in s)"default"!==t&&(r[t]=()=>s[t]);e.d(a,r)}}]); \ No newline at end of file +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[8119],{64875:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(5787),r=e(28772);const i={components:{drawer:s.default,sidebar:r.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 a=this;axios.post("/api/pixelfed/web/change-language.json",{v:.1,l:t}).then((function(e){a.$i18n.locale=t}))}}}},50371:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={data:function(){return{user:window._sharedData.user}}}},84154:(t,a,e)=>{e.r(a),e.d(a,{default:()=>s});const s={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,a=event.target.files;Array.prototype.forEach.call(a,(function(a,e){t.avatarUpdateFile=a,t.avatarUpdatePreview=URL.createObjectURL(a),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var a=this;if(t.dataTransfer.items){for(var e=0;e{e.r(a),e.d(a,{default:()=>l});var s=e(95353),r=e(90414);function i(t){return i="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},i(t)}function n(t,a){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);a&&(s=s.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),e.push.apply(e,s)}return e}function o(t,a,e){var s;return s=function(t,a){if("object"!=i(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var s=e.call(t,a||"default");if("object"!=i(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(t)}(a,"string"),(a="symbol"==i(s)?s:s+"")in t?Object.defineProperty(t,a,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[a]=e,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:{UpdateAvatar:r.default},computed:function(t){for(var a=1;a)?/g,(function(a){var e=a.slice(1,a.length-1),s=t.getCustomEmoji.filter((function(t){return t.shortcode==e}));return s.length?''.concat(s[0].shortcode,''):a}))}return e},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(a,{notation:e,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var a=this.$route.path;switch(t){case"home":"/i/web"==a?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==a?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==a?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},92898:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>r});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"web-wrapper"},[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-6"},[t._m(0),t._v(" "),a("div",{staticClass:"card shadow-sm mb-3"},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"locale-changer form-group"},[a("label",[t._v("Language")]),t._v(" "),a("select",{directives:[{name:"model",rawName:"v-model",value:t.locale,expression:"locale"}],staticClass:"form-control",on:{change:function(a){var e=Array.prototype.filter.call(a.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.locale=a.target.multiple?e:e[0]}}},t._l(t.langs,(function(e,s){return a("option",{key:"Lang".concat(s),domProps:{value:e}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.fullName(e))+"\n\t\t\t\t\t\t\t\t\t"),t.fullName(e)!=t.localeName(e)?[t._v(" · "+t._s(t.localeName(e)))]:t._e()],2)})),0)])])])])])]):t._e(),t._v(" "),a("drawer")],1)},r=[function(){var t=this._self._c;return t("div",{staticClass:"jumbotron shadow-sm bg-white"},[t("div",{staticClass:"text-center"},[t("h1",{staticClass:"font-weight-bold mb-0"},[this._v("Language")])])])}]},69831:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>r});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"app-drawer-component"},[a("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),a("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[a("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[a("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[a("p",[a("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Home")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[a("p",[a("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Local")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[a("p",[a("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("New")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[a("p",[a("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Alerts")])])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[a("p",[a("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),a("p",{staticClass:"nav-link-label"},[a("span",[t._v("Profile")])])])],1)])])])])},r=[]},67153:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>r});var s=function(){var t=this,a=t._self._c;return a("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[a("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(a){return t.handleAvatarUpdate()}}}),t._v(" "),a("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?a("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(a){return t.avatarUpdateStep(0)}}},[a("p",{staticClass:"text-center primary"},[a("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),a("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),a("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),a("strong",[t._v("png")]),t._v(" or "),a("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?a("div",{staticClass:"w-100 p-5"},[a("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[a("div",{staticClass:"text-center mb-4"},[a("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),a("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),a("div",{staticClass:"text-center mb-4"},[a("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),a("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),a("hr"),t._v(" "),a("div",{staticClass:"d-flex justify-content-between"},[a("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(a){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),a("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(a){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},r=[]},75274:(t,a,e)=>{e.r(a),e.d(a,{render:()=>s,staticRenderFns:()=>r});var s=function(){var t=this,a=t._self._c;return a("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[a("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[a("div",{staticClass:"card-body p-2"},[a("div",{staticClass:"media user-card user-select-none"},[a("div",{staticStyle:{position:"relative"}},[a("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(a){return t.gotoMyProfile()}}}),t._v(" "),a("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(a){return t.updateAvatar()}}},[a("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),a("div",{staticClass:"media-body"},[a("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),a("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),a("p",{staticClass:"stats"},[a("span",{staticClass:"stats-following"},[a("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),a("span",{staticClass:"stats-followers"},[a("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),a("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[a("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[a("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),a("div",{staticClass:"dropdown-menu dropdown-menu-right"},[a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),a("div",{staticClass:"dropdown-divider"}),t._v(" "),a("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),a("div",{staticClass:"sidebar-sticky shadow-sm"},[a("ul",{staticClass:"nav flex-column"},[a("li",{staticClass:"nav-item"},[a("div",{staticClass:"d-flex justify-content-between align-items-center"},[a("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(a){return a.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?a("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(a){return a.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?a("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(a){return a.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),a("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),a("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link",attrs:{to:"/groups/feed"}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-layer-group"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.groups"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.hasLiveStreams?a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),a("li",{staticClass:"nav-item"},[a("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[a("span",[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[a("span",{staticClass:"icon text-lighter"},[a("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),a("li",{staticClass:"nav-item"},[a("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),a("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),a("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[a("router-link",{attrs:{to:"/i/web/language"}},[a("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),a("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),a("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),a("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},r=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},35518:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(76798),r=e.n(s)()((function(t){return t[1]}));r.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const i=r},14185:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(76798),r=e.n(s)()((function(t){return t[1]}));r.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const i=r},96259:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(85072),r=e.n(s),i=e(35518),n={insert:"head",singleton:!1};r()(i.default,n);const o=i.default.locals||{}},89598:(t,a,e)=>{e.r(a),e.d(a,{default:()=>o});var s=e(85072),r=e.n(s),i=e(14185),n={insert:"head",singleton:!1};r()(i.default,n);const o=i.default.locals||{}},55545:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(74377),r=e(27254),i={};for(const t in r)"default"!==t&&(i[t]=()=>r[t]);e.d(a,i);const n=(0,e(14486).default)(r.default,s.render,s.staticRenderFns,!1,null,null,null).exports},5787:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(16286),r=e(80260),i={};for(const t in r)"default"!==t&&(i[t]=()=>r[t]);e.d(a,i);e(68840);const n=(0,e(14486).default)(r.default,s.render,s.staticRenderFns,!1,null,null,null).exports},90414:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(82704),r=e(55597),i={};for(const t in r)"default"!==t&&(i[t]=()=>r[t]);e.d(a,i);const n=(0,e(14486).default)(r.default,s.render,s.staticRenderFns,!1,null,null,null).exports},28772:(t,a,e)=>{e.r(a),e.d(a,{default:()=>n});var s=e(54017),r=e(75223),i={};for(const t in r)"default"!==t&&(i[t]=()=>r[t]);e.d(a,i);e(99387);const n=(0,e(14486).default)(r.default,s.render,s.staticRenderFns,!1,null,null,null).exports},27254:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(64875),r={};for(const t in s)"default"!==t&&(r[t]=()=>s[t]);e.d(a,r);const i=s.default},80260:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(50371),r={};for(const t in s)"default"!==t&&(r[t]=()=>s[t]);e.d(a,r);const i=s.default},55597:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(84154),r={};for(const t in s)"default"!==t&&(r[t]=()=>s[t]);e.d(a,r);const i=s.default},75223:(t,a,e)=>{e.r(a),e.d(a,{default:()=>i});var s=e(79318),r={};for(const t in s)"default"!==t&&(r[t]=()=>s[t]);e.d(a,r);const i=s.default},74377:(t,a,e)=>{e.r(a);var s=e(92898),r={};for(const t in s)"default"!==t&&(r[t]=()=>s[t]);e.d(a,r)},16286:(t,a,e)=>{e.r(a);var s=e(69831),r={};for(const t in s)"default"!==t&&(r[t]=()=>s[t]);e.d(a,r)},82704:(t,a,e)=>{e.r(a);var s=e(67153),r={};for(const t in s)"default"!==t&&(r[t]=()=>s[t]);e.d(a,r)},54017:(t,a,e)=>{e.r(a);var s=e(75274),r={};for(const t in s)"default"!==t&&(r[t]=()=>s[t]);e.d(a,r)},68840:(t,a,e)=>{e.r(a);var s=e(96259),r={};for(const t in s)"default"!==t&&(r[t]=()=>s[t]);e.d(a,r)},99387:(t,a,e)=>{e.r(a);var s=e(89598),r={};for(const t in s)"default"!==t&&(r[t]=()=>s[t]);e.d(a,r)}}]); \ No newline at end of file diff --git a/public/js/landing.js b/public/js/landing.js index 9c93b6e26..55cb59cc8 100644 --- a/public/js/landing.js +++ b/public/js/landing.js @@ -1,2 +1,2 @@ /*! For license information please see landing.js.LICENSE.txt */ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[3891],{75948:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>u});var a=o(77387),s=o(25100);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function n(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return r(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,a=new Array(t);o{"use strict";o.r(t),o.d(t,{default:()=>a});const a={components:{"post-card":o(42060).default},data:function(){return{loading:!0,config:window.pfl,isFetching:!1,range:"daily",ranges:["daily","monthly","yearly"],rangeIndex:0,feed:[]}},beforeMount:function(){0==this.config.show_explore_feed&&this.$router.push("/")},mounted:function(){this.init()},methods:{init:function(){var e=this;axios.get("/api/pixelfed/v2/discover/posts/trending?range=daily").then((function(t){t&&t.data.length>3?(e.feed=t.data,e.loading=!1):(e.rangeIndex++,e.fetchTrending())}))},fetchTrending:function(){var e=this;this.isFetching||this.rangeIndex>=3||(this.isFetching=!0,axios.get("/api/pixelfed/v2/discover/posts/trending",{params:{range:this.ranges[this.rangeIndex]}}).then((function(t){t&&t.data.length&&2==e.rangeIndex&&t.data.length>3?(e.feed=t.data,e.loading=!1):(e.rangeIndex++,e.isFetching=!1,e.fetchTrending())})))}}}},40245:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={data:function(){return{config:window.pfl,accordionTab:void 0}},methods:{toggleAccordion:function(e){this.accordionTab!=e?this.accordionTab=e:this.accordionTab=void 0},formatCount:function(e){return e?e.toLocaleString("en-CA",{compactDisplay:"short",notation:"compact"}):0},formatBytes:function(e){var t=["byte","kilobyte","megabyte","gigabyte","terabyte"],o=navigator.languages&&navigator.languages.length>=0?navigator.languages[0]:"en-US",a=Math.max(0,Math.min(Math.floor(Math.log(e)/Math.log(1024)),t.length-1));return Intl.NumberFormat(o,{style:"unit",unit:t[a],useGrouping:!1,maximumFractionDigits:0,roundingMode:"ceil"}).format(e/Math.pow(1024,a))}}}},53956:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={props:["post","range"],components:{"post-content":o(79110).default},methods:{timestampToAgo:function(e){var t=Date.parse(e),o=Math.floor((new Date-t)/1e3),a=Math.floor(o/63072e3);return a<0?"0s":a>=1?a+"y":(a=Math.floor(o/604800))>=1?a+"w":(a=Math.floor(o/86400))>=1?a+"d":(a=Math.floor(o/3600))>=1?a+"h":(a=Math.floor(o/60))>=1?a+"m":Math.floor(o)+"s"},timeago:function(e){var t=this.timestampToAgo(e);return t}}}},34655:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={props:["account"],methods:{formatCount:function(e){return e?e.toLocaleString("en-CA",{compactDisplay:"short",notation:"compact"}):0},truncate:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:120;return!e||e.length{"use strict";o.r(t),o.d(t,{default:()=>a});const a={data:function(){return{config:window.pfl}},methods:{getYear:function(){return(new Date).getFullYear()}}}},44943:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>s});var a=o(74692);const s={data:function(){return{config:window.pfl,name:window.pfl.name}},computed:{regLink:{get:function(){return this.config.open_registration?"/register":this.config.curated_onboarding?"/auth/sign_up":void 0}}},mounted:function(){a(window).scroll((function(){a("nav").toggleClass("bg-black",a(this).scrollTop()>20)}))}}},61746:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(18634),s=o(50294),i=o(75938);const n={props:["status"],components:{"read-more":s.default,"video-player":i.default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(e){(0,a.default)({el:e.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(e){var t=e.media_attachments[0].preview_url;if(!t.endsWith("no-preview.jpg")&&!t.endsWith("no-preview.png"))return t}}}},6140:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var e=this,t=this.status.content,o=document.createElement("div");o.innerHTML=t,o.querySelectorAll('a[class*="hashtag"]').forEach((function(e){var t=e.innerText;"#"==t.substr(0,1)&&(t=t.substr(1)),e.removeAttribute("target"),e.setAttribute("href","/i/web/hashtag/"+t)})),o.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(t){var o=t.innerText;if("@"==o.substr(0,1)&&(o=o.substr(1)),0==e.status.account.local&&!o.includes("@")){var a=document.createElement("a");a.href=t.getAttribute("href"),o=o+"@"+a.hostname}t.removeAttribute("target"),t.setAttribute("href","/i/web/username/"+o)})),this.content=o.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var e=this;this.status.emojis.forEach((function(t){var o=''.concat(t.shortcode,'');e.content=e.content.replace(":".concat(t.shortcode,":"),o)}))}}}},68910:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>r});var a=o(64945),s=(o(34076),o(34330)),i=o.n(s),n=(o(10706),o(71241));const r={props:["status","fixedHeight"],data:function(){return{shouldPlay:!1,hasHls:void 0,hlsConfig:window.App.config.features.hls,liveSyncDurationCount:7,isHlsSupported:!1,isP2PSupported:!1,engine:void 0}},mounted:function(){var e=this;this.$nextTick((function(){e.init()}))},methods:{handleShouldPlay:function(){var e=this;this.shouldPlay=!0,this.isHlsSupported=this.hlsConfig.enabled&&a.default.isSupported(),this.isP2PSupported=this.hlsConfig.enabled&&this.hlsConfig.p2p&&n.Engine.isSupported(),this.$nextTick((function(){e.init()}))},init:function(){var e,t=this;!this.status.sensitive&&null!==(e=this.status.media_attachments[0])&&void 0!==e&&e.hls_manifest&&this.isHlsSupported?(this.hasHls=!0,this.$nextTick((function(){t.initHls()}))):this.hasHls=!1},initHls:function(){var e;if(this.isP2PSupported){var t={loader:{trackerAnnounce:[this.hlsConfig.tracker],rtcConfig:{iceServers:[{urls:[this.hlsConfig.ice]}]}}},o=new n.Engine(t);this.hlsConfig.p2p_debug&&(o.on("peer_connect",(function(e){return console.log("peer_connect",e.id,e.remoteAddress)})),o.on("peer_close",(function(e){return console.log("peer_close",e)})),o.on("segment_loaded",(function(e,t){return console.log("segment_loaded from",t?"peer ".concat(t):"HTTP",e.url)}))),e=o.createLoaderClass()}else e=a.default.DefaultConfig.loader;var s=this.$refs.video,r=this.status.media_attachments[0].hls_manifest,l=(new(i())(s,{captions:{active:!0,update:!0}}),new a.default({liveSyncDurationCount:this.liveSyncDurationCount,loader:e})),c=this;(0,n.initHlsJsPlayer)(l),l.loadSource(r),l.attachMedia(s),l.on(a.default.Events.MANIFEST_PARSED,(function(e,t){this.hlsConfig.debug&&(console.log(e),console.log(t));var o={},n=l.levels.map((function(e){return e.height}));this.hlsConfig.debug&&console.log(n),n.unshift(0),o.quality={default:0,options:n,forced:!0,onChange:function(e){return c.updateQuality(e)}},o.i18n={qualityLabel:{0:"Auto"}},l.on(a.default.Events.LEVEL_SWITCHED,(function(e,t){var o=document.querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");l.autoLevelEnabled?o.innerHTML="Auto (".concat(l.levels[t.level].height,"p)"):o.innerHTML="Auto"}));new(i())(s,o)}))},updateQuality:function(e){var t=this;0===e?window.hls.currentLevel=-1:window.hls.levels.forEach((function(o,a){o.height===e&&(t.hlsConfig.debug&&console.log("Found quality match with "+e),window.hls.currentLevel=a)}))},getPoster:function(e){var t=e.media_attachments[0].preview_url;if(!t.endsWith("no-preview.jpg")&&!t.endsWith("no-preview.png"))return t}}}},78788:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={props:["status"]}},40669:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>s});var a=o(18634);const s={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(e){this.$emit("togglecw")},toggleLightbox:function(e){(0,a.default)({el:e.target,gallery:"#carousel-"+this.status.id,position:this.$refs.carousel.currentPage})},altText:function(e){var t=e.description;return t||"Photo was not tagged with any alt text."},keypressNavigation:function(e){var t=this.$refs.carousel;if("37"==e.keyCode){e.preventDefault();var o="backward";t.advancePage(o),t.$emit("navigation-click",o)}if("39"==e.keyCode){e.preventDefault();var a="forward";t.advancePage(a),t.$emit("navigation-click",a)}}}}},96504:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>s});var a=o(18634);const s={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(e){var t=e.media_attachments[0].description;return t||"Photo was not tagged with any alt text."},toggleContentWarning:function(e){this.$emit("togglecw")},toggleLightbox:function(e){(0,a.default)({el:e.target})},width:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.width)return this.status.media_attachments[0].meta.original.width},height:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.height)return this.status.media_attachments[0].meta.original.height}}}},36104:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={props:["status"]}},89379:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={props:["status"],methods:{altText:function(e){var t=e.media_attachments[0].description;return t||"Video was not tagged with any alt text."},playOrPause:function(e){var t=e.target;1==t.getAttribute("playing")?(t.removeAttribute("playing"),t.pause()):(t.setAttribute("playing",1),t.play())},toggleContentWarning:function(e){this.$emit("togglecw")},poster:function(){var e=this.status.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},94350:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"landing-directory-component"},[t("section",{staticClass:"page-wrapper"},[t("div",{staticClass:"container container-compact"},[t("div",{staticClass:"card bg-bluegray-900",staticStyle:{"border-radius":"10px"}},[t("div",{staticClass:"card-header bg-bluegray-800 nav-menu",staticStyle:{"border-top-left-radius":"10px","border-top-right-radius":"10px"}},[t("ul",{staticClass:"nav justify-content-around"},[t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:"/"}},[e._v("About")])],1),e._v(" "),e.config.show_directory?t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:"/web/directory"}},[e._v("Directory")])],1):e._e(),e._v(" "),e.config.show_explore_feed?t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:"/web/explore"}},[e._v("Explore")])],1):e._e()])]),e._v(" "),t("div",{staticClass:"card-body"},[e._m(0),e._v(" "),e.loading?t("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{"min-height":"500px"}},[t("b-spinner")],1):t("div",{staticClass:"feed-list"},[e._l(e.feed,(function(e){return t("user-card",{key:e.id,attrs:{account:e}})})),e._v(" "),e.canLoadMore&&!e.isEmpty?t("intersect",{on:{enter:e.enterIntersect}},[t("div",{staticClass:"d-flex justify-content-center pt-5 pb-3"},[e.isLoadingMore?t("b-spinner"):e._e()],1)]):e._e()],2),e._v(" "),e.isEmpty?t("div",[e._m(1)]):e._e()])])]),e._v(" "),t("footer-component")],1)])},s=[function(){var e=this._self._c;return e("div",{staticClass:"py-3"},[e("p",{staticClass:"lead text-center"},[this._v("Discover accounts and people")])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"card card-body bg-bluegray-800"},[t("div",{staticClass:"d-flex justify-content-center align-items-center flex-column py-5"},[t("i",{staticClass:"fal fa-clock fa-6x text-bluegray-500"}),e._v(" "),t("p",{staticClass:"lead font-weight-bold mt-3 mb-0"},[e._v("Nothing to show yet! Check back later.")])])])}]},51829:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"landing-explore-component"},[t("section",{staticClass:"page-wrapper"},[t("div",{staticClass:"container container-compact"},[t("div",{staticClass:"card bg-bluegray-900",staticStyle:{"border-radius":"10px"}},[t("div",{staticClass:"card-header bg-bluegray-800 nav-menu",staticStyle:{"border-top-left-radius":"10px","border-top-right-radius":"10px"}},[t("ul",{staticClass:"nav justify-content-around"},[t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:"/"}},[e._v("About")])],1),e._v(" "),e.config.show_directory?t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:"/web/directory"}},[e._v("Directory")])],1):e._e(),e._v(" "),e.config.show_explore_feed?t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:"/web/explore"}},[e._v("Explore")])],1):e._e()])]),e._v(" "),t("div",{staticClass:"card-body"},[e._m(0),e._v(" "),e.loading?t("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{"min-height":"500px"}},[t("b-spinner")],1):t("div",{staticClass:"feed-list"},e._l(e.feed,(function(o){return t("post-card",{key:o.id,attrs:{post:o,range:e.ranges[e.rangeIndex]}})})),1)])])]),e._v(" "),t("footer-component")],1)])},s=[function(){var e=this._self._c;return e("div",{staticClass:"py-3"},[e("p",{staticClass:"lead text-center"},[this._v("Explore trending posts")])])}]},85343:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"landing-index-component"},[t("section",{staticClass:"page-wrapper"},[t("div",{staticClass:"container container-compact"},[t("div",{staticClass:"card bg-bluegray-900",staticStyle:{"border-radius":"10px"}},[t("div",{staticClass:"card-header bg-bluegray-800 nav-menu",staticStyle:{"border-top-left-radius":"10px","border-top-right-radius":"10px"}},[t("ul",{staticClass:"nav justify-content-around"},[t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:"/"}},[e._v("About")])],1),e._v(" "),e.config.show_directory?t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:"/web/directory"}},[e._v("Directory")])],1):e._e(),e._v(" "),e.config.show_explore_feed?t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:"/web/explore"}},[e._v("Explore")])],1):e._e()])]),e._v(" "),t("div",{staticClass:"card-img-top p-2"},[t("img",{staticClass:"img-fluid rounded",staticStyle:{width:"100%","max-height":"200px","object-fit":"cover"},attrs:{src:e.config.about.banner_image,alt:"Server banner image",height:"200",onerror:"this.src='/storage/headers/default.jpg';this.onerror=null;"}})]),e._v(" "),t("div",{staticClass:"card-body"},[t("div",{staticClass:"server-header"},[t("p",{staticClass:"server-header-domain"},[e._v(e._s(e.config.domain))]),e._v(" "),e._m(0)]),e._v(" "),t("div",{staticClass:"server-stats"},[t("div",{staticClass:"list-group"},[t("div",{staticClass:"list-group-item bg-transparent"},[t("p",{staticClass:"stat-value"},[e._v(e._s(e.formatCount(e.config.stats.posts_count)))]),e._v(" "),t("p",{staticClass:"stat-label"},[e._v("Posts")])]),e._v(" "),t("div",{staticClass:"list-group-item bg-transparent"},[t("p",{staticClass:"stat-value"},[e._v(e._s(e.formatCount(e.config.stats.active_users)))]),e._v(" "),t("p",{staticClass:"stat-label"},[e._v("Active Users")])]),e._v(" "),t("div",{staticClass:"list-group-item bg-transparent"},[t("p",{staticClass:"stat-value"},[e._v(e._s(e.formatCount(e.config.stats.total_users)))]),e._v(" "),t("p",{staticClass:"stat-label"},[e._v("Total Users")])])])]),e._v(" "),t("div",{staticClass:"server-admin"},[t("div",{staticClass:"list-group"},[e.config.contact.account?t("div",{staticClass:"list-group-item bg-transparent"},[t("p",{staticClass:"item-label"},[e._v("Managed By")]),e._v(" "),t("a",{staticClass:"admin-card",attrs:{href:e.config.contact.account.url,target:"_blank"}},[t("div",{staticClass:"d-flex"},[t("img",{staticClass:"avatar",attrs:{src:e.config.contact.account.avatar,width:"45",height:"45",alt:"".concat(e.config.contact.account.username,"'s avatar"),onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),e._v(" "),t("div",{staticClass:"user-info"},[t("p",{staticClass:"display-name"},[e._v(e._s(e.config.contact.account.display_name))]),e._v(" "),t("p",{staticClass:"username"},[e._v("@"+e._s(e.config.contact.account.username))])])])])]):e._e(),e._v(" "),e.config.contact.email?t("div",{staticClass:"list-group-item bg-transparent"},[t("p",{staticClass:"item-label"},[e._v("Contact")]),e._v(" "),t("a",{staticClass:"admin-email",attrs:{href:"mailto:".concat(e.config.contact.email,"?subject=Regarding ").concat(e.config.domain),target:"_blank"}},[e._v(e._s(e.config.contact.email))])]):e._e()])]),e._v(" "),t("div",{staticClass:"accordion",attrs:{id:"accordion"}},[t("div",{staticClass:"card bg-bluegray-700"},[t("div",{staticClass:"card-header bg-bluegray-800",attrs:{id:"headingOne"}},[t("h2",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-link btn-block",attrs:{type:"button","data-toggle":"collapse","data-target":"#collapseOne","aria-controls":"collapseOne"},on:{click:function(t){return e.toggleAccordion(0)}}},[e._m(1),e._v(" "),t("i",{staticClass:"far",class:[0===e.accordionTab?"fa-chevron-left text-primary":"fa-chevron-down"]})])])]),e._v(" "),t("div",{staticClass:"collapse",attrs:{id:"collapseOne","aria-labelledby":"headingOne","data-parent":"#accordion"}},[t("div",{staticClass:"card-body about-text"},[t("p",{domProps:{innerHTML:e._s(e.config.about.description)}})])])]),e._v(" "),t("div",{staticClass:"card bg-bluegray-700"},[t("div",{staticClass:"card-header bg-bluegray-800",attrs:{id:"headingTwo"}},[t("h2",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-link btn-block text-left collapsed",attrs:{type:"button","data-toggle":"collapse","data-target":"#collapseTwo","aria-expanded":"false","aria-controls":"collapseTwo"},on:{click:function(t){return e.toggleAccordion(1)}}},[e._m(2),e._v(" "),t("i",{staticClass:"far",class:[1===e.accordionTab?"fa-chevron-left text-primary":"fa-chevron-down"]})])])]),e._v(" "),t("div",{staticClass:"collapse",attrs:{id:"collapseTwo","aria-labelledby":"headingTwo","data-parent":"#accordion"}},[t("div",{staticClass:"card-body"},[t("div",{staticClass:"list-group list-group-rules"},e._l(e.config.rules,(function(o){return t("div",{staticClass:"list-group-item bg-bluegray-900"},[t("div",{staticClass:"rule-id"},[e._v(e._s(o.id))]),e._v(" "),t("div",{staticClass:"rule-text"},[e._v(e._s(o.text))])])})),0)])])]),e._v(" "),t("div",{staticClass:"card bg-bluegray-700"},[t("div",{staticClass:"card-header bg-bluegray-800",attrs:{id:"headingThree"}},[t("h2",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-link btn-block text-left collapsed",attrs:{type:"button","data-toggle":"collapse","data-target":"#collapseThree","aria-expanded":"false","aria-controls":"collapseThree"},on:{click:function(t){return e.toggleAccordion(2)}}},[e._m(3),e._v(" "),t("i",{staticClass:"far",class:[2===e.accordionTab?"fa-chevron-left text-primary":"fa-chevron-down"]})])])]),e._v(" "),t("div",{staticClass:"collapse",attrs:{id:"collapseThree","aria-labelledby":"headingThree","data-parent":"#accordion"}},[t("div",{staticClass:"card-body card-features"},[e._m(4),e._v(" "),t("div",{staticClass:"py-3"},[t("p",{staticClass:"lead"},[t("span",[e._v("You can share up to "),t("span",{staticClass:"font-weight-bold"},[e._v(e._s(e.config.uploader.album_limit))]),e._v(" photos*")]),e._v(" "),e.config.features.video?t("span",[e._v("or "),t("span",{staticClass:"font-weight-bold"},[e._v("1")]),e._v(" video*")]):e._e(),e._v(" "),t("span",[e._v("at a time with a max caption length of "),t("span",{staticClass:"font-weight-bold"},[e._v(e._s(e.config.uploader.max_caption_length))]),e._v(" characters.")])]),e._v(" "),t("p",{staticClass:"small opacity-50"},[e._v("* - Maximum file size is "+e._s(e.formatBytes(e.config.uploader.max_photo_size)))])]),e._v(" "),t("div",{staticClass:"list-group list-group-features"},[t("div",{staticClass:"list-group-item bg-bluegray-900"},[t("div",{staticClass:"feature-label"},[e._v("Federation")]),e._v(" "),t("i",{staticClass:"far fa-lg",class:[e.config.features.federation?"fa-check-circle":"fa-times-circle"]})]),e._v(" "),t("div",{staticClass:"list-group-item bg-bluegray-900"},[t("div",{staticClass:"feature-label"},[e._v("Mobile App Support")]),e._v(" "),t("i",{staticClass:"far fa-lg",class:[e.config.features.mobile_apis?"fa-check-circle":"fa-times-circle"]})]),e._v(" "),t("div",{staticClass:"list-group-item bg-bluegray-900"},[t("div",{staticClass:"feature-label"},[e._v("Stories")]),e._v(" "),t("i",{staticClass:"far fa-lg",class:[e.config.features.stories?"fa-check-circle":"fa-times-circle"]})]),e._v(" "),t("div",{staticClass:"list-group-item bg-bluegray-900"},[t("div",{staticClass:"feature-label"},[e._v("Videos")]),e._v(" "),t("i",{staticClass:"far fa-lg",class:[e.config.features.video?"fa-check-circle":"fa-times-circle"]})])])])])])])])])]),e._v(" "),t("footer-component")],1)])},s=[function(){var e=this,t=e._self._c;return t("p",{staticClass:"server-header-attribution"},[e._v("\n\t\t\t\t\t\t\tDecentralized photo sharing social media powered by "),t("a",{attrs:{href:"https://pixelfed.org",target:"_blank"}},[e._v("Pixelfed")])])},function(){var e=this._self._c;return e("span",{staticClass:"text-white h5"},[e("i",{staticClass:"far fa-info-circle mr-2 text-muted"}),this._v("\n\t\t\t\t\t\t \tAbout\n\t\t\t\t\t \t")])},function(){var e=this._self._c;return e("span",{staticClass:"text-white h5"},[e("i",{staticClass:"far fa-list mr-2 text-muted"}),this._v("\n\t\t\t\t\t \t\tServer Rules\n\t\t\t\t\t \t")])},function(){var e=this._self._c;return e("span",{staticClass:"text-white h5"},[e("i",{staticClass:"far fa-sparkles mr-2 text-muted"}),this._v("\n\t\t\t\t\t \t\tSupported Features\n\t\t\t\t\t \t")])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"card-features-cloud"},[t("div",{staticClass:"badge badge-success"},[t("i",{staticClass:"far fa-check-circle"}),e._v(" Photo Posts")]),e._v(" "),t("div",{staticClass:"badge badge-success"},[t("i",{staticClass:"far fa-check-circle"}),e._v(" Photo Albums")]),e._v(" "),t("div",{staticClass:"badge badge-success"},[t("i",{staticClass:"far fa-check-circle"}),e._v(" Photo Filters")]),e._v(" "),t("div",{staticClass:"badge badge-success"},[t("i",{staticClass:"far fa-check-circle"}),e._v(" Collections")]),e._v(" "),t("div",{staticClass:"badge badge-success"},[t("i",{staticClass:"far fa-check-circle"}),e._v(" Comments")]),e._v(" "),t("div",{staticClass:"badge badge-success"},[t("i",{staticClass:"far fa-check-circle"}),e._v(" Hashtags")]),e._v(" "),t("div",{staticClass:"badge badge-success"},[t("i",{staticClass:"far fa-check-circle"}),e._v(" Likes")]),e._v(" "),t("div",{staticClass:"badge badge-success"},[t("i",{staticClass:"far fa-check-circle"}),e._v(" Notifications")]),e._v(" "),t("div",{staticClass:"badge badge-success"},[t("i",{staticClass:"far fa-check-circle"}),e._v(" Shares")])])}]},14913:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){this._self._c;return this._m(0)},s=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"landing-index-component h-100"},[t("section",{staticClass:"page-wrapper h-100 d-flex flex-grow-1 justify-content-center align-items-center"},[t("div",{staticClass:"d-flex flex-column align-items-center gap-3"},[t("i",{staticClass:"fal fa-exclamation-triangle fa-5x text-bluegray-500"}),e._v(" "),t("div",{staticClass:"text-center"},[t("h2",[e._v("404 - Not Found")]),e._v(" "),t("p",{staticClass:"lead"},[e._v("The page you are looking for does not exist.")])]),e._v(" "),t("a",{staticClass:"btn btn-outline-light btn-lg rounded-pill px-4",attrs:{href:"/"}},[e._v("Go back home")])])])])}]},8298:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"timeline-status-component"},[t("div",{staticClass:"card bg-bluegray-800 landing-post-card",staticStyle:{"border-radius":"15px"}},[t("div",{staticClass:"card-header border-0 bg-bluegray-700",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[t("div",{staticClass:"media align-items-center"},[t("a",{staticClass:"mr-2",attrs:{href:e.post.account.url,target:"_blank"}},[t("img",{staticStyle:{"border-radius":"30px"},attrs:{src:e.post.account.avatar,width:"30",height:"30",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}})]),e._v(" "),t("div",{staticClass:"media-body d-flex justify-content-between align-items-center"},[t("p",{staticClass:"font-weight-bold username mb-0"},[t("a",{staticClass:"text-white",attrs:{href:e.post.account.url,target:"_blank"}},[e._v("@"+e._s(e.post.account.username))])]),e._v(" "),t("p",{staticClass:"font-weight-bold mb-0"},["daily"===e.range?t("a",{staticClass:"text-bluegray-500",attrs:{href:e.post.url,target:"_blank"}},[e._v("Posted "+e._s(e.timeago(e.post.created_at))+" ago")]):t("a",{staticClass:"text-bluegray-400",attrs:{href:e.post.url,target:"_blank"}},[e._v("View Post")])])])])]),e._v(" "),t("div",{staticClass:"card-body m-0 p-0"},[t("post-content",{attrs:{status:e.post}})],1)])])},s=[]},7955:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"card bg-bluegray-800 landing-user-card"},[t("div",{staticClass:"card-body"},[t("div",{staticClass:"d-flex",staticStyle:{gap:"15px"}},[t("div",{staticClass:"flex-shrink-1"},[t("a",{attrs:{href:e.account.url,target:"_blank"}},[t("img",{staticClass:"rounded-circle",attrs:{src:e.account.avatar,onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;",width:"50",height:"50"}})])]),e._v(" "),t("div",{staticClass:"flex-grow-1"},[e.account.name?t("div",{staticClass:"display-name"},[t("a",{attrs:{href:e.account.url,target:"_blank"}},[e._v(e._s(e.account.name))])]):e._e(),e._v(" "),t("p",{staticClass:"username"},[t("a",{attrs:{href:e.account.url,target:"_blank"}},[e._v("@"+e._s(e.account.username))])]),e._v(" "),t("div",{staticClass:"user-stats"},[t("div",{staticClass:"user-stats-item user-select-none"},[e._v(e._s(e.formatCount(e.account.statuses_count))+" Posts")]),e._v(" "),t("div",{staticClass:"user-stats-item user-select-none"},[e._v(e._s(e.formatCount(e.account.followers_count))+" Followers")]),e._v(" "),t("div",{staticClass:"user-stats-item user-select-none"},[e._v(e._s(e.formatCount(e.account.following_count))+" Following")])]),e._v(" "),e.account.bio?t("div",{staticClass:"user-bio"},[t("p",{staticClass:"small text-bluegray-400 mb-0"},[e._v(e._s(e.truncate(e.account.bio)))])]):e._e()])])])])},s=[]},20159:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer-component"},[e._m(0),e._v(" "),t("div",{staticClass:"footer-component-attribution"},[t("div",[t("span",[e._v("© "+e._s(e.getYear())+" "+e._s(e.config.domain))])]),e._v(" "),t("div",{staticClass:"spacer"},[e._v("·")]),e._v(" "),e._m(1),e._v(" "),t("div",{staticClass:"spacer"},[e._v("·")]),e._v(" "),t("div",[t("span",[e._v("v"+e._s(e.config.version))])])])])},s=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer-component-links"},[t("a",{attrs:{href:"/site/help"}},[e._v("Help")]),e._v(" "),t("div",{staticClass:"spacer"},[e._v("·")]),e._v(" "),t("a",{attrs:{href:"/site/terms"}},[e._v("Terms")]),e._v(" "),t("div",{staticClass:"spacer"},[e._v("·")]),e._v(" "),t("a",{attrs:{href:"/site/privacy"}},[e._v("Privacy")]),e._v(" "),t("div",{staticClass:"spacer"},[e._v("·")]),e._v(" "),t("a",{attrs:{href:"https://pixelfed.org/mobile-apps",target:"_blank"}},[e._v("Mobile Apps")])])},function(){var e=this._self._c;return e("div",[e("a",{staticClass:"text-bluegray-500 font-weight-bold",attrs:{href:"https://pixelfed.org"}},[this._v("Powered by Pixelfed")])])}]},89855:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return t("nav",{staticClass:"navbar navbar-expand-lg navbar-dark fixed-top"},[t("div",{staticClass:"container",staticStyle:{"max-width":"600px"}},[t("router-link",{staticClass:"navbar-brand",attrs:{to:"/"}},[t("img",{attrs:{src:"/img/pixelfed-icon-color.svg",width:"40",height:"40",alt:"Logo"}}),e._v(" "),t("span",{staticClass:"mr-3"},[e._v(e._s(e.name))])]),e._v(" "),t("ul",{staticClass:"navbar-nav mr-auto"}),e._v(" "),t("div",{staticClass:"my-2 my-lg-0"},[t("a",{staticClass:"btn btn-outline-light btn-sm rounded-pill font-weight-bold px-4",attrs:{href:"/login"}},[e._v("Login")]),e._v(" "),e.config.open_registration||e.config.curated_onboarding?t("a",{staticClass:"ml-2 btn btn-primary btn-primary-alt btn-sm rounded-pill font-weight-bold px-4",attrs:{href:e.regLink}},[e._v("Sign up")]):e._e()])],1)])},s=[]},79911:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"timeline-status-component-content"},["poll"===e.status.pf_type?t("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):e.fixedHeight?t("div",{staticClass:"card-body p-0"},["photo"===e.status.pf_type?t("div",{class:{fixedHeight:e.fixedHeight}},[1==e.status.sensitive?t("div",{staticClass:"content-label-wrapper"},[t("div",{staticClass:"text-light content-label"},[e._m(0),e._v(" "),t("p",{staticClass:"h4 font-weight-bold text-center"},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),e._v(" "),t("p",{staticClass:"text-center py-2 content-label-text"},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.status.spoiler_text?e.status.spoiler_text:e.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(t){return e.toggleContentWarning()}}},[e._v("See Post")])])]),e._v(" "),t("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:e.status.media_attachments[0].blurhash}})],1):t("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(t){return t.preventDefault(),e.toggleLightbox.apply(null,arguments)}}},[t("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:e.status.media_attachments[0].url}}),e._v(" "),t("blur-hash-image",{key:e.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:e.status.media_attachments[0].blurhash,src:e.status.media_attachments[0].url,alt:e.status.media_attachments[0].description,title:e.status.media_attachments[0].description}}),e._v(" "),!e.status.sensitive&&e.sensitive?t("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(t){e.status.sensitive=!0}}},[t("i",{staticClass:"fas fa-eye-slash fa-lg"})]):e._e()],1)]):"video"===e.status.pf_type?t("video-player",{attrs:{status:e.status,fixedHeight:e.fixedHeight}}):"photo:album"===e.status.pf_type?t("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[t("photo-album-presenter",{class:{fixedHeight:e.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:e.status},on:{lightbox:e.toggleLightbox,togglecw:function(t){return e.toggleContentWarning()}}})],1):"photo:video:album"===e.status.pf_type?t("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[t("mixed-album-presenter",{class:{fixedHeight:e.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:e.status},on:{lightbox:e.toggleLightbox,togglecw:function(t){e.status.sensitive=!1}}})],1):"text"===e.status.pf_type?t("div",[e.status.sensitive?t("div",{staticClass:"border m-3 p-5 rounded-lg"},[e._m(1),e._v(" "),t("p",{staticClass:"text-center lead font-weight-bold mb-0"},[e._v("Sensitive Content")]),e._v(" "),t("p",{staticClass:"text-center"},[e._v(e._s(e.status.spoiler_text&&e.status.spoiler_text.length?e.status.spoiler_text:"This post may contain sensitive content"))]),e._v(" "),t("p",{staticClass:"text-center mb-0"},[t("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:function(t){e.status.sensitive=!1}}},[e._v("See post")])])]):e._e()]):t("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[t("div",[e._m(2),e._v(" "),t("p",{staticClass:"lead text-center mb-0"},[e._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),e._v(" "),t("p",{staticClass:"small text-center mb-0"},[e._v("\n\t\t\t\t\t\t"+e._s(e.status.pf_type)+":"+e._s(e.status.id)+"\n\t\t\t\t\t")])])])],1):t("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===e.status.pf_type?t("div",{staticClass:"w-100"},[t("photo-presenter",{attrs:{status:e.status},on:{lightbox:e.toggleLightbox,togglecw:function(t){e.status.sensitive=!1}}})],1):"video"===e.status.pf_type?t("div",{staticClass:"w-100"},[t("video-player",{attrs:{status:e.status,fixedHeight:e.fixedHeight},on:{togglecw:function(t){e.status.sensitive=!1}}})],1):"photo:album"===e.status.pf_type?t("div",{staticClass:"w-100"},[t("photo-album-presenter",{attrs:{status:e.status},on:{lightbox:e.toggleLightbox,togglecw:function(t){e.status.sensitive=!1}}})],1):"video:album"===e.status.pf_type?t("div",{staticClass:"w-100"},[t("video-album-presenter",{attrs:{status:e.status},on:{togglecw:function(t){e.status.sensitive=!1}}})],1):"photo:video:album"===e.status.pf_type?t("div",{staticClass:"w-100"},[t("mixed-album-presenter",{attrs:{status:e.status},on:{lightbox:e.toggleLightbox,togglecw:function(t){e.status.sensitive=!1}}})],1):e._e()]),e._v(" "),e.status.content&&!e.status.sensitive?t("div",{staticClass:"card-body status-text",class:["text"===e.status.pf_type?"py-0":"pb-0"]},[t("p",[t("read-more",{attrs:{status:e.status,"cursor-limit":300}})],1)]):e._e()])},s=[function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},16331:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[t("div",{domProps:{innerHTML:e._s(e.content)}})])},s=[]},21146:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return t("div",[1==e.status.sensitive?t("div",{staticClass:"content-label-wrapper"},[t("div",{staticClass:"text-light content-label"},[e._m(0),e._v(" "),t("p",{staticClass:"h4 font-weight-bold text-center"},[e._v("\n Sensitive Content\n ")]),e._v(" "),t("p",{staticClass:"text-center py-2 content-label-text"},[e._v("\n "+e._s(e.status.spoiler_text?e.status.spoiler_text:"This post may contain sensitive content.")+"\n ")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(t){e.status.sensitive=!1}}},[e._v("See Post")])])])]):[e.shouldPlay?[e.hasHls?t("video",{ref:"video",class:{fixedHeight:e.fixedHeight},staticStyle:{margin:"0"},attrs:{playsinline:"","webkit-playsinline":"",controls:"",autoplay:"false",poster:e.getPoster(e.status)}}):t("video",{staticClass:"card-img-top shadow",class:{fixedHeight:e.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{autoplay:"false",playsinline:"","webkit-playsinline":"",controls:"",poster:e.getPoster(e.status)}},[t("source",{attrs:{src:e.status.media_attachments[0].url,type:e.status.media_attachments[0].mime}})])]:t("div",{staticClass:"content-label-wrapper",style:{background:"linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.8)),url(".concat(e.getPoster(e.status),")"),backgroundSize:"cover"}},[t("div",{staticClass:"text-light content-label"},[t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-link btn-block btn-sm font-weight-bold",on:{click:function(t){return t.preventDefault(),e.handleShouldPlay.apply(null,arguments)}}},[t("i",{staticClass:"fas fa-play fa-5x text-white"})])])])])]],2)},s=[function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},77261:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",[t("details",{staticClass:"details-animated"},[t("summary",[t("p",{staticClass:"mb-0 lead font-weight-bold"},[e._v(e._s(e.status.spoiler_text?e.status.spoiler_text:"CW / NSFW / Hidden Media"))]),e._v(" "),t("p",{staticClass:"font-weight-light"},[e._v("(click to show)")])]),e._v(" "),t("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:e.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},e._l(e.status.media_attachments,(function(o,a){return t("b-carousel-slide",{key:o.id+"-media"},["video"==o.type?t("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:o.description,width:"100%",height:"100%"},slot:"img"},[t("source",{attrs:{src:o.url,type:o.mime}})]):"image"==o.type?t("div",{attrs:{slot:"img",title:o.description},slot:"img"},[t("img",{class:o.filter_class+" d-block img-fluid w-100",attrs:{src:o.url,alt:o.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):t("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[e._v("Error: Problem rendering preview.")])])})),1)],1)]):t("div",{staticClass:"w-100 h-100 p-0"},[t("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},e._l(e.status.media_attachments,(function(o,a){return t("slide",{key:"px-carousel-"+o.id+"-"+a,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==o.type?t("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:o.description,width:"100%",height:"100%"}},[t("source",{attrs:{src:o.url,type:o.mime}})]):"image"==o.type?t("div",{attrs:{title:o.description}},[t("img",{class:o.filter_class+" img-fluid w-100",attrs:{src:o.url,alt:o.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):t("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[e._v("Error: Problem rendering preview.")])])})),1)],1)},s=[]},9129:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",{staticClass:"content-label-wrapper"},[t("div",{staticClass:"text-light content-label"},[e._m(0),e._v(" "),t("p",{staticClass:"h4 font-weight-bold text-center"},[e._v("\n\t\t\tSensitive Content\n\t\t")]),e._v(" "),t("p",{staticClass:"text-center py-2 content-label-text"},[e._v("\n\t\t\t"+e._s(e.status.spoiler_text?e.status.spoiler_text:"This album may contain sensitive content.")+"\n\t\t")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(t){return e.toggleContentWarning()}}},[e._v("See Post")])])]),e._v(" "),t("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:e.status.media_attachments[0].blurhash,alt:e.altText(e.status)}})],1):t("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[t("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb",id:"carousel-"+e.status.id}},e._l(e.status.media_attachments,(function(o,a){return t("slide",{key:"px-carousel-"+o.id+"-"+a,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:o.description}},[t("img",{staticClass:"img-fluid w-100 p-0",attrs:{src:o.url,alt:e.altText(o),loading:"lazy","data-bp":o.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),e._v(" "),t("div",{staticClass:"album-overlay"},[!e.status.sensitive&&e.sensitive?t("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(t){e.status.sensitive=!0}}},[t("i",{staticClass:"fas fa-eye-slash fa-lg"})]):e._e(),e._v(" "),t("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",left:"0",top:"0","border-bottom-right-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(t){return t.preventDefault(),e.toggleLightbox.apply(null,arguments)}}},[t("i",{staticClass:"fas fa-expand fa-lg"})]),e._v(" "),e.status.media_attachments[0].license?t("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.url}},[e._v("Photo")]),e._v(" by "),t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.account.url}},[e._v("@"+e._s(e.status.account.username))]),e._v(" licensed under "),t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.media_attachments[0].license.url}},[e._v(e._s(e.status.media_attachments[0].license.title))])]):e._e()])],1)},s=[function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},67619:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",{staticClass:"content-label-wrapper"},[t("div",{staticClass:"text-light content-label"},[e._m(0),e._v(" "),t("p",{staticClass:"h4 font-weight-bold text-center"},[e._v("\n\t\t\tSensitive Content\n\t\t")]),e._v(" "),t("p",{staticClass:"text-center py-2 content-label-text"},[e._v("\n\t\t\t"+e._s(e.status.spoiler_text?e.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(t){return e.toggleContentWarning()}}},[e._v("See Post")])])]),e._v(" "),t("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:e.status.media_attachments[0].blurhash,alt:e.altText(e.status)}})],1):t("div",[t("div",{staticStyle:{position:"relative"},attrs:{title:e.status.media_attachments[0].description}},[t("img",{staticClass:"card-img-top",attrs:{src:e.status.media_attachments[0].url,loading:"lazy",alt:e.altText(e.status),width:e.width(),height:e.height(),onerror:"this.onerror=null;this.src='/storage/no-preview.png'"},on:{click:function(t){return t.preventDefault(),e.toggleLightbox.apply(null,arguments)}}}),e._v(" "),!e.status.sensitive&&e.sensitive?t("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(t){e.status.sensitive=!0}}},[t("i",{staticClass:"fas fa-eye-slash fa-lg"})]):e._e(),e._v(" "),e.status.media_attachments[0].license?t("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.url}},[e._v("Photo")]),e._v(" by "),t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.account.url}},[e._v("@"+e._s(e.status.account.username))]),e._v(" licensed under "),t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.media_attachments[0].license.url}},[e._v(e._s(e.status.media_attachments[0].license.title))])]):e._e()])])},s=[function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},10304:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",[t("details",{staticClass:"details-animated"},[t("summary",[t("p",{staticClass:"mb-0 lead font-weight-bold"},[e._v(e._s(e.status.spoiler_text?e.status.spoiler_text:"CW / NSFW / Hidden Media"))]),e._v(" "),t("p",{staticClass:"font-weight-light"},[e._v("(click to show)")])]),e._v(" "),t("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:e.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},e._l(e.status.media_attachments,(function(e,o){return t("b-carousel-slide",{key:e.id+"-media"},[t("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:e.description,width:"100%",height:"100%"},slot:"img"},[t("source",{attrs:{src:e.url,type:e.mime}})])])})),1)],1)]):t("div",[t("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:e.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},e._l(e.status.media_attachments,(function(e,o){return t("b-carousel-slide",{key:e.id+"-media"},[t("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:e.description,width:"100%",height:"100%"},slot:"img"},[t("source",{attrs:{src:e.url,type:e.mime}})])])})),1)],1)},s=[]},15996:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",{staticClass:"content-label-wrapper"},[t("div",{staticClass:"text-light content-label"},[e._m(0),e._v(" "),t("p",{staticClass:"h4 font-weight-bold text-center"},[e._v("\n\t\t\tSensitive Content\n\t\t")]),e._v(" "),t("p",{staticClass:"text-center py-2 content-label-text"},[e._v("\n\t\t\t"+e._s(e.status.spoiler_text?e.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(t){return e.toggleContentWarning()}}},[e._v("See Post")])])]),e._v(" "),t("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:e.status.media_attachments[0].blurhash,alt:e.altText(e.status)}})],1):t("div",{staticClass:"embed-responsive embed-responsive-16by9"},[t("video",{staticClass:"video",attrs:{controls:"",playsinline:"","webkit-playsinline":"",preload:"metadata",loop:"","data-id":e.status.id,poster:e.poster()}},[t("source",{attrs:{src:e.status.media_attachments[0].url,type:e.status.media_attachments[0].mime}})])])},s=[function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},12887:(e,t,o)=>{"use strict";o.r(t);var a=o(62893),s=o(40173),i=o(95353),n=o(58723),r=o(63288),l=o(32252),c=o.n(l),d=o(65201),u=o.n(d),m=o(24786),p=o(57742),g=o.n(p),f=o(89829),h=o.n(f),v=o(64765),b=(o(34352),o(80158),o(67953)),y=o(52324),C=o(8392),k=o(60998),w=(o(74692),o(74692));o(9901),window.Vue=a.default,window.pftxt=o(93934),window.filesize=o(91139),window._=o(2543),window.Popper=o(48851).default,window.pixelfed=window.pixelfed||{},window.$=o(74692),o(52754),window.axios=o(86425),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",o(63899),window.blurhash=o(95341),w('[data-toggle="tooltip"]').tooltip();var S=document.head.querySelector('meta[name="csrf-token"]');S?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=S.content:console.error("CSRF token not found."),a.default.use(s.default),a.default.use(i.default),a.default.use(h()),a.default.use(g()),a.default.use(r.default),a.default.use(c()),a.default.use(u()),a.default.use(v.default),a.default.use(m.default,{name:"Timeago",locale:"en"}),a.default.component("photo-presenter",o(20384).default),a.default.component("video-presenter",o(74027).default),a.default.component("photo-album-presenter",o(53099).default),a.default.component("video-album-presenter",o(62630).default),a.default.component("mixed-album-presenter",o(41378).default),a.default.component("navbar",o(3461).default),a.default.component("footer-component",o(61255).default);var _=new s.default({mode:"history",linkActiveClass:"",linkExactActiveClass:"active",routes:[{path:"/",component:b.default},{path:"/web/directory",component:y.default},{path:"/web/explore",component:C.default},{path:"/*",component:k.default,props:!0}],scrollBehavior:function(e,t,o){return e.hash?{selector:"[id='".concat(e.hash.slice(1),"']")}:{x:0,y:0}}});var x=new i.default.Store({state:{version:1,hideCounts:!0,autoloadComments:!1,newReactions:!1,fixedHeight:!1,profileLayout:"grid",showDMPrivacyWarning:!0,relationships:{},emoji:[],colorScheme:function(e,t){var o="pf_m2s."+e,a=window.localStorage;if(a.getItem(o)){var s=a.getItem(o);return["pl","color-scheme"].includes(e)?s:["true",!0].includes(s)}return t}("color-scheme","system")},getters:{getVersion:function(e){return e.version},getHideCounts:function(e){return e.hideCounts},getAutoloadComments:function(e){return e.autoloadComments},getNewReactions:function(e){return e.newReactions},getFixedHeight:function(e){return e.fixedHeight},getProfileLayout:function(e){return e.profileLayout},getRelationship:function(e){return function(t){return e.relationships[t]}},getCustomEmoji:function(e){return e.emoji},getColorScheme:function(e){return e.colorScheme},getShowDMPrivacyWarning:function(e){return e.showDMPrivacyWarning}},mutations:{setVersion:function(e,t){e.version=t},setHideCounts:function(e,t){localStorage.setItem("pf_m2s.hc",t),e.hideCounts=t},setAutoloadComments:function(e,t){localStorage.setItem("pf_m2s.ac",t),e.autoloadComments=t},setNewReactions:function(e,t){localStorage.setItem("pf_m2s.nr",t),e.newReactions=t},setFixedHeight:function(e,t){localStorage.setItem("pf_m2s.fh",t),e.fixedHeight=t},setProfileLayout:function(e,t){localStorage.setItem("pf_m2s.pl",t),e.profileLayout=t},updateRelationship:function(e,t){t.forEach((function(t){a.default.set(e.relationships,t.id,t)}))},updateCustomEmoji:function(e,t){e.emoji=t},setColorScheme:function(e,t){if(e.colorScheme!=t){localStorage.setItem("pf_m2s.color-scheme",t),e.colorScheme=t;var o="system"==t?"":"light"==t?"force-light-mode":"force-dark-mode";if(document.querySelector("body").className=o,"system"!=o){var a="force-dark-mode"==o?{dark_mode:"on"}:{};axios.post("/settings/labs",a)}}},setShowDMPrivacyWarning:function(e,t){localStorage.setItem("pf_m2s.dmpwarn",t),e.showDMPrivacyWarning=t}}}),A={en:o(57048),ar:o(60224),ca:o(89023),de:o(89996),el:o(25098),es:o(31583),eu:o(48973),fr:o(15883),he:o(61344),gd:o(12900),gl:o(34860),id:o(91302),it:o(52950),ja:o(87286),nl:o(66849),pl:o(70707),pt:o(85147),ru:o(20466),uk:o(44215),vi:o(97346)},P=document.querySelector("html").getAttribute("lang"),T=new v.default({locale:P,fallbackLocale:"en",messages:A});(0,n.sync)(x,_);new a.default({el:"#content",i18n:T,router:_,store:x})},9901:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(){var t="object"===("undefined"==typeof window?"undefined":e(window))?window:"object"===("undefined"==typeof self?"undefined":e(self))?self:this,o=t.BlobBuilder||t.WebKitBlobBuilder||t.MSBlobBuilder||t.MozBlobBuilder;t.URL=t.URL||t.webkitURL||function(e,t){return(t=document.createElement("a")).href=e,t};var a=t.Blob,s=URL.createObjectURL,i=URL.revokeObjectURL,n=t.Symbol&&t.Symbol.toStringTag,r=!1,c=!1,d=!!t.ArrayBuffer,u=o&&o.prototype.append&&o.prototype.getBlob;try{r=2===new Blob(["ä"]).size,c=2===new Blob([new Uint8Array([1,2])]).size}catch(e){}function m(e){return e.map((function(e){if(e.buffer instanceof ArrayBuffer){var t=e.buffer;if(e.byteLength!==t.byteLength){var o=new Uint8Array(e.byteLength);o.set(new Uint8Array(t,e.byteOffset,e.byteLength)),t=o.buffer}return t}return e}))}function p(e,t){t=t||{};var a=new o;return m(e).forEach((function(e){a.append(e)})),t.type?a.getBlob(t.type):a.getBlob()}function g(e,t){return new a(m(e),t||{})}t.Blob&&(p.prototype=Blob.prototype,g.prototype=Blob.prototype);var f="function"==typeof TextEncoder?TextEncoder.prototype.encode.bind(new TextEncoder):function(e){for(var o=0,a=e.length,s=t.Uint8Array||Array,i=0,n=Math.max(32,a+(a>>1)+7),r=new s(n>>3<<3);o=55296&&l<=56319){if(o=55296&&l<=56319)continue}if(i+4>r.length){n+=8,n=(n*=1+o/e.length*2)>>3<<3;var d=new Uint8Array(n);d.set(r),r=d}if(4294967168&l){if(4294965248&l)if(4294901760&l){if(4292870144&l)continue;r[i++]=l>>18&7|240,r[i++]=l>>12&63|128,r[i++]=l>>6&63|128}else r[i++]=l>>12&15|224,r[i++]=l>>6&63|128;else r[i++]=l>>6&31|192;r[i++]=63&l|128}else r[i++]=l}return r.slice(0,i)},h="function"==typeof TextDecoder?TextDecoder.prototype.decode.bind(new TextDecoder):function(e){for(var t=e.length,o=[],a=0;a239?4:l>223?3:l>191?2:1;if(a+d<=t)switch(d){case 1:l<128&&(c=l);break;case 2:128==(192&(s=e[a+1]))&&(r=(31&l)<<6|63&s)>127&&(c=r);break;case 3:s=e[a+1],i=e[a+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=e[a+1],i=e[a+2],n=e[a+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,o.push(c>>>10&1023|55296),c=56320|1023&c),o.push(c),a+=d}var u=o.length,m="";for(a=0;a>2,d=(3&s)<<4|n>>4,u=(15&n)<<2|l>>6,m=63&l;r||(m=64,i||(u=64)),o.push(t[c],t[d],t[u],t[m])}return o.join("")}var a=Object.create||function(e){function t(){}return t.prototype=e,new t};if(d)var n=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(e){return e&&n.indexOf(Object.prototype.toString.call(e))>-1};function c(o,a){a=null==a?{}:a;for(var s=0,i=(o=o||[]).length;s=t.size&&o.close()}))}})}}catch(e){try{new ReadableStream({}),b=function(e){var t=0;e=this;return new ReadableStream({pull:function(o){return e.slice(t,t+524288).arrayBuffer().then((function(a){t+=a.byteLength;var s=new Uint8Array(a);o.enqueue(s),t==e.size&&o.close()}))}})}}catch(e){try{new Response("").body.getReader().read(),b=function(){return new Response(this).body}}catch(e){b=function(){throw new Error("Include https://github.com/MattiasBuelens/web-streams-polyfill")}}}}y.arrayBuffer||(y.arrayBuffer=function(){var e=new FileReader;return e.readAsArrayBuffer(this),C(e)}),y.text||(y.text=function(){var e=new FileReader;return e.readAsText(this),C(e)}),y.stream||(y.stream=b)}(),function(e){"use strict";var t,o=e.Uint8Array,a=e.HTMLCanvasElement,s=a&&a.prototype,i=/\s*;\s*base64\s*(?:;|$)/i,n="toDataURL",r=function(e){for(var a,s,i=e.length,n=new o(i/4*3|0),r=0,l=0,c=[0,0],d=0,u=0;i--;)s=e.charCodeAt(r++),255!==(a=t[s-43])&&undefined!==a&&(c[1]=c[0],c[0]=s,u=u<<6|a,4===++d&&(n[l++]=u>>>16,61!==c[1]&&(n[l++]=u>>>8),61!==c[0]&&(n[l++]=u),d=0));return n};o&&(t=new o([62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51])),!a||s.toBlob&&s.toBlobHD||(s.toBlob||(s.toBlob=function(e,t){if(t||(t="image/png"),this.mozGetAsFile)e(this.mozGetAsFile("canvas",t));else if(this.msToBlob&&/^\s*image\/png\s*(?:$|;)/i.test(t))e(this.msToBlob());else{var a,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?((a=new Blob).encoding=u?"base64":"URI",a.data=d,a.size=d.length):o&&(a=u?new Blob([r(d)],{type:t}):new Blob([decodeURIComponent(d)],{type:t})),e(a)}}),!s.toBlobHD&&s.toDataURLHD?s.toBlobHD=function(){n="toDataURLHD";var e=this.toBlob();return n="toDataURL",e}:s.toBlobHD=s.toBlob)}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content||this)},63050:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(76798),s=o.n(a)()((function(e){return e[1]}));s.push([e.id,".card-img-top[data-v-a0f8515a]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-a0f8515a]{position:relative}.content-label[data-v-a0f8515a]{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-a0f8515a]{position:relative}",""]);const i=s},57163:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(76798),s=o.n(a)()((function(e){return e[1]}));s.push([e.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 i=s},72714:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(76798),s=o.n(a)()((function(e){return e[1]}));s.push([e.id,".content-label-wrapper[data-v-a412a218]{position:relative}.content-label[data-v-a412a218]{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 i=s},64764:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>r});var a=o(85072),s=o.n(a),i=o(63050),n={insert:"head",singleton:!1};s()(i.default,n);const r=i.default.locals||{}},73464:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>r});var a=o(85072),s=o.n(a),i=o(57163),n={insert:"head",singleton:!1};s()(i.default,n);const r=i.default.locals||{}},51561:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>r});var a=o(85072),s=o.n(a),i=o(72714),n={insert:"head",singleton:!1};s()(i.default,n);const r=i.default.locals||{}},52324:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(63675),s=o(84123),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},8392:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(19188),s=o(53591),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},67953:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(91398),s=o(85490),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},60998:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>s});var a=o(87234);const s=(0,o(14486).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},42060:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(68971),s=o(92543),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},77387:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(83534),s=o(62840),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},61255:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(91678),s=o(14992),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},3461:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(23800),s=o(89110),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},79110:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(5458),s=o(99369),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},50294:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(95728),s=o(33417),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},75938:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(86943),s=o(42909),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},41378:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(74114),s=o(62765),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},53099:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(92618),s=o(27036),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);o(16781);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,"a0f8515a",null).exports},20384:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(57422),s=o(61543),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);o(74299);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,"40ab6d65",null).exports},62630:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(34927),s=o(3729),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},74027:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(48593),s=o(3692),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);o(7034);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,"a412a218",null).exports},84123:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(75948),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},53591:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(22912),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},85490:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(40245),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},92543:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(53956),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},62840:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(34655),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},14992:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(19011),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},89110:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(44943),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},99369:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(61746),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},33417:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(6140),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},42909:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(68910),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},62765:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(78788),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},27036:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(40669),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},61543:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(96504),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},3729:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(36104),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},3692:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(89379),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},63675:(e,t,o)=>{"use strict";o.r(t);var a=o(94350),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},19188:(e,t,o)=>{"use strict";o.r(t);var a=o(51829),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},91398:(e,t,o)=>{"use strict";o.r(t);var a=o(85343),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},87234:(e,t,o)=>{"use strict";o.r(t);var a=o(14913),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},68971:(e,t,o)=>{"use strict";o.r(t);var a=o(8298),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},83534:(e,t,o)=>{"use strict";o.r(t);var a=o(7955),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},91678:(e,t,o)=>{"use strict";o.r(t);var a=o(20159),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},23800:(e,t,o)=>{"use strict";o.r(t);var a=o(89855),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},5458:(e,t,o)=>{"use strict";o.r(t);var a=o(79911),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},95728:(e,t,o)=>{"use strict";o.r(t);var a=o(16331),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},86943:(e,t,o)=>{"use strict";o.r(t);var a=o(21146),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},74114:(e,t,o)=>{"use strict";o.r(t);var a=o(77261),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},92618:(e,t,o)=>{"use strict";o.r(t);var a=o(9129),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},57422:(e,t,o)=>{"use strict";o.r(t);var a=o(67619),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},34927:(e,t,o)=>{"use strict";o.r(t);var a=o(10304),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},48593:(e,t,o)=>{"use strict";o.r(t);var a=o(15996),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},16781:(e,t,o)=>{"use strict";o.r(t);var a=o(64764),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},74299:(e,t,o)=>{"use strict";o.r(t);var a=o(73464),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},7034:(e,t,o)=>{"use strict";o.r(t);var a=o(51561),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},11220:()=>{},16052:()=>{},40295:()=>{},89858:()=>{},45187:()=>{},87919:()=>{},40264:()=>{},80434:()=>{},18053:()=>{},60224:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"تَعليق","commented":"علَّقتَ عليه","comments":"تَعليقات","like":"إعجاب","liked":"أُعجِبتَ بِه","likes":"إعْجابات","share":"مُشارَكَة","shared":"تمَّ مُشارَكَتُه","shares":"مُشارَكَات","unshare":"إلغاء المُشارَكَة","cancel":"إلغاء","copyLink":"نَسخ الرابِط","delete":"حَذف","error":"خطأ","errorMsg":"حَدَثَ خطأٌ ما. يُرجى المُحاولةُ مرةً أُخرى لاحِقًا.","oops":"المَعذِرَة!","other":"اُخرى","readMore":"قراءةُ المزيد","success":"نَجاح","sensitive":"حسَّاس","sensitiveContent":"مُحتَوًى حسَّاس","sensitiveContentWarning":"قد يحتوي هذا المَنشور على مُحتوًى حسَّاس"},"site":{"terms":"شُروطُ الاِستِخدام","privacy":"سِياسَةُ الخُصوصيَّة"},"navmenu":{"search":"البَحث","admin":"لوحَةُ تَحكُّمِ المُشرِف","homeFeed":"التَّغذيَة الرئيسَة","localFeed":"التَّغذيَة المحليَّة","globalFeed":"التَّغذيَة الشّامِلة","discover":"الاِستِكشاف","directMessages":"الرسائِلُ المُباشِرَة","notifications":"الإشعارات","groups":"المَجمُوعات","stories":"القَصَص","profile":"المِلف التَّعريفيّ","drive":"وِحدَةُ التَّخزين","settings":"الإعدَادَات","compose":"إنشاءُ جَديد","logout":"تَسجيلُ الخُرُوج","about":"حَول","help":"المُساعَدَة","language":"اللُّغَة","privacy":"الخُصُوصِيَّة","terms":"الشُّرُوط","backToPreviousDesign":"العودة إلى التصميم السابق"},"directMessages":{"inbox":"صَندوقُ الوارِد","sent":"أُرسِلَت","requests":"الطَّلَبات"},"notifications":{"liked":"أُعجِبَ بِمنشورٍ لَك","commented":"علَّقَ على مَنشورٍ لَك","reacted":"تَفاعَلَ مَعَك","shared":"شَارَكَ مَنشورٍ لَك","tagged":"أشارَ إليكَ فِي","updatedA":"حَدَّثَ","sentA":"أرسَلَ","followed":"تابَعَ","mentioned":"أشارَ إلى","you":"أنت","yourApplication":"طلبُكَ للانضِمام","applicationApproved":"تمَّت الموافقة عليه!","applicationRejected":"تمَّ رفضه. يُمكِنُكَ التقدُمُ بطلبٍ جديدٍ للانضمام بعد 6 شهور.","dm":"الرسائِل المُباشِرَة","groupPost":"مَنشور مَجموعَة","modlog":"سجلات المُشرِف","post":"مَنشور","story":"قَصَّة"},"post":{"shareToFollowers":"المُشاركة مَعَ المُتابِعين","shareToOther":"المُشارَكَة مَعَ الآخرين","noLikes":"لا إعجابات حتَّى الآن","uploading":"الرَّفعُ جارٍ"},"profile":{"posts":"المَنشُورات","followers":"المُتابِعُون","following":"المُتابَعُون","admin":"مُشرِف","collections":"تَجميعات","follow":"مُتابَعَة","unfollow":"إلغاء المُتابَعَة","editProfile":"تحرير المِلَف التَّعريفي","followRequested":"طُلِبَت المُتابَعَة","joined":"انضَم","emptyCollections":"على ما يَبدوا، لا يُمكِنُنا العُثور على أي تَجميعات","emptyPosts":"على ما يَبدوا، لا يُمكِنُنا العُثور على أي مَنشور"},"menu":{"viewPost":"عَرض المَنشور","viewProfile":"عَرض المِلف التعريفي","moderationTools":"أدوات الإشراف","report":"إبلاغ","archive":"أرشَفَة","unarchive":"إلغاء الأرشَفَة","embed":"تضمين","selectOneOption":"حدِّد أحدَ الخياراتِ التالِيَة","unlistFromTimelines":"الاستثناء من قوائِم الخُطُوط الزمنيَّة","addCW":"إضافة تحذير مُحتوى","removeCW":"حذف تحذير المُحتوى","markAsSpammer":"تَعليم كَغير مَرغُوبٍ بِه","markAsSpammerText":"الاستثِناء مِنَ القوائِم + إضافة تحذير مُحتوى لِلمُشارَكَات الحاليَّة وَالمُستَقبَليَّة","spam":"غير مَرغوب بِه","sensitive":"مُحتَوًى حسَّاس","abusive":"مُسيءٌ أو ضار","underageAccount":"حِسابٌ دونَ السِّن","copyrightInfringement":"اِنتِهاكُ حُقُوق","impersonation":"اِنتِحالُ شَخصيَّة","scamOrFraud":"نَصبٌ أو اِحتِيال","confirmReport":"تأكيدُ البَلاغ","confirmReportText":"هل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي الإبلاغِ عَن هَذَا المَنشور؟","reportSent":"أُرسِلَ البَلاغ!","reportSentText":"لقد تلقينا بَلاغُكَ بِنجاح.","reportSentError":"طَرَأ خَلَلٌ أثناءُ الإبلاغِ عَن هذا المَنشور.","modAddCWConfirm":"هل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي إضافَةِ تَحذيرٍ للمُحتَوى عَلى هَذَا المَنشُور؟","modCWSuccess":"أُضيفَ تَحذيرُ المُحتَوى بِنَجاح","modRemoveCWConfirm":"هَل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي إزالَةِ تَحذيرِ المُحتَوى مِن عَلى هَذَا المَنشُور؟","modRemoveCWSuccess":"أُزيلَ تَحذيرُ المُحتَوى بِنَجاح","modUnlistConfirm":"هل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي اِستِثناءِ هَذَا المَنشُورِ مِنَ القائِمَة (جَعلَهُ غَيرُ مُدرَج)؟","modUnlistSuccess":"اُستُثنِيَ المَنشُورُ بِنَجاح","modMarkAsSpammerConfirm":"هَل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي تَعليمِ هذا المُستَخدِمِ كَناشِرٍ لِمَنشُوراتٍ غيرِ مَرغوبٍ فِيها؟ سوف يُلغى إدراجُ جَميعِ مَنشوراتِهِ الحاليَّةِ وَالمُستَقبَليَّةِ مِنَ الخُطُوطِ الزَمنيَّةِ وَسوف يُطبَّقُ تَحذيرُ المُحتَوَى عَليها.","modMarkAsSpammerSuccess":"عُلِّمَ المُستَخدِمُ كَناشِرٍ لِمَنشُوراتٍ غيرِ مَرغوبٍ فِيها بِنَجاح","toFollowers":"إلَى المُتَابِعين","showCaption":"عَرضُ التَعليقِ التَوضيحي","showLikes":"إظهارُ الإعجابات","compactMode":"الوَضع المَضغوط","embedConfirmText":"باِستِخدامِكَ لِهذا التَّضمين، أنتَ تُوافِقُ عَلَى","deletePostConfirm":"هَل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي حَذفِ هَذَا المَنشُور؟","archivePostConfirm":"هَل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي أرشَفَةِ هَذَا المَنشُور؟","unarchivePostConfirm":"هَل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي إلغاءِ أرشَفَةِ هَذَا المَنشُور؟"},"story":{"add":"إضافَةُ قَصَّة"},"timeline":{"peopleYouMayKnow":"أشخاصٌ قَد تَعرِفُهُم"},"hashtags":{"emptyFeed":"على ما يَبدوا، لا يُمكِنُنا العُثور على أي مَنشور يَحتَوي على هذا الوَسم"}}')},89023:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Comentar","commented":"Comentari","comments":"Comentaris","like":"M\'agrada","liked":"M\'ha agradat","likes":"\\"M\'agrada\\"","share":"Comparteix","shared":"S\'han compartit","shares":"S\'han compartit","unshare":"Deixa de compartir","cancel":"Cancel·la","copyLink":"Copia l\'enllaç","delete":"Esborra","error":"Error","errorMsg":"Alguna cosa ha anat malament. Siusplau, intenta-ho més tard.","oops":"Uix!","other":"Altres","readMore":"Llegiu-ne més","success":"Completat amb èxit","sensitive":"Sensible","sensitiveContent":"Contingut sensible","sensitiveContentWarning":"Aquest article pot contenir contingut sensible"},"site":{"terms":"Condicions d\'ús","privacy":"Política de Privacitat"},"navmenu":{"search":"Cercar","admin":"Tauler d\'Administració","homeFeed":"Línia de temps principal","localFeed":"Línia de temps local","globalFeed":"Línia de temps global","discover":"Descobrir","directMessages":"Missatges directes","notifications":"Notificacions","groups":"Grups","stories":"Històries","profile":"Perfil","drive":"Unitat","settings":"Paràmetres","compose":"Crea un nou","logout":"Logout","about":"Quant a","help":"Ajuda","language":"Idioma","privacy":"Privacitat","terms":"Termes","backToPreviousDesign":"Tornar al disseny anterior"},"directMessages":{"inbox":"Safata d\'entrada","sent":"Enviat","requests":"Sol·licitud"},"notifications":{"liked":"li agrada la teva","commented":"comentat el teu","reacted":"ha reaccionat al teu","shared":"ha compartit la teva","tagged":"t\'ha etiquetat en una","updatedA":"actualitzat a","sentA":"enviat a","followed":"seguits","mentioned":"mencionat","you":"vostè","yourApplication":"La teva sol·licitud per unir-te","applicationApproved":"està aprovat!","applicationRejected":"ha estat rebutjat. Pots tornar a sol·licitar unir-te en 6 mesos.","dm":"md","groupPost":"publicacions al grup","modlog":"modlog","post":"publicació","story":"història"},"post":{"shareToFollowers":"Comparteix amb els seguidors","shareToOther":"Compartits per altres","noLikes":"Cap m\'agrada encara","uploading":"Carregant"},"profile":{"posts":"Publicacions","followers":"Seguidors","following":"Seguint","admin":"Administrador","collections":"Col·leccions","follow":"Segueix","unfollow":"Deixeu de seguir","editProfile":"Edita el teu perfil","followRequested":"Sol·licitud de seguidor","joined":"S\'ha unit","emptyCollections":"We can\'t seem to find any collections","emptyPosts":"We can\'t seem to find any posts"},"menu":{"viewPost":"Veure publicació","viewProfile":"Mostra el perfil","moderationTools":"Eines de moderació","report":"Informe","archive":"Arxiu","unarchive":"Desarxiva","embed":"Incrusta","selectOneOption":"Seleccioneu una de les opcions següents","unlistFromTimelines":"Desllista de les línies de temps","addCW":"Afegeix advertència de contingut","removeCW":"Esborra advertència de contingut","markAsSpammer":"Marca com a brossa","markAsSpammerText":"Desllista + CW publicacions existents i futures","spam":"Contingut brossa","sensitive":"Contingut sensible","abusive":"Abusiu o nociu","underageAccount":"Compte de menors d\'edat","copyrightInfringement":"Infracció de drets d’autor","impersonation":"Suplantacions","scamOrFraud":"Estafa o Frau","confirmReport":"Confirma l\'informe","confirmReportText":"Esteu segur que voleu informar d\'aquesta publicació?","reportSent":"Informe enviat!","reportSentText":"Hem rebut correctament el vostre informe.","reportSentError":"Hi ha hagut un problema en informar d\'aquesta publicació.","modAddCWConfirm":"Confirmes que vols afegir un avís de contingut a aquesta publicació?","modCWSuccess":"Avís de contingut afegit correctament","modRemoveCWConfirm":"Confirmes que vols esborrar un avís de contingut d\'aquesta publicació?","modRemoveCWSuccess":"Avís de contingut esborrat correctament","modUnlistConfirm":"Esteu segur que voleu desllistar d\'aquesta publicació?","modUnlistSuccess":"Entrada desllistada amb èxit","modMarkAsSpammerConfirm":"Esteu segur que voleu marcar aquest usuari com a brossa? Totes les publicacions existents i futures no apareixeran a les cronologies i s\'aplicarà un avís de contingut.","modMarkAsSpammerSuccess":"El compte s\'ha marcat correctament com a brossa","toFollowers":"els seguidors","showCaption":"Mostra el subtítol","showLikes":"Mostra els m\'agrada","compactMode":"Mode Compacte","embedConfirmText":"En utilitzar aquesta inserció, accepteu el nostre","deletePostConfirm":"Esteu segur que voleu suprimir aquesta publicació?","archivePostConfirm":"Segur que voleu arxivar aquesta publicació?","unarchivePostConfirm":"Segur que voleu desarxivar aquesta publicació?"},"story":{"add":"Afegir història"},"timeline":{"peopleYouMayKnow":"Gent que potser coneixes"},"hashtags":{"emptyFeed":"We can\'t seem to find any posts for this hashtag"}}')},89996:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Kommentar","commented":"Kommentiert","comments":"Kommentare","like":"Gefällt mir","liked":"Gefällt","likes":"Gefällt","share":"Teilen","shared":"Geteilt","shares":"Geteilt","unshare":"Teilen rückgängig machen","cancel":"Abbrechen","copyLink":"Link kopieren","delete":"Löschen","error":"Fehler","errorMsg":"Etwas ist schief gelaufen. Bitter versuch es später nochmal.","oops":"Hoppla!","other":"Anderes","readMore":"Weiterlesen","success":"Erfolgreich","sensitive":"Sensibel","sensitiveContent":"Sensibler Inhalt","sensitiveContentWarning":"Dieser Beitrag kann sensible Inhalte enthalten"},"site":{"terms":"Nutzungsbedingungen","privacy":"Datenschutzrichtlinien"},"navmenu":{"search":"Suche","admin":"Administrator-Dashboard","homeFeed":"Startseite","localFeed":"Lokaler Feed","globalFeed":"Globaler Feed","discover":"Entdecken","directMessages":"Direktnachrichten","notifications":"Benachrichtigungen","groups":"Gruppen","stories":"Stories","profile":"Profil","drive":"Festplatte","settings":"Einstellungen","compose":"Neu erstellen","logout":"Ausloggen","about":"Über uns","help":"Hilfe","language":"Sprache","privacy":"Privatsphäre","terms":"AGB","backToPreviousDesign":"Zurück zum vorherigen Design"},"directMessages":{"inbox":"Posteingang","sent":"Gesendet","requests":"Anfragen"},"notifications":{"liked":"gefällt dein","commented":"kommentierte dein","reacted":"reagierte auf dein","shared":"teilte deine","tagged":"markierte dich in einem","updatedA":"aktualisierte ein","sentA":"sendete ein","followed":"gefolgt","mentioned":"erwähnt","you":"du","yourApplication":"Deine Bewerbung um beizutreten","applicationApproved":"wurde genehmigt!","applicationRejected":"wurde abgelehnt. Du kannst dich in 6 Monaten erneut für den Beitritt bewerben.","dm":"PN","groupPost":"Gruppen-Post","modlog":"modlog","post":"Beitrag","story":"Story"},"post":{"shareToFollowers":"Mit Folgenden teilen","shareToOther":"Mit anderen teilen","noLikes":"Gefällt bisher noch niemandem","uploading":"Lädt hoch"},"profile":{"posts":"Beiträge","followers":"Folgende","following":"Folgend","admin":"Admin","collections":"Sammlungen","follow":"Folgen","unfollow":"Entfolgen","editProfile":"Profil bearbeiten","followRequested":"Folgeanfragen","joined":"Beigetreten","emptyCollections":"Wir können keine Sammlungen finden","emptyPosts":"Wir können keine Beiträge finden"},"menu":{"viewPost":"Beitrag anzeigen","viewProfile":"Profil anzeigen","moderationTools":"Moderationswerkzeuge","report":"Melden","archive":"Archivieren","unarchive":"Entarchivieren","embed":"Einbetten","selectOneOption":"Wähle eine der folgenden Optionen","unlistFromTimelines":"Nicht in Timelines listen","addCW":"Inhaltswarnung hinzufügen","removeCW":"Inhaltswarnung entfernen","markAsSpammer":"Als Spammer markieren","markAsSpammerText":"Aus der Zeitleiste entfernen und bisherige und zukünftige Beiträge mit einer Inhaltswarnung versehen","spam":"Spam","sensitive":"Sensibler Inhalt","abusive":"missbräuchlich oder schädigend","underageAccount":"Minderjährigen-Konto","copyrightInfringement":"Urheberrechtsverletzung","impersonation":"Identitätsdiebstahl","scamOrFraud":"Betrug oder Missbrauch","confirmReport":"Meldung bestätigen","confirmReportText":"Bist du sicher, dass du diesen Beitrag melden möchtest?","reportSent":"Meldung gesendet!","reportSentText":"Wir haben deinen Bericht erfolgreich erhalten.","reportSentError":"Es gab ein Problem beim Melden dieses Beitrags.","modAddCWConfirm":"Bist du sicher, dass du diesem Beitrag eine Inhaltswarnung hinzufügen möchtest?","modCWSuccess":"Inhaltswarnung erfolgreich hinzugefügt","modRemoveCWConfirm":"Bist du sicher, dass die Inhaltswarnung auf diesem Beitrag entfernt werden soll?","modRemoveCWSuccess":"Inhaltswarnung erfolgreich entfernt","modUnlistConfirm":"Bist du sicher, dass du diesen Beitrag nicht listen möchtest?","modUnlistSuccess":"Beitrag erfolgreich nicht gelistet","modMarkAsSpammerConfirm":"Bist du sicher, dass du diesen Benutzer als Spam markieren möchtest? Alle existierenden und zukünftigen Beiträge werden nicht mehr in der Zeitleiste angezeigt und mit einer Inhaltswarnung versehen.","modMarkAsSpammerSuccess":"Konto erfolgreich als Spammer markiert","toFollowers":"an die Folgenden","showCaption":"Bildunterschrift anzeigen","showLikes":"\\"Gefällt mir\\" anzeigen","compactMode":"Kompaktmodus","embedConfirmText":"Mit der Nutzung dieser Einbettung erklärst du dich mit unseren","deletePostConfirm":"Bist du sicher, dass du diesen Beitrag löschen möchtest?","archivePostConfirm":"Bist du sicher, dass du diesen Beitrag archivieren möchtest?","unarchivePostConfirm":"Möchten Sie dieses Element wirklich aus dem Archiv zurückholen?"},"story":{"add":"Story hinzufügen"},"timeline":{"peopleYouMayKnow":"Leute, die du vielleicht kennst"},"hashtags":{"emptyFeed":"Wir können keine Beiträge mit diesem Hashtag finden"}}')},25098:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Σχόλιο","commented":"Σχολιασμένο","comments":"Σχόλια","like":"Μου αρέσει","liked":"Μου άρεσε","likes":"Αρέσει","share":"Κοινοποίηση","shared":"Κοινοποιήθηκε","shares":"Κοινοποιήσεις","unshare":"Αναίρεση κοινοποίησης","cancel":"Ακύρωση","copyLink":"Αντιγραφή Συνδέσμου","delete":"Διαγραφή","error":"Σφάλμα","errorMsg":"Κάτι πήγε στραβά. Παρακαλώ δοκιμάστε αργότερα.","oops":"Ουπς!","other":"Άλλο","readMore":"Διαβάστε περισσότερα","success":"Επιτυχής","sensitive":"Ευαίσθητο","sensitiveContent":"Ευαίσθητο περιεχόμενο","sensitiveContentWarning":"Αυτή η δημοσίευση μπορεί να περιέχει ευαίσθητο περιεχόμενο"},"site":{"terms":"Όροι Χρήσης","privacy":"Πολιτική Απορρήτου"},"navmenu":{"search":"Αναζήτηση","admin":"Πίνακας εργαλείων διαχειριστή","homeFeed":"Αρχική ροή","localFeed":"Τοπική Ροή","globalFeed":"Ομοσπονδιακή Ροή","discover":"Ανακαλύψτε","directMessages":"Προσωπικά Μηνύματα","notifications":"Ειδοποιήσεις","groups":"Ομάδες","stories":"Ιστορίες","profile":"Προφίλ","drive":"Χώρος αποθήκευσης","settings":"Ρυθμίσεις","compose":"Δημιουργία νέου","logout":"Αποσύνδεση","about":"Σχετικά με","help":"Βοήθεια","language":"Γλώσσα","privacy":"Ιδιωτικότητα","terms":"Όροι","backToPreviousDesign":"Go back to previous design"},"directMessages":{"inbox":"Εισερχόμενα","sent":"Απεσταλμένο","requests":"Αιτήματα"},"notifications":{"liked":"επισήμανε ότι του αρέσει το","commented":"σχολίασε στο","reacted":"αντέδρασε στο {item} σας","shared":"κοινοποίησε το {item} σας","tagged":"σας πρόσθεσε με ετικέτα σε μια δημοσίευση","updatedA":"ενημέρωσε ένα","sentA":"έστειλε ένα","followed":"followed","mentioned":"αναφέρθηκε","you":"εσύ","yourApplication":"Η αίτησή σας για συμμετοχή","applicationApproved":"εγκρίθηκε!","applicationRejected":"απορρίφθηκε. Μπορείτε να κάνετε εκ νέου αίτηση για να συμμετάσχετε σε 6 μήνες.","dm":"πμ","groupPost":"ομαδική δημοσίευση","modlog":"modlog","post":"δημοσίευση","story":"ιστορία"},"post":{"shareToFollowers":"Μοιραστείτε με τους ακόλουθους","shareToOther":"Share to other","noLikes":"Δεν υπάρχουν likes ακόμα","uploading":"Μεταφόρτωση"},"profile":{"posts":"Δημοσιεύσεις","followers":"Ακόλουθοι","following":"Ακολουθεί","admin":"Διαχειριστής","collections":"Συλλογές","follow":"Ακολούθησε","unfollow":"Διακοπή παρακολούθησης","editProfile":"Επεξεργασία Προφίλ","followRequested":"Ακολουθήστε Το Αίτημα","joined":"Joined","emptyCollections":"Δεν μπορούμε να βρούμε συλλογές","emptyPosts":"Δεν μπορούμε να βρούμε δημοσιεύσεις"},"menu":{"viewPost":"Προβολη Δημοσίευσης","viewProfile":"Προβολή Προφίλ","moderationTools":"Εργαλεία Συντονισμού","report":"Αναφορά","archive":"Αρχειοθέτηση","unarchive":"Αναίρεση αρχειοθέτησης","embed":"Ενσωμάτωση","selectOneOption":"Επιλέξτε μία από τις ακόλουθες επιλογές","unlistFromTimelines":"Unlist from Timelines","addCW":"Προσθήκη Προειδοποίησης Περιεχομένου","removeCW":"Αφαίρεση Προειδοποίησης Περιεχομένου","markAsSpammer":"Σήμανση ως Spammer","markAsSpammerText":"Unlist + CW existing and future posts","spam":"Ανεπιθύμητα","sensitive":"Ευαίσθητο περιεχόμενο","abusive":"Καταχρηστικό ή επιβλαβές","underageAccount":"Λογαριασμός ανηλίκου","copyrightInfringement":"Παραβίαση πνευματικών δικαιωμάτων","impersonation":"Impersonation","scamOrFraud":"Ανεπιθύμητο ή απάτη","confirmReport":"Επιβεβαίωση Αναφοράς","confirmReportText":"Είστε βέβαιοι ότι θέλετε να αναφέρετε αυτή την ανάρτηση;","reportSent":"Η Αναφορά Στάλθηκε!","reportSentText":"Έχουμε λάβει με επιτυχία την αναφορά σας.","reportSentError":"Παρουσιάστηκε ένα πρόβλημα κατά την αναφορά της ανάρτησης.","modAddCWConfirm":"Είστε βέβαιοι ότι θέλετε να προσθέσετε μια προειδοποίηση περιεχομένου σε αυτή την ανάρτηση;","modCWSuccess":"Επιτυχής προσθήκη προειδοποίησης περιεχομένου","modRemoveCWConfirm":"Είστε βέβαιοι ότι θέλετε να αφαιρέσετε την προειδοποίηση περιεχομένου σε αυτή την ανάρτηση;","modRemoveCWSuccess":"Επιτυχής αφαίρεση προειδοποίησης περιεχομένου","modUnlistConfirm":"Are you sure you want to unlist this post?","modUnlistSuccess":"Successfully unlisted post","modMarkAsSpammerConfirm":"Είστε βέβαιοι ότι θέλετε να επισημάνετε αυτόν τον χρήστη ως spammer? Όλες οι υπάρχουσες και μελλοντικές δημοσιεύσεις δεν θα καταχωρούνται στα χρονοδιαγράμματα και θα εφαρμόζεται προειδοποίηση περιεχομένου.","modMarkAsSpammerSuccess":"Επιτυχής σήμανση λογαριασμού ως spammer","toFollowers":"στους Ακόλουθους","showCaption":"Show Caption","showLikes":"Εμφάνιση \\"μου αρέσει\\"","compactMode":"Συμπαγής Λειτουργία","embedConfirmText":"Χρησιμοποιώντας αυτό το ενσωματωμένο, συμφωνείτε με την","deletePostConfirm":"Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτήν την ανάρτηση;","archivePostConfirm":"Είστε βέβαιοι ότι θέλετε να αρχειοθετήσετε αυτή την ανάρτηση;","unarchivePostConfirm":"Είστε βέβαιοι ότι θέλετε να αφαιρέσετε αυτήν την ανάρτηση απο την αρχειοθήκη;"},"story":{"add":"Προσθήκη Ιστορίας"},"timeline":{"peopleYouMayKnow":"Άτομα που μπορεί να ξέρετε"},"hashtags":{"emptyFeed":"Δεν μπορούμε να βρούμε δημοσιεύσεις για αυτό το hashtag"}}')},57048:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Comment","commented":"Commented","comments":"Comments","like":"Like","liked":"Liked","likes":"Likes","share":"Share","shared":"Shared","shares":"Shares","unshare":"Unshare","bookmark":"Bookmark","cancel":"Cancel","copyLink":"Copy Link","delete":"Delete","error":"Error","errorMsg":"Something went wrong. Please try again later.","oops":"Oops!","other":"Other","readMore":"Read more","success":"Success","proceed":"Proceed","next":"Next","close":"Close","clickHere":"click here","sensitive":"Sensitive","sensitiveContent":"Sensitive Content","sensitiveContentWarning":"This post may contain sensitive content"},"site":{"terms":"Terms of Use","privacy":"Privacy Policy"},"navmenu":{"search":"Search","admin":"Admin Dashboard","homeFeed":"Home Feed","localFeed":"Local Feed","globalFeed":"Global Feed","discover":"Discover","directMessages":"Direct Messages","notifications":"Notifications","groups":"Groups","stories":"Stories","profile":"Profile","drive":"Drive","settings":"Settings","compose":"Create New","logout":"Logout","about":"About","help":"Help","language":"Language","privacy":"Privacy","terms":"Terms","backToPreviousDesign":"Go back to previous design"},"directMessages":{"inbox":"Inbox","sent":"Sent","requests":"Requests"},"notifications":{"liked":"liked your","commented":"commented on your","reacted":"reacted to your","shared":"shared your","tagged":"tagged you in a","updatedA":"updated a","sentA":"sent a","followed":"followed","mentioned":"mentioned","you":"you","yourApplication":"Your application to join","applicationApproved":"was approved!","applicationRejected":"was rejected. You can re-apply to join in 6 months.","dm":"dm","groupPost":"group post","modlog":"modlog","post":"post","story":"story","noneFound":"No notifications found"},"post":{"shareToFollowers":"Share to followers","shareToOther":"Share to other","noLikes":"No likes yet","uploading":"Uploading"},"profile":{"posts":"Posts","followers":"Followers","following":"Following","admin":"Admin","collections":"Collections","follow":"Follow","unfollow":"Unfollow","editProfile":"Edit Profile","followRequested":"Follow Requested","joined":"Joined","emptyCollections":"We can\'t seem to find any collections","emptyPosts":"We can\'t seem to find any posts"},"menu":{"viewPost":"View Post","viewProfile":"View Profile","moderationTools":"Moderation Tools","report":"Report","archive":"Archive","unarchive":"Unarchive","embed":"Embed","selectOneOption":"Select one of the following options","unlistFromTimelines":"Unlist from Timelines","addCW":"Add Content Warning","removeCW":"Remove Content Warning","markAsSpammer":"Mark as Spammer","markAsSpammerText":"Unlist + CW existing and future posts","spam":"Spam","sensitive":"Sensitive Content","abusive":"Abusive or Harmful","underageAccount":"Underage Account","copyrightInfringement":"Copyright Infringement","impersonation":"Impersonation","scamOrFraud":"Scam or Fraud","confirmReport":"Confirm Report","confirmReportText":"Are you sure you want to report this post?","reportSent":"Report Sent!","reportSentText":"We have successfully received your report.","reportSentError":"There was an issue reporting this post.","modAddCWConfirm":"Are you sure you want to add a content warning to this post?","modCWSuccess":"Successfully added content warning","modRemoveCWConfirm":"Are you sure you want to remove the content warning on this post?","modRemoveCWSuccess":"Successfully removed content warning","modUnlistConfirm":"Are you sure you want to unlist this post?","modUnlistSuccess":"Successfully unlisted post","modMarkAsSpammerConfirm":"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.","modMarkAsSpammerSuccess":"Successfully marked account as spammer","toFollowers":"to Followers","showCaption":"Show Caption","showLikes":"Show Likes","compactMode":"Compact Mode","embedConfirmText":"By using this embed, you agree to our","deletePostConfirm":"Are you sure you want to delete this post?","archivePostConfirm":"Are you sure you want to archive this post?","unarchivePostConfirm":"Are you sure you want to unarchive this post?"},"story":{"add":"Add Story"},"timeline":{"peopleYouMayKnow":"People you may know","onboarding":{"welcome":"Welcome","thisIsYourHomeFeed":"This is your home feed, a chronological feed of posts from accounts you follow.","letUsHelpYouFind":"Let us help you find some interesting people to follow","refreshFeed":"Refresh my feed"}},"hashtags":{"emptyFeed":"We can\'t seem to find any posts for this hashtag"},"report":{"report":"Report","selectReason":"Select a reason","reported":"Reported","sendingReport":"Sending report","thanksMsg":"Thanks for the report, people like you help keep our community safe!","contactAdminMsg":"If you\'d like to contact an administrator about this post or report"}}')},31583:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Comentario","commented":"Comentado","comments":"Comentarios","like":"Me gusta","liked":"Te gusta","likes":"Me gustas","share":"Compartir","shared":"Compartido","shares":"Compartidos","unshare":"No compartir","cancel":"Cancelar","copyLink":"Copiar Enlace","delete":"Eliminar","error":"Error","errorMsg":"Algo fue mal. Por favor inténtelo de nuevo más tarde.","oops":"Upss!","other":"Otros","readMore":"Ver más","success":"Correcto","sensitive":"Sensible","sensitiveContent":"Contenido Sensible","sensitiveContentWarning":"Este post podría tener contenido sensible"},"site":{"terms":"Términos de Uso","privacy":"Política de Privacidad"},"navmenu":{"search":"Buscar","admin":"Panel de Administrador","homeFeed":"Feed Principal","localFeed":"Feed Local","globalFeed":"Feed Global","discover":"Descubre","directMessages":"Mensajes Directos","notifications":"Notificaciones","groups":"Grupos","stories":"Historias","profile":"Perfil","drive":"Multimedia","settings":"Ajustes","compose":"Crear Nuevo","logout":"Logout","about":"Acerca de","help":"Ayuda","language":"Idioma","privacy":"Privacidad","terms":"Términos","backToPreviousDesign":"Volver al diseño anterior"},"directMessages":{"inbox":"Entrada","sent":"Enviado","requests":"Solicitudes"},"notifications":{"liked":"le gustó tu","commented":"comentó en tu","reacted":"reaccionó a tu","shared":"ha compartido tu","tagged":"te ha etiquetado en","updatedA":"actualizó una","sentA":"envió un","followed":"te siguió","mentioned":"te mencionó","you":"tú","yourApplication":"Tu solicitud para unirse","applicationApproved":"ha sido aprobada!","applicationRejected":"ha sido rechazada. Puedes volver a solicitar unirte en 6 meses.","dm":"md","groupPost":"publicación de grupo","modlog":"modlog","post":"publicación","story":"historia"},"post":{"shareToFollowers":"Compartir a seguidores","shareToOther":"Compartir a otros","noLikes":"No hay me gustas","uploading":"Subiendo"},"profile":{"posts":"Publicaciones","followers":"Seguidores","following":"Siguiendo","admin":"Administrador","collections":"Colecciones","follow":"Seguir","unfollow":"Dejar de seguir","editProfile":"Editar Perfil","followRequested":"Seguimiento Solicitado","joined":"Se unió","emptyCollections":"We can\'t seem to find any collections","emptyPosts":"We can\'t seem to find any posts"},"menu":{"viewPost":"Ver Publicación","viewProfile":"Ver Perfil","moderationTools":"Herramientas de Moderación","report":"Reportar","archive":"Archivar","unarchive":"No Archivar","embed":"Incrustar","selectOneOption":"Escoge una de las siguientes opciones","unlistFromTimelines":"No listar en Líneas Temporales","addCW":"Añadir Spoiler","removeCW":"Quitar Spoiler","markAsSpammer":"Marcar como Spammer","markAsSpammerText":"No listar + Spoiler publicaciones actuales y futuras","spam":"Spam","sensitive":"Contenido Sensible","abusive":"Abusivo o Dañino","underageAccount":"Cuenta de Menor de Edad","copyrightInfringement":"Violación de Copyright","impersonation":"Suplantación","scamOrFraud":"Scam o Fraude","confirmReport":"Confirmar Reporte","confirmReportText":"¿Seguro que quieres reportar esta publicación?","reportSent":"¡Reporte enviado!","reportSentText":"Hemos recibido tu reporte de forma satisfactoria.","reportSentError":"Hubo un problema reportando esta publicación.","modAddCWConfirm":"¿Seguro que desea añadir un spoiler a esta publicación?","modCWSuccess":"Spoiler añadido correctamente","modRemoveCWConfirm":"¿Seguro que desea eliminar el spoiler de esta publicación?","modRemoveCWSuccess":"Spoiler eliminado correctamente","modUnlistConfirm":"¿Seguro que desea no listar esta publicación?","modUnlistSuccess":"Publicación no listada correctamente","modMarkAsSpammerConfirm":"¿Seguro que quiere marcar este usuario como spammer? Todas las publicaciones existentes y futuras no serán listadas en las líneas temporales y se les agregará un Spoiler o alerta de contenido.","modMarkAsSpammerSuccess":"Cuenta marcada como spam correctamente","toFollowers":"a Seguidores","showCaption":"Mostrar subtítulos","showLikes":"Mostrar me gustas","compactMode":"Modo Compacto","embedConfirmText":"Usando este incrustado, usted acepta","deletePostConfirm":"¿Seguro que desea eliminar esta publicación?","archivePostConfirm":"¿Seguro que desea archivar esta publicación?","unarchivePostConfirm":"¿Seguro que desea desarchivar esta publicación?"},"story":{"add":"Añadir Historia"},"timeline":{"peopleYouMayKnow":"Gente que podrías conocer"},"hashtags":{"emptyFeed":"We can\'t seem to find any posts for this hashtag"}}')},48973:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Iruzkindu","commented":"Iruzkinduta","comments":"Iruzkinak","like":"Datsegit","liked":"Datsegit","likes":"Atsegite","share":"Partekatu","shared":"Partekatuta","shares":"Partekatze","unshare":"Utzi partekatzeari","cancel":"Utzi","copyLink":"Kopiatu esteka","delete":"Ezabatu","error":"Errorea","errorMsg":"Zerbait oker joan da. Saiatu berriro beranduago.","oops":"Ene!","other":"Bestelakoa","readMore":"Irakurri gehiago","success":"Burutu da","sensitive":"Hunkigarria","sensitiveContent":"Eduki hunkigarria","sensitiveContentWarning":"Bidalketa honek eduki hunkigarria izan dezake"},"site":{"terms":"Erabilera-baldintzak","privacy":"Pribatutasun politika"},"navmenu":{"search":"Bilatu","admin":"Adminaren panela","homeFeed":"Etxeko jarioa","localFeed":"Jario lokala","globalFeed":"Jario globala","discover":"Aurkitu","directMessages":"Mezu zuzenak","notifications":"Jakinarazpenak","groups":"Taldeak","stories":"Istorioak","profile":"Profila","drive":"Unitatea","settings":"Ezarpenak","compose":"Sortu berria","logout":"Saioa itxi","about":"Honi buruz","help":"Laguntza","language":"Hizkuntza","privacy":"Pribatutasuna","terms":"Baldintzak","backToPreviousDesign":"Itzuli aurreko diseinura"},"directMessages":{"inbox":"Sarrera ontzia","sent":"Bidalita","requests":"Eskaerak"},"notifications":{"liked":"datsegi zure","commented":"iruzkindu du zure","reacted":"-(e)k erantzun egin du zure","shared":"partekatu du zure","tagged":"etiketatu zaitu hemen:","updatedA":"-(e)k eguneratu egin du","sentA":"-(e)k bidali egin du","followed":"honi jarraitzen hasi da:","mentioned":"-(e)k aipatu zaitu","you":"zu","yourApplication":"Elkartzeko zure eskaera","applicationApproved":"onartu da!","applicationRejected":"ez da onartu. Berriz eska dezakezu 6 hilabete barru.","dm":"mezu pribatua","groupPost":"talde argitarapena","modlog":"modloga","post":"bidalketa","story":"istorioa"},"post":{"shareToFollowers":"Partekatu jarraitzaileei","shareToOther":"Partekatu besteekin","noLikes":"Atsegiterik ez oraindik","uploading":"Igotzen"},"profile":{"posts":"Bidalketak","followers":"Jarraitzaileak","following":"Jarraitzen","admin":"Admin","collections":"Bildumak","follow":"Jarraitu","unfollow":"Utzi jarraitzeari","editProfile":"Editatu profila","followRequested":"Jarraitzea eskatuta","joined":"Elkartu da","emptyCollections":"Ez dugu topatu bildumarik","emptyPosts":"Ez dugu topatu bidalketarik"},"menu":{"viewPost":"Ikusi bidalketa","viewProfile":"Ikusi profila","moderationTools":"Moderazio tresnak","report":"Salatu","archive":"Artxiboa","unarchive":"Desartxibatu","embed":"Kapsulatu","selectOneOption":"Hautatu aukera hauetako bat","unlistFromTimelines":"Denbora-lerroetatik ezkutatu","addCW":"Gehitu edukiaren abisua","removeCW":"Kendu edukiaren abisua","markAsSpammer":"Markatu zabor-bidaltzaile gisa","markAsSpammerText":"Ezkutatu + edukiaren abisua jarri etorkizuneko bidalketei","spam":"Zaborra","sensitive":"Eduki hunkigarria","abusive":"Bortxazko edo Mingarria","underageAccount":"Adin txikiko baten kontua","copyrightInfringement":"Copyrightaren urraketa","impersonation":"Nortasunaren iruzurra","scamOrFraud":"Iruzur edo lapurreta","confirmReport":"Berretsi salaketa","confirmReportText":"Ziur al zaude bidalketa hau salatu nahi duzula?","reportSent":"Salaketa bidali da","reportSentText":"Zure salaketa ondo jaso dugu.","reportSentError":"Arazo bat egon da bidalketa hau salatzean.","modAddCWConfirm":"Ziur al zaude edukiaren abisua jarri nahi duzula bidalketa honetan?","modCWSuccess":"Edukiaren abisua ondo gehitu da","modRemoveCWConfirm":"Ziur al zaude edukiaren abisua kendu nahi duzula bidalketa honetarako?","modRemoveCWSuccess":"Edukiaren abisua ondo kendu da","modUnlistConfirm":"Ziur al zaude bidalketa hau ezkutatu nahi duzula?","modUnlistSuccess":"Bidalketa ondo ezkutatu da","modMarkAsSpammerConfirm":"Ziur al zaude erabiltzaile hau zabor-bidaltzaile bezala markatu nahi duzula? Dagoeneko bidali dituen eta etorkizunean bidaliko dituen bidalketak denbora-lerroetatik ezkutatuko dira eta edukiaren abisua ezarriko zaie.","modMarkAsSpammerSuccess":"Kontua zabor-bidaltzaile gisa ondo markatu da","toFollowers":"jarraitzaileei","showCaption":"Irudiaren azalpena erakutsi","showLikes":"Erakutsi atsegiteak","compactMode":"Modu trinkoa","embedConfirmText":"Kapsulatze hau erabiliz, onartzen dituzu gure","deletePostConfirm":"Ziur al zaude bidalketa hau ezabatu nahi duzula?","archivePostConfirm":"Ziur al zaude bidalketa hau artxibatu nahi duzula?","unarchivePostConfirm":"Ziur bidalketa hau desartxibatu nahi duzula?"},"story":{"add":"Gehitu istorioa"},"timeline":{"peopleYouMayKnow":"Ezagutu dezakezun jendea"},"hashtags":{"emptyFeed":"Ez dugu topatu traola hau duen bidalketarik"}}')},15883:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Commenter","commented":"Commenté","comments":"Commentaires","like":"J\'aime","liked":"Aimé","likes":"J\'aime","share":"Partager","shared":"Partagé","shares":"Partages","unshare":"Ne plus partager","cancel":"Annuler","copyLink":"Copier le lien","delete":"Supprimer","error":"Erreur","errorMsg":"Une erreur est survenue. Veuillez réessayer plus tard.","oops":"Zut !","other":"Autre","readMore":"En savoir plus","success":"Opération réussie","sensitive":"Sensible","sensitiveContent":"Contenu sensible","sensitiveContentWarning":"Le contenu de ce message peut être sensible"},"site":{"terms":"Conditions d\'utilisation","privacy":"Politique de confidentialité"},"navmenu":{"search":"Chercher","admin":"Tableau de bord d\'administration","homeFeed":"Fil principal","localFeed":"Fil local","globalFeed":"Fil global","discover":"Découvrir","directMessages":"Messages Privés","notifications":"Notifications","groups":"Groupes","stories":"Stories","profile":"Profil","drive":"Médiathèque","settings":"Paramètres","compose":"Publier","logout":"Logout","about":"À propos","help":"Aide","language":"Langue","privacy":"Confidentialité","terms":"Conditions","backToPreviousDesign":"Revenir au design précédent"},"directMessages":{"inbox":"Boîte de réception","sent":"Boîte d\'envois","requests":"Demandes"},"notifications":{"liked":"a aimé votre","commented":"a commenté votre","reacted":"a réagi à votre","shared":"a partagé votre","tagged":"vous a tagué·e dans un","updatedA":"mis à jour un·e","sentA":"a envoyé un·e","followed":"s\'est abonné·e à","mentioned":"a mentionné","you":"vous","yourApplication":"Votre candidature à rejoindre","applicationApproved":"a été approuvée !","applicationRejected":"a été rejetée. Vous pouvez refaire une demande dans 6 mois.","dm":"mp","groupPost":"publication de groupe","modlog":"journal de modération","post":"publication","story":"story"},"post":{"shareToFollowers":"Partager avec ses abonné·e·s","shareToOther":"Partager avec d\'autres","noLikes":"Aucun J\'aime pour le moment","uploading":"Envoi en cours"},"profile":{"posts":"Publications","followers":"Abonné·e·s","following":"Abonnements","admin":"Administrateur·rice","collections":"Collections","follow":"S\'abonner","unfollow":"Se désabonner","editProfile":"Modifier votre profil","followRequested":"Demande d\'abonnement","joined":"A rejoint","emptyCollections":"Aucune collection ne semble exister","emptyPosts":"Aucune publication ne semble exister"},"menu":{"viewPost":"Voir la publication","viewProfile":"Voir le profil","moderationTools":"Outils de modération","report":"Signaler","archive":"Archiver","unarchive":"Désarchiver","embed":"Intégrer","selectOneOption":"Sélectionnez l\'une des options suivantes","unlistFromTimelines":"Retirer des flux","addCW":"Ajouter un avertissement de contenu","removeCW":"Enlever l’avertissement de contenu","markAsSpammer":"Marquer comme spammeur·euse","markAsSpammerText":"Retirer + avertissements pour les contenus existants et futurs","spam":"Indésirable","sensitive":"Contenu sensible","abusive":"Abusif ou préjudiciable","underageAccount":"Compte d\'un·e mineur·e","copyrightInfringement":"Violation des droits d’auteur","impersonation":"Usurpation d\'identité","scamOrFraud":"Arnaque ou fraude","confirmReport":"Confirmer le signalement","confirmReportText":"Êtes-vous sûr·e de vouloir signaler cette publication ?","reportSent":"Signalement envoyé !","reportSentText":"Nous avons bien reçu votre signalement.","reportSentError":"Une erreur s\'est produite lors du signalement de cette publication.","modAddCWConfirm":"Êtes-vous sûr·e de vouloir ajouter un avertissement de contenu à cette publication ?","modCWSuccess":"Avertissement de contenu ajouté avec succès","modRemoveCWConfirm":"Êtes-vous sûr·e de vouloir supprimer l\'avertissement de contenu sur cette publication ?","modRemoveCWSuccess":"Avertissement de contenu supprimé avec succès","modUnlistConfirm":"Êtes-vous sûr·e de vouloir retirer cette publication des flux ?","modUnlistSuccess":"Publication retirée des fils avec succès","modMarkAsSpammerConfirm":"Êtes-vous sûr·e de vouloir marquer cet utilisateur·rice comme spammeur·euse ? Toutes les publications existantes et futures seront retirées des flux et un avertissement de contenu sera appliqué.","modMarkAsSpammerSuccess":"Compte marqué avec succès comme spammeur","toFollowers":"aux abonné·e·s","showCaption":"Afficher la légende","showLikes":"Afficher les J\'aime","compactMode":"Mode compact","embedConfirmText":"En utilisant ce module, vous acceptez nos","deletePostConfirm":"Êtes-vous sûr·e de vouloir supprimer cette publication ?","archivePostConfirm":"Êtes-vous sûr·e de vouloir archiver cette publication ?","unarchivePostConfirm":"Êtes-vous sûr·e de vouloir désarchiver cette publication ?"},"story":{"add":"Ajouter une story"},"timeline":{"peopleYouMayKnow":"Connaissances possibles"},"hashtags":{"emptyFeed":"Aucune publication ne semble exister pour ce hashtag"}}')},12900:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Beachd","commented":"Commented","comments":"Comments","like":"Like","liked":"Liked","likes":"Likes","share":"Co-roinn","shared":"Shared","shares":"Shares","unshare":"Unshare","cancel":"Sguir dheth","copyLink":"Dèan lethbhreac dhen cheangal","delete":"Sguab às","error":"Mearachd","errorMsg":"Something went wrong. Please try again later.","oops":"Ìoc!","other":"Other","readMore":"Read more","success":"Success","sensitive":"Frionasach","sensitiveContent":"Susbaint fhrionasach","sensitiveContentWarning":"This post may contain sensitive content"},"site":{"terms":"Terms of Use","privacy":"Privacy Policy"},"navmenu":{"search":"Lorg","admin":"Admin Dashboard","homeFeed":"Inbhir na dachaigh","localFeed":"Inbhir ionadail","globalFeed":"Global Feed","discover":"Discover","directMessages":"Direct Messages","notifications":"Brathan","groups":"Buidhnean","stories":"Sgeulan","profile":"Pròifil","drive":"Draibh","settings":"Roghainnean","compose":"Cruthaich fear ùr","logout":"Logout","about":"Mu dhèidhinn","help":"Cobhair","language":"Cànan","privacy":"Prìobhaideachd","terms":"Teirmichean","backToPreviousDesign":"Go back to previous design"},"directMessages":{"inbox":"Am bogsa a-steach","sent":"Sent","requests":"Iarrtasan"},"notifications":{"liked":"liked your","commented":"commented on your","reacted":"reacted to your","shared":"shared your","tagged":"tagged you in a","updatedA":"updated a","sentA":"sent a","followed":"followed","mentioned":"mentioned","you":"you","yourApplication":"Your application to join","applicationApproved":"was approved!","applicationRejected":"was rejected. You can re-apply to join in 6 months.","dm":"dm","groupPost":"group post","modlog":"modlog","post":"post","story":"sgeul"},"post":{"shareToFollowers":"Share to followers","shareToOther":"Share to other","noLikes":"No likes yet","uploading":"Uploading"},"profile":{"posts":"Posts","followers":"Followers","following":"Following","admin":"Admin","collections":"Cruinneachaidhean","follow":"Lean air","unfollow":"Unfollow","editProfile":"Deasaich a’ phròifil","followRequested":"Follow Requested","joined":"Joined","emptyCollections":"We can\'t seem to find any collections","emptyPosts":"We can\'t seem to find any posts"},"menu":{"viewPost":"Seall am post","viewProfile":"Seall a’ phròifil","moderationTools":"Innealan na maorsainneachd","report":"Report","archive":"Archive","unarchive":"Unarchive","embed":"Leabaich","selectOneOption":"Tagh tè dhe na roghainnean seo","unlistFromTimelines":"Unlist from Timelines","addCW":"Cuir rabhadh susbainte ris","removeCW":"Thoir air falbh an rabhadh susbainte","markAsSpammer":"Cuir comharra gur e spamair a th’ ann","markAsSpammerText":"Unlist + CW existing and future posts","spam":"Spama","sensitive":"Susbaint fhrionasach","abusive":"Abusive or Harmful","underageAccount":"Underage Account","copyrightInfringement":"Copyright Infringement","impersonation":"Impersonation","scamOrFraud":"Scam or Fraud","confirmReport":"Dearbh an gearan","confirmReportText":"Are you sure you want to report this post?","reportSent":"Chaidh an gearan a chur!","reportSentText":"Fhuair sinn do ghearan.","reportSentError":"There was an issue reporting this post.","modAddCWConfirm":"Are you sure you want to add a content warning to this post?","modCWSuccess":"Successfully added content warning","modRemoveCWConfirm":"Are you sure you want to remove the content warning on this post?","modRemoveCWSuccess":"Successfully removed content warning","modUnlistConfirm":"Are you sure you want to unlist this post?","modUnlistSuccess":"Successfully unlisted post","modMarkAsSpammerConfirm":"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.","modMarkAsSpammerSuccess":"Successfully marked account as spammer","toFollowers":"to Followers","showCaption":"Seall am fo-thiotal","showLikes":"Show Likes","compactMode":"Compact Mode","embedConfirmText":"By using this embed, you agree to our","deletePostConfirm":"A bheil thu cinnteach gu bheil thu airson am post seo a sguabadh às?","archivePostConfirm":"A bheil thu cinnteach gu bheil thu airson am post seo a chur dhan tasg-lann?","unarchivePostConfirm":"Are you sure you want to unarchive this post?"},"story":{"add":"Cuir sgeul ris"},"timeline":{"peopleYouMayKnow":"People you may know"},"hashtags":{"emptyFeed":"We can\'t seem to find any posts for this hashtag"}}')},34860:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Comentar","commented":"Comentou","comments":"Comentarios","like":"Agrádame","liked":"Gustoulle","likes":"Gustoulle","share":"Compartir","shared":"Compartiu","shares":"Compartido","unshare":"Non compartir","cancel":"Cancelar","copyLink":"Copiar ligazón","delete":"Eliminar","error":"Erro","errorMsg":"Algo foi mal. Ténteo de novo máis tarde.","oops":"Vaites!","other":"Outro","readMore":"Ler máis","success":"Éxito","sensitive":"Sensible","sensitiveContent":"Contido sensible","sensitiveContentWarning":"Esta publicación pode conter contido sensible"},"site":{"terms":"Termos de uso","privacy":"Política de Privacidade"},"navmenu":{"search":"Busca","admin":"Panel Administrativo","homeFeed":"Cronoloxía de Inicio","localFeed":"Cronoloxía Local","globalFeed":"Cronoloxía Global","discover":"Descubrir","directMessages":"Mensaxes Directas","notifications":"Notificacións","groups":"Grupos","stories":"Historias","profile":"Perfil","drive":"Drive","settings":"Axustes","compose":"Crear Nova","logout":"Logout","about":"Acerca de","help":"Axuda","language":"Idioma","privacy":"Privacidade","terms":"Termos","backToPreviousDesign":"Volver ó deseño previo"},"directMessages":{"inbox":"Bandexa de entrada","sent":"Enviados","requests":"Peticións"},"notifications":{"liked":"gustoulle a túa","commented":"comentou na túa","reacted":"reaccionou a túa","shared":"compartiu a túa","tagged":"etiquetoute nunca","updatedA":"actualizou unha","sentA":"enviou unha","followed":"seguiu","mentioned":"mencionou","you":"you","yourApplication":"A túa solicitude para unirte","applicationApproved":"foi aprobada!","applicationRejected":"for rexeitada. Podes volver a solicitar unirte en 6 meses.","dm":"md","groupPost":"group post","modlog":"modlog","post":"publicación","story":"historia"},"post":{"shareToFollowers":"Compartir a seguidores","shareToOther":"Compartir a outros","noLikes":"Sen gústame por agora","uploading":"Subindo"},"profile":{"posts":"Publicacións","followers":"Seguidores","following":"Seguindo","admin":"Administrador","collections":"Coleccións","follow":"Seguir","unfollow":"Deixar de seguir","editProfile":"Editar perfil","followRequested":"Seguimento pedido","joined":"Uniuse","emptyCollections":"We can\'t seem to find any collections","emptyPosts":"We can\'t seem to find any posts"},"menu":{"viewPost":"Ver publicación","viewProfile":"Ver perfil","moderationTools":"Ferramentas de moderación","report":"Informar","archive":"Arquivar","unarchive":"Desarquivar","embed":"Incrustar","selectOneOption":"Elixe unha das seguintes opcións","unlistFromTimelines":"Desalistar das cronoloxías","addCW":"Engadir aviso sobre o contido","removeCW":"Retirar o aviso sobre o contido","markAsSpammer":"Marcar como Spammer","markAsSpammerText":"Desalistar + aviso sobre o contido en publicacións existentes e futuras","spam":"Spam","sensitive":"Contido sensible","abusive":"Abusivo ou daniño","underageAccount":"Conta de minor de idade","copyrightInfringement":"Violación dos dereitos de autor","impersonation":"Suplantación de identidade","scamOrFraud":"Estafa ou fraude","confirmReport":"Confirmar reporte","confirmReportText":"Seguro que queres informar sobre esta publicación?","reportSent":"Informe enviado!","reportSentText":"Recibimos correctamente o teu informe.","reportSentError":"Houbo un problema reportando esta publicación.","modAddCWConfirm":"Seguro que queres engadir un aviso de contido sobre esta publicación?","modCWSuccess":"Aviso de contido engadido correctamente","modRemoveCWConfirm":"Seguro que queres eliminar o aviso de contido sobre esta publicación?","modRemoveCWSuccess":"Aviso de contido eliminado correctamente","modUnlistConfirm":"Seguro que queres desalistar esta publicación?","modUnlistSuccess":"Publicación desalistada correctamente","modMarkAsSpammerConfirm":"Seguro que queres marcar a este usuario como spam? Todas as publicacións existentes e futuras serán desalistadas das cronoloxías e un aviso de contido será aplicado.","modMarkAsSpammerSuccess":"Conta marcada como spam correctamente","toFollowers":"para Seguidores","showCaption":"Mostrar descrición","showLikes":"Mostrar os gústame","compactMode":"Modo compacto","embedConfirmText":"Utilizando ese incrustado, aceptas","deletePostConfirm":"Seguro que queres eliminar esta publicación?","archivePostConfirm":"Seguro que queres arquivar esta publicación?","unarchivePostConfirm":"Seguro que queres desarquivar esta publicación?"},"story":{"add":"Engadir historia"},"timeline":{"peopleYouMayKnow":"Xente que podes coñecer"},"hashtags":{"emptyFeed":"We can\'t seem to find any posts for this hashtag"}}')},61344:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"תגובה","commented":"הגיבו","comments":"תגובות","like":"אוהב","liked":"אהבתי","likes":"אהבות","share":"שיתוף","shared":"שיתפו","shares":"שיתופים","unshare":"ביטול-שיתוף","cancel":"ביטול","copyLink":"העתק קישור","delete":"מחק","error":"שגיאה","errorMsg":"משהו השתבש. אנא נסו שוב מאוחר יותר.","oops":"אופס!","other":"אחר","readMore":"קרא עוד","success":"הצלחה","sensitive":"רגיש","sensitiveContent":"תוכן רגיש","sensitiveContentWarning":"פוסט זה עלול להכיל תוכן רגיש"},"site":{"terms":"תנאי שימוש","privacy":"מדיניות פרטיות"},"navmenu":{"search":"חיפוש","admin":"לוח בקרה למנהל","homeFeed":"פיד ביתי","localFeed":"פיד מקומי","globalFeed":"פיד גלובאלי","discover":"גלו","directMessages":"הודעות אישיות","notifications":"התראות","groups":"קבוצות","stories":"סיפורים","profile":"פרופיל","drive":"כונן (דרייב)","settings":"הגדרות","compose":"צרו חדש","logout":"התנתק/י","about":"אודות","help":"עזרה","language":"שפה","privacy":"פרטיות","terms":"תנאים","backToPreviousDesign":"חזרה לעיצוב הקודם"},"directMessages":{"inbox":"הודעות נכנסות","sent":"הודעות יוצאות","requests":"בקשות"},"notifications":{"liked":"אהבו לך","commented":"הגיבו לך על","reacted":"הגיבו לך על","shared":"שיתפו לך","tagged":"תייגו אותך בתוך","updatedA":"עדכנו","sentA":"שלחו","followed":"עוקבים","mentioned":"ציינו","you":"אתכם","yourApplication":"בקשתכם להצטרפות","applicationApproved":"אושרה!","applicationRejected":"נדחתה. ניתן לשלוח בקשה חוזרת לאחר 6 חודשים.","dm":"הודעה אישית","groupPost":"פוסט קבוצתי","modlog":"לוג מנהלים","post":"פוסט","story":"סטורי"},"post":{"shareToFollowers":"שתף לעוקבים","shareToOther":"שתף ל-אחר","noLikes":"אין עדיין סימוני \\"אהבתי\\"","uploading":"מעלה"},"profile":{"posts":"פוסטים","followers":"עוקבים","following":"עוקב/ת","admin":"מנהל מערכת","collections":"אוספים","follow":"עקוב","unfollow":"הפסק מעקב","editProfile":"ערוך פרופיל","followRequested":"בקשת עקיבה","joined":"הצטרפויות","emptyCollections":"לא נמצאו אוספים","emptyPosts":"לא נמצאו פוסטים"},"menu":{"viewPost":"הצג פוסט","viewProfile":"הצג פרופיל","moderationTools":"כלי ניהול","report":"דווח","archive":"ארכיון","unarchive":"הסר מהארכיון","embed":"הטמע","selectOneOption":"בחר באחד מהאפשרויות הבאות","unlistFromTimelines":"העלם מטיימליינים","addCW":"הוסף אזהרת תוכן","removeCW":"הסר אזהרת תוכן","markAsSpammer":"סמן בתור ספאמר (מציף)","markAsSpammerText":"העלם והפעל אזהרת תוכן לפוסטים קיימים ועתידיים","spam":"ספאם","sensitive":"תוכן רגיש","abusive":"תוכן מטריד או מזיק","underageAccount":"תוכן עם קטינים","copyrightInfringement":"הפרת זכויות יוצרים","impersonation":"התחזות","scamOrFraud":"הונאה","confirmReport":"אישור דיווח","confirmReportText":"האם אתם בטוחים שברצונכם לדווח על פוסט זה?","reportSent":"דיווח נשלח!","reportSentText":"התקבלה הדיווח.","reportSentError":"הייתה תקלה בדיווח פוסט זה.","modAddCWConfirm":"אתם בטוחים שברצונכם להוסיף אזהרת תוכן לפוסט זה?","modCWSuccess":"אזהרת תוכן נוספה בהצלחה","modRemoveCWConfirm":"אתם בטוחים שברצונכם להסיר את אזהרת התוכן מפוסט זה?","modRemoveCWSuccess":"אזהרת תוכן הוסרה בהצלחה","modUnlistConfirm":"האם אתם בטוחים שברצונכם להעלים פוסט זה?","modUnlistSuccess":"פוסט הועלם בהצלחה","modMarkAsSpammerConfirm":"האם אתם בטוחים שברצונכם לסמן משתמש זה בתור ספאמר (מציף)? כל הפוסטים הקיימים ועתידיים יועלמו ואזהרת תוכן תופעל.","modMarkAsSpammerSuccess":"חשבון סומן בתור ספאמר בהצלחה","toFollowers":"עבור עוקבים","showCaption":"הצג תיאור","showLikes":"הצג כמות ״אהבתי״","compactMode":"מצב מוקטן","embedConfirmText":"בעט שימוש בהמטעה זו, הנכם מסכימים אל","deletePostConfirm":"האם אתם בטוחים שברצונכם למחוק פוסט זה?","archivePostConfirm":"האם אתם בטוחים שברצונכם להעביר פוסט זה לארכיון?","unarchivePostConfirm":"האם אתם בטוחים שברצונכם להוציא פוסט זה מהארכיון?"},"story":{"add":"הוסף סטורי"},"timeline":{"peopleYouMayKnow":"אנשים שאתם אולי מכירים"},"hashtags":{"emptyFeed":"לא נמצאו פוסטים עבור תיוג זה"}}')},91302:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Komentar","commented":"Dikomentari","comments":"Komentar","like":"Menyukai","liked":"Disukai","likes":"Suka","share":"Bagikan","shared":"Dibagikan","shares":"Dibagikan","unshare":"Batalkan berbagi","cancel":"Batal","copyLink":"Salin tautan","delete":"Hapus","error":"Kesalahan","errorMsg":"Telah terjadi kesalahan. Silakan coba lagi nanti.","oops":"Oops!","other":"Lainnya","readMore":"Baca selengkapnya","success":"Berhasil","sensitive":"Sensitif","sensitiveContent":"Konten Sensitif","sensitiveContentWarning":"Postingan ini mengandung konten sensitif"},"site":{"terms":"Ketentuan Penggunaan","privacy":"Kebijakan Privasi"},"navmenu":{"search":"Cari","admin":"Dasbor Admin","homeFeed":"Beranda","localFeed":"Umpan lokal","globalFeed":"Umpan global","discover":"Jelajahi","directMessages":"Pesan Langsung","notifications":"Notifikasi","groups":"Grup","stories":"Cerita","profile":"Profil","drive":"Perangkat Keras","settings":"Pengaturan","compose":"Membuat baru","logout":"Keluar","about":"Tentang","help":"Bantuan","language":"Bahasa","privacy":"Privasi","terms":"Ketentuan","backToPreviousDesign":"Kembali ke desain sebelumnya"},"directMessages":{"inbox":"Kotak Masuk","sent":"Terkirim","requests":"Permintaan"},"notifications":{"liked":"menyukai","commented":"mengomentari","reacted":"bereaksi terhadap","shared":"membagikan","tagged":"menandai Anda pada sebuah","updatedA":"mengupdate sebuah","sentA":"mengirim sebuah","followed":"diikuti","mentioned":"disebut","you":"anda","yourApplication":"Aplikasi anda untuk mengikuti","applicationApproved":"telah disetujui!","applicationRejected":"telah ditolak. Anda dapat kembali mengajukan untuk bergabung dalam 6 bulan.","dm":"dm","groupPost":"postingan grup","modlog":"modlog","post":"postingan","story":"cerita"},"post":{"shareToFollowers":"Membagikan kepada pengikut","shareToOther":"Membagikan ke orang lain","noLikes":"Belum ada yang menyukai","uploading":"Mengunggah"},"profile":{"posts":"Postingan","followers":"Pengikut","following":"Mengikuti","admin":"Pengelola","collections":"Koleksi","follow":"Ikuti","unfollow":"Berhenti Ikuti","editProfile":"Ubah Profil","followRequested":"Meminta Permintaan Mengikuti","joined":"Bergabung","emptyCollections":"Sepertinya kami tidak dapat menemukan koleksi apapun","emptyPosts":"Sepertinya kami tidak dapat menemukan postingan apapun"},"menu":{"viewPost":"Lihat Postingan","viewProfile":"Lihat Profil","moderationTools":"Alat Moderasi","report":"Laporkan","archive":"Arsipkan","unarchive":"Keluarkan dari arsip","embed":"Penyemat","selectOneOption":"Pilih salah satu dari opsi berikut","unlistFromTimelines":"Keluarkan dari Timeline","addCW":"Tambahkan peringatan konten","removeCW":"Hapus Peringatan Konten","markAsSpammer":"Tandai sebagai pelaku spam","markAsSpammerText":"Hapus dari daftar dan tambahkan peringatan konten pada konten yang telah ada dan akan datang","spam":"Spam","sensitive":"Konten Sensitif","abusive":"Kasar atau Berbahaya","underageAccount":"Akun di bawah umur","copyrightInfringement":"Pelanggaran Hak Cipta","impersonation":"Peniruan","scamOrFraud":"Penipuan","confirmReport":"Konfirmasi Laporan","confirmReportText":"Apakah Anda yakin ingin melaporkan postingan ini?","reportSent":"Laporan Terkirim!","reportSentText":"Kita telah berhasil menerima laporan Anda.","reportSentError":"Ada masalah saat melaporkan postingan ini.","modAddCWConfirm":"Apakah Anda yakin ingin menambahkan peringatan konten pada postingan ini?","modCWSuccess":"Berhasil menambahkan peringatan konten","modRemoveCWConfirm":"Apakah Anda yakin ingin menghapus peringatan konten pada postingan ini?","modRemoveCWSuccess":"Berhasil menghapus peringatan konten","modUnlistConfirm":"Apakah Anda yakin ingin mengeluarkan postingan ini dari daftar?","modUnlistSuccess":"Berhasil mengeluarkan postingan dari daftar","modMarkAsSpammerConfirm":"Apakah Anda ingin menandai pengguna ini sebagai pelaku spam? Semua postingan yang ada dan akan datang akan dihapus dari timeline dan peringatan konten akan diterapkan.","modMarkAsSpammerSuccess":"Berhasil menandai akun sebagai pelaku spam","toFollowers":"kepada Pengikut","showCaption":"Tampilkan Keterangan","showLikes":"Tampilkan suka","compactMode":"Mode Praktis","embedConfirmText":"Dengan menggunakan penyemat ini, Anda setuju dengan","deletePostConfirm":"Apakah Anda yakin ingin menghapus postingan ini?","archivePostConfirm":"Apakah Anda yakin ingin mengarsip postingan ini?","unarchivePostConfirm":"Apakah Anda yakin ingin tidak mengarsipkan postingan ini?"},"story":{"add":"Tambah Cerita"},"timeline":{"peopleYouMayKnow":"Orang yang mungkin Anda kenal"},"hashtags":{"emptyFeed":"Sepertinya kami tidak dapat menemukan postingan untuk tagar ini"}}')},52950:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Commenta","commented":"Commentato","comments":"Commenti","like":"Like","liked":"Like aggiunto","likes":"Tutti i Like","share":"Condividi","shared":"Condiviso","shares":"Condivisioni","unshare":"Annulla condivisione","cancel":"Annulla","copyLink":"Copia link","delete":"Elimina","error":"Errore","errorMsg":"Qualcosa è andato storto. Sei pregato di riprovare più tardi.","oops":"Ops!","other":"Altro","readMore":"Leggi di più","success":"Riuscito","sensitive":"Sensibile","sensitiveContent":"Contenuto Sensibile","sensitiveContentWarning":"Questo post potrebbe contenere contenuti sensibili"},"site":{"terms":"Termini di Utilizzo","privacy":"Informativa Privacy"},"navmenu":{"search":"Cerca","admin":"Pannello di amministrazione","homeFeed":"Feed Home","localFeed":"Feed Locale","globalFeed":"Feed Globale","discover":"Esplora","directMessages":"Messaggi Diretti","notifications":"Notifiche","groups":"Gruppi","stories":"Storie","profile":"Profilo","drive":"Drive","settings":"Impostazioni","compose":"Crea Nuovo","logout":"Esci","about":"Info","help":"Supporto","language":"Lingua","privacy":"Privacy","terms":"Condizioni","backToPreviousDesign":"Torna al design precedente"},"directMessages":{"inbox":"In arrivo","sent":"Inviata","requests":"Richieste"},"notifications":{"liked":"ha messo like a","commented":"ha commentato","reacted":"ha reagito a","shared":"ha condiviso","tagged":"ti ha taggato in","updatedA":"ha aggiornato un","sentA":"ha inviato un","followed":"stai seguendo","mentioned":"menzionato","you":"tu","yourApplication":"La tua candidatura per unirti","applicationApproved":"è stata approvata!","applicationRejected":"è stata respinta. Puoi richiedere di unirti fra 6 mesi.","dm":"dm","groupPost":"post di gruppo","modlog":"modlog","post":"post","story":"storia"},"post":{"shareToFollowers":"Condividi con i follower","shareToOther":"Condividi con altri","noLikes":"Ancora nessun Like","uploading":"Caricamento in corso"},"profile":{"posts":"Post","followers":"Follower","following":"Seguiti","admin":"Amministrazione","collections":"Collezioni","follow":"Segui","unfollow":"Smetti di seguire","editProfile":"Modifica profilo","followRequested":"Richiesta in attesa","joined":"Iscritto","emptyCollections":"Non riusciamo a trovare alcuna collezione","emptyPosts":"Non riusciamo a trovare alcun post"},"menu":{"viewPost":"Mostra Post","viewProfile":"Mostra Profilo","moderationTools":"Strumenti di moderazione","report":"Segnala","archive":"Archivia","unarchive":"Rimuovi dall\'archivio","embed":"Incorpora","selectOneOption":"Scegli una delle seguenti opzioni","unlistFromTimelines":"Rimuovi dalle Timeline","addCW":"Aggiungi segnalazione","removeCW":"Rimuovi segnalazione","markAsSpammer":"Segna come Spammer","markAsSpammerText":"Rimuovi dalla lista + segnalazione di contenuti sensibili per post attuali e futuri","spam":"Spam","sensitive":"Contenuto Sensibile","abusive":"Abusivo o Dannoso","underageAccount":"Account di minorenne","copyrightInfringement":"Violazione del copyright","impersonation":"Impersonifica","scamOrFraud":"Truffa o frode","confirmReport":"Conferma Segnalazione","confirmReportText":"Sei sicurə di voler segnalare questo contenuto?","reportSent":"Segnalazione inviata!","reportSentText":"Abbiamo ricevuto la tua segnalazione con successo.","reportSentError":"Si è verificato un problema nella segnalazione di questo post.","modAddCWConfirm":"Sei sicurə di voler segnalare come sensibile questo post?","modCWSuccess":"Segnalazione aggiunta con successo","modRemoveCWConfirm":"Sei sicurə di voler rimuovere la segnalazione da questo post?","modRemoveCWSuccess":"Segnalazione rimossa con successo","modUnlistConfirm":"Sei sicurə di voler rimuovere questo post dall’elenco?","modUnlistSuccess":"Post rimosso dall’elenco con successo","modMarkAsSpammerConfirm":"Sei sicuro di voler contrassegnare questo utente come spammer? Tutti i suoi post esistenti e futuri saranno rimossi dalle timeline e una segnalazione per contenuti sensibili sarà aggiunta.","modMarkAsSpammerSuccess":"Account contrassegnato come spammer con successo","toFollowers":"ai follower","showCaption":"Mostra didascalia","showLikes":"Mostra i like","compactMode":"Modalità compatta","embedConfirmText":"Usando questo strumento, acconsenti ai nostri","deletePostConfirm":"Sei sicurə di voler eliminare questo post?","archivePostConfirm":"Sei sicurə di voler archiviare questo post?","unarchivePostConfirm":"Sei sicurə di voler rimuovere questo post dall’archivio?"},"story":{"add":"Aggiungi Storia"},"timeline":{"peopleYouMayKnow":"Persone che potresti conoscere"},"hashtags":{"emptyFeed":"Non riusciamo a trovare alcun post con questo hashtag"}}')},87286:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"コメント","commented":"コメントされました","comments":"コメント","like":"いいね","liked":"いいねしました","likes":"いいね","share":"共有","shared":"共有されました","shares":"共有","unshare":"共有解除","cancel":"キャンセル","copyLink":"リンクをコピー","delete":"削除","error":"エラー","errorMsg":"何かが間違っています。しばらくしてからやり直してください。","oops":"おおっと!","other":"その他","readMore":"もっと読む","success":"成功しました","sensitive":"センシティブ","sensitiveContent":"センシティブなコンテンツ","sensitiveContentWarning":"この投稿にはセンシティブなコンテンツが含まれている可能性があります"},"site":{"terms":"利用規約","privacy":"プライバシーポリシー"},"navmenu":{"search":"検索","admin":"管理者ダッシュボード","homeFeed":"ホームフィード","localFeed":"ローカルフィード","globalFeed":"グローバルフィード","discover":"発見","directMessages":"ダイレクトメッセージ","notifications":"通知","groups":"グループ","stories":"ストーリーズ","profile":"プロフィール","drive":"ドライブ","settings":"設定","compose":"新規投稿","logout":"ログアウト","about":"このサーバーについて","help":"ヘルプ","language":"言語","privacy":"プライバシー","terms":"利用規約","backToPreviousDesign":"以前のデザインに戻す"},"directMessages":{"inbox":"受信トレイ","sent":"送信済み","requests":"リクエスト"},"notifications":{"liked":"liked your","commented":"commented on your","reacted":"reacted to your","shared":"shared your","tagged":"tagged you in a","updatedA":"updated a","sentA":"sent a","followed":"followed","mentioned":"mentioned","you":"あなた","yourApplication":"Your application to join","applicationApproved":"was approved!","applicationRejected":"was rejected. You can re-apply to join in 6 months.","dm":"dm","groupPost":"グループの投稿","modlog":"モデレーションログ","post":"投稿","story":"ストーリー"},"post":{"shareToFollowers":"フォロワーに共有","shareToOther":"その他に共有","noLikes":"まだ誰からもいいねされていません","uploading":"アップロード中"},"profile":{"posts":"投稿","followers":"フォロワー","following":"フォロー中","admin":"管理者","collections":"コレクション","follow":"フォロー","unfollow":"フォロー解除","editProfile":"プロフィールを編集","followRequested":"フォロー承認待ち","joined":"参加しました","emptyCollections":"コレクションが見つかりませんでした","emptyPosts":"投稿が見つかりませんでした"},"menu":{"viewPost":"投稿を見る","viewProfile":"プロフィールを見る","moderationTools":"モデレーションツール","report":"報告","archive":"アーカイブ","unarchive":"アーカイブを解除","embed":"埋め込み","selectOneOption":"以下の選択肢から1つ選択してください","unlistFromTimelines":"タイムラインに非表示","addCW":"コンテンツ警告を追加","removeCW":"コンテンツ警告を削除","markAsSpammer":"スパムとしてマーク","markAsSpammerText":"非表示+コンテンツ警告を既存の、また将来の投稿に追加","spam":"スパム","sensitive":"センシティブなコンテンツ","abusive":"虐待または有害","underageAccount":"未成年のアカウント","copyrightInfringement":"著作権侵害","impersonation":"なりすまし","scamOrFraud":"詐欺または不正な行為","confirmReport":"報告を送信","confirmReportText":"本当にこの投稿を報告しますか?","reportSent":"報告が送信されました!","reportSentText":"あなたの報告を受け取りました。","reportSentError":"この投稿を報告する際に問題が発生しました。","modAddCWConfirm":"この投稿にコンテンツ警告を追加してもよろしいですか?","modCWSuccess":"コンテンツ警告が追加されました","modRemoveCWConfirm":"本当にこの投稿からコンテンツ警告を削除しますか?","modRemoveCWSuccess":"コンテンツ警告が削除されました","modUnlistConfirm":"本当にこの投稿を非表示にしますか?","modUnlistSuccess":"投稿が非表示になりました","modMarkAsSpammerConfirm":"このユーザーをスパムとして登録していいですか?既存のまた、今後の投稿はすべてタイムラインに表示されず、コンテンツ警告が適用されます。","modMarkAsSpammerSuccess":"アカウントをスパムとしてマークしました","toFollowers":"to Followers","showCaption":"説明を表示","showLikes":"いいねを表示","compactMode":"コンパクトモード","embedConfirmText":"By using this embed, you agree to our","deletePostConfirm":"本当にこの投稿を削除しますか?","archivePostConfirm":"本当にこの投稿をアーカイブしますか?","unarchivePostConfirm":"本当にこの投稿をアーカイブから削除しますか?"},"story":{"add":"ストーリーを追加"},"timeline":{"peopleYouMayKnow":"知り合いかも"},"hashtags":{"emptyFeed":"このハッシュタグの投稿が見つかりませんでした"}}')},66849:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Reactie","commented":"Heeft gereageerd","comments":"Reacties","like":"Leuk","liked":"Leuk gevonden","likes":"Leuk gevonden","share":"Delen","shared":"Gedeeld","shares":"Gedeeld door","unshare":"Niet meer delen","cancel":"Annuleren","copyLink":"Link kopiëren","delete":"Verwijderen","error":"Fout","errorMsg":"Er is iets misgegaan. Probeer het later opnieuw.","oops":"Oeps!","other":"Anders","readMore":"Lees meer","success":"Geslaagd","sensitive":"Gevoelig","sensitiveContent":"Gevoelige inhoud","sensitiveContentWarning":"Deze post kan gevoelige inhoud bevatten"},"site":{"terms":"Gebruiksvoorwaarden","privacy":"Privacy beleid"},"navmenu":{"search":"Zoeken","admin":"Beheerdersdashboard","homeFeed":"Thuis Feed","localFeed":"Lokale Feed","globalFeed":"Globale feed","discover":"Ontdekken","directMessages":"Directe berichten","notifications":"Notificaties","groups":"Groepen","stories":"Verhalen","profile":"Profiel","drive":"Drive","settings":"Instellingen","compose":"Nieuwe aanmaken","logout":"Logout","about":"Over","help":"Hulp","language":"Taal","privacy":"Privacy","terms":"Voorwaarden","backToPreviousDesign":"Ga terug naar het vorige ontwerp"},"directMessages":{"inbox":"Inbox","sent":"Verzonden","requests":"Verzoeken"},"notifications":{"liked":"vond leuk je","commented":"reageerde op je","reacted":"heeft gereageerd op je","shared":"deelde je","tagged":"heeft je gatagged in","updatedA":"heeft bijgewerkt een","sentA":"stuurde een","followed":"volgde","mentioned":"noemde","you":"jou","yourApplication":"Uw aanvraag om toe te treden","applicationApproved":"werd goedgekeurd!","applicationRejected":"werd afgekeurd. Je kunt over 6 maanden opnieuw aanmelden.","dm":"dm","groupPost":"groepspost","modlog":"modlogboek","post":"post","story":"verhaal"},"post":{"shareToFollowers":"Deel met volgers","shareToOther":"Deel met anderen","noLikes":"Nog geen leuks","uploading":"Uploaden"},"profile":{"posts":"Posts","followers":"Volgers","following":"Aan het volgen","admin":"Beheerder","collections":"Collecties","follow":"Volgen","unfollow":"Ontvolgen","editProfile":"Profiel bewerken","followRequested":"Volgen verzocht","joined":"Lid geworden","emptyCollections":"We can\'t seem to find any collections","emptyPosts":"We can\'t seem to find any posts"},"menu":{"viewPost":"Post bekijken","viewProfile":"Profiel bekijken","moderationTools":"Moderatiegereedschappen","report":"Rapporteren","archive":"Archief","unarchive":"Dearchiveren","embed":"Insluiten","selectOneOption":"Selecteer een van de volgende opties","unlistFromTimelines":"Uit tijdlijnen halen","addCW":"Inhoudswaarschuwing toevoegen","removeCW":"Inhoudswaarschuwing verwijderen","markAsSpammer":"Markeren als spammer","markAsSpammerText":"Uit lijst halen + inhoudswaarschuwing bestaande en toekomstige posts","spam":"Spam","sensitive":"Gevoelige inhoud","abusive":"Beledigend of Schadelijk","underageAccount":"Minderjarig account","copyrightInfringement":"Auteursrechtenschending","impersonation":"Impersonatie","scamOrFraud":"Oplichting of fraude","confirmReport":"Bevestig Rapport","confirmReportText":"Weet je zeker dat je deze post wilt rapporteren?","reportSent":"Rapport verzonden!","reportSentText":"We hebben uw rapport met succes ontvangen.","reportSentError":"Er is een probleem opgetreden bij het rapporteren van deze post.","modAddCWConfirm":"Weet u zeker dat u een waarschuwing voor inhoud wilt toevoegen aan deze post?","modCWSuccess":"Inhoudswaarschuwing succesvol toegevoegd","modRemoveCWConfirm":"Weet u zeker dat u de waarschuwing voor inhoud wilt verwijderen van deze post?","modRemoveCWSuccess":"Succesvol de inhoudswaarschuwing verwijderd","modUnlistConfirm":"Weet je zeker dat je deze post uit de lijst wilt halen?","modUnlistSuccess":"Post met succes uit de lijst gehaald","modMarkAsSpammerConfirm":"Weet u zeker dat u deze gebruiker wilt markeren als spammer? Alle bestaande en toekomstige posts worden niet vermeld op tijdlijnen en een waarschuwing over de inhoud zal worden toegepast.","modMarkAsSpammerSuccess":"Account succesvol gemarkeerd als spammer","toFollowers":"naar volgers","showCaption":"Onderschrift tonen","showLikes":"Leuks tonen","compactMode":"Compacte modus","embedConfirmText":"Door deze embed te gebruiken, gaat u akkoord met onze","deletePostConfirm":"Weet je zeker dat je deze post wil verwijderen?","archivePostConfirm":"Weet je zeker dat je deze post wilt archiveren?","unarchivePostConfirm":"Weet je zeker dat je deze post wilt dearchiveren?"},"story":{"add":"Verhaal toevoegen"},"timeline":{"peopleYouMayKnow":"Mensen die u misschien kent"},"hashtags":{"emptyFeed":"We can\'t seem to find any posts for this hashtag"}}')},70707:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Skomentuj","commented":"Skomentowane","comments":"Komentarze","like":"Polub","liked":"Polubione","likes":"Polubienia","share":"Udostępnij","shared":"Udostępnione","shares":"Udostępnione","unshare":"Anuluj udostępnianie","cancel":"Anuluj","copyLink":"Kopiuj Link","delete":"Usuń","error":"Błąd","errorMsg":"Coś poszło nie tak. Spróbuj ponownie później.","oops":"Ups!","other":"Inne","readMore":"Czytaj więcej","success":"Sukces","sensitive":"Wrażliwe","sensitiveContent":"Treść wrażliwa","sensitiveContentWarning":"Ten post może zawierać wrażliwe treści"},"site":{"terms":"Warunki Użytkowania","privacy":"Polityka Prywatności"},"navmenu":{"search":"Szukaj","admin":"Panel administracyjny","homeFeed":"Główny kanał","localFeed":"Lokalny kanał","globalFeed":"Globalny kanał","discover":"Odkrywaj","directMessages":"Wiadomości bezpośrednie","notifications":"Powiadomienia","groups":"Grupy","stories":"Opowieści","profile":"Profil","drive":"Dysk","settings":"Ustawienia","compose":"Utwórz nowy","logout":"Logout","about":"O nas","help":"Pomoc","language":"Język","privacy":"Prywatność","terms":"Regulamin","backToPreviousDesign":"Wróć do poprzedniego wyglądu"},"directMessages":{"inbox":"Wiadomości","sent":"Wysłane","requests":"Prośby o kontakt"},"notifications":{"liked":"polubił(a) twoje","commented":"skomentował(a) twoje","reacted":"zareagował(a) na twoje","shared":"udostępnił(-a) twój","tagged":"oznaczono cię w","updatedA":"zaktualizowano","sentA":"wysłano","followed":"zaobserwował(-a)","mentioned":"wspominał(-a)","you":"ciebie","yourApplication":"Twoja prośba o dołączenie","applicationApproved":"została zatwierdzona!","applicationRejected":"została odrzucona. Możesz ponownie ubiegać się o dołączenie za 6 miesięcy.","dm":"Wiadomość prywatna","groupPost":"post grupowy","modlog":"logi","post":"post","story":"opowieść"},"post":{"shareToFollowers":"Udostępnij obserwującym","shareToOther":"Udostępnij innym","noLikes":"Brak polubień","uploading":"Przesyłanie"},"profile":{"posts":"Posty","followers":"Obserwujący","following":"Obserwowane","admin":"Administrator","collections":"Kolekcje","follow":"Obserwuj","unfollow":"Przestań obserwować","editProfile":"Edytuj profil","followRequested":"Prośba o zaobserwowanie","joined":"Dołączono","emptyCollections":"Nie możemy znaleźć żadnych kolekcji","emptyPosts":"Nie możemy znaleźć żadnych postów"},"menu":{"viewPost":"Zobacz post","viewProfile":"Zobacz profil","moderationTools":"Narzędzia moderacyjne","report":"Zgłoś","archive":"Przenieś do archiwum","unarchive":"Usuń z archiwum","embed":"Osadź","selectOneOption":"Wybierz jedną z następujących opcji","unlistFromTimelines":"Usuń z osi czasu","addCW":"Dodaj ostrzeżenie o treści","removeCW":"Usuń ostrzeżenie o treści","markAsSpammer":"Oznacz jako Spamer","markAsSpammerText":"Usuń z listy i dodaj ostrzeżenia o treści do istniejących i przyszłych postów","spam":"Spam","sensitive":"Treść wrażliwa","abusive":"Obraźliwe lub krzywdzące","underageAccount":"Konto dla niepełnoletnich","copyrightInfringement":"Naruszenie praw autorskich","impersonation":"Podszywanie się pod inne osoby","scamOrFraud":"Oszustwo lub próba wyłudzenia","confirmReport":"Potwierdź zgłoszenie","confirmReportText":"Czy na pewno chcesz zgłosić ten post?","reportSent":"Zgłoszenie wysłane!","reportSentText":"Otrzymaliśmy Twój raport.","reportSentError":"Wystąpił błąd podczas zgłaszania tego posta.","modAddCWConfirm":"Czy na pewno chcesz dodać ostrzeżenie o treści do tego wpisu?","modCWSuccess":"Pomyślnie dodano ostrzeżenie o treści","modRemoveCWConfirm":"Czy na pewno chcesz usunąć ostrzeżenie o treści tego wpisu?","modRemoveCWSuccess":"Pomyślnie usunięto ostrzeżenie o treści","modUnlistConfirm":"Czy na pewno chcesz usunąć z listy ten wpis?","modUnlistSuccess":"Pomyślnie usunięto post z listy","modMarkAsSpammerConfirm":"Czy na pewno chcesz oznaczyć tego użytkownika jako spamera? Wszystkie istniejące i przyszłe posty nie będą wyświetlane na osi czasu i zostaną zastosowane ostrzeżenia o treści.","modMarkAsSpammerSuccess":"Pomyślnie oznaczono konto jako spamer","toFollowers":"do obserwujących","showCaption":"Pokaż podpis","showLikes":"Pokaż polubienia","compactMode":"Tryb kompaktowy","embedConfirmText":"Korzystając z tego osadzenia akceptujesz naszą","deletePostConfirm":"Czy na pewno chcesz usunąć ten post?","archivePostConfirm":"Czy na pewno chcesz zarchiwizować ten post?","unarchivePostConfirm":"Czy na pewno chcesz cofnąć archiwizację tego wpisu?"},"story":{"add":"Dodaj Opowieść"},"timeline":{"peopleYouMayKnow":"Ludzie, których możesz znać"},"hashtags":{"emptyFeed":"Nie możemy znaleźć żadnych postów dla tego hasztaga"}}')},85147:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Comentar","commented":"Comentado","comments":"Comentários","like":"Curtir","liked":"Curtiu","likes":"Curtidas","share":"Compartilhar","shared":"Compartilhado","shares":"Compartilhamentos","unshare":"Desfazer compartilhamento","cancel":"Cancelar","copyLink":"Copiar link","delete":"Apagar","error":"Erro","errorMsg":"Algo deu errado. Por favor, tente novamente mais tarde.","oops":"Opa!","other":"Outro","readMore":"Leia mais","success":"Sucesso","sensitive":"Sensível","sensitiveContent":"Conteúdo sensível","sensitiveContentWarning":"Esta publicação pode conter conteúdo inapropriado"},"site":{"terms":"Termos de Uso","privacy":"Política de Privacidade"},"navmenu":{"search":"Pesquisar","admin":"Painel do Administrador","homeFeed":"Página inicial","localFeed":"Feed local","globalFeed":"Feed global","discover":"Explorar","directMessages":"Mensagens privadas","notifications":"Notificações","groups":"Grupos","stories":"Histórias","profile":"Perfil","drive":"Mídias","settings":"Configurações","compose":"Criar novo","logout":"Sair","about":"Sobre","help":"Ajuda","language":"Idioma","privacy":"Privacidade","terms":"Termos","backToPreviousDesign":"Voltar ao design anterior"},"directMessages":{"inbox":"Caixa de entrada","sent":"Enviadas","requests":"Solicitações"},"notifications":{"liked":"curtiu seu","commented":"comentou em seu","reacted":"reagiu ao seu","shared":"compartilhou seu","tagged":"marcou você em um","updatedA":"atualizou um(a)","sentA":"enviou um","followed":"seguiu","mentioned":"mencionado","you":"você","yourApplication":"Sua inscrição para participar","applicationApproved":"foi aprovado!","applicationRejected":"foi rejeitado. Você pode se inscrever novamente para participar em 6 meses.","dm":"mensagem direta","groupPost":"postagem do grupo","modlog":"histórico de moderação","post":"publicação","story":"história"},"post":{"shareToFollowers":"Compartilhar com os seguidores","shareToOther":"Compartilhar com outros","noLikes":"Ainda sem curtidas","uploading":"Enviando"},"profile":{"posts":"Publicações","followers":"Seguidores","following":"Seguindo","admin":"Administrador","collections":"Coleções","follow":"Seguir","unfollow":"Deixar de seguir","editProfile":"Editar Perfil","followRequested":"Solicitação de seguir enviada","joined":"Entrou","emptyCollections":"Não conseguimos encontrar nenhuma coleção","emptyPosts":"Não encontramos nenhuma publicação"},"menu":{"viewPost":"Ver publicação","viewProfile":"Ver Perfil","moderationTools":"Ferramentas de moderação","report":"Denunciar","archive":"Arquivo","unarchive":"Desarquivar","embed":"Incorporar","selectOneOption":"Selecione uma das opções a seguir","unlistFromTimelines":"Retirar das linhas do tempo","addCW":"Adicionar aviso de conteúdo","removeCW":"Remover aviso de conteúdo","markAsSpammer":"Marcar como Spammer","markAsSpammerText":"Retirar das linhas do tempo + adicionar aviso de conteúdo às publicações antigas e futuras","spam":"Lixo Eletrônico","sensitive":"Conteúdo sensível","abusive":"Abusivo ou Prejudicial","underageAccount":"Conta de menor de idade","copyrightInfringement":"Violação de direitos autorais","impersonation":"Roubo de identidade","scamOrFraud":"Golpe ou Fraude","confirmReport":"Confirmar denúncia","confirmReportText":"Você realmente quer denunciar esta publicação?","reportSent":"Denúncia enviada!","reportSentText":"Nós recebemos sua denúncia com sucesso.","reportSentError":"Houve um problema ao denunciar esta publicação.","modAddCWConfirm":"Você realmente quer adicionar um aviso de conteúdo a esta publicação?","modCWSuccess":"Aviso de conteúdo sensível adicionado com sucesso","modRemoveCWConfirm":"Você realmente quer remover o aviso de conteúdo desta publicação?","modRemoveCWSuccess":"Aviso de conteúdo sensível removido com sucesso","modUnlistConfirm":"Você realmente quer definir esta publicação como não listada?","modUnlistSuccess":"A publicação foi definida como não listada com sucesso","modMarkAsSpammerConfirm":"Você realmente quer denunciar este usuário por spam? Todas as suas publicações anteriores e futuras serão marcadas com um aviso de conteúdo e removidas das linhas do tempo.","modMarkAsSpammerSuccess":"Perfil denunciado com sucesso","toFollowers":"para seguidores","showCaption":"Mostrar legenda","showLikes":"Mostrar curtidas","compactMode":"Modo compacto","embedConfirmText":"Ao usar de forma “embed”, você concorda com nossas","deletePostConfirm":"Você tem certeza que deseja excluir esta publicação?","archivePostConfirm":"Tem certeza que deseja arquivar esta publicação?","unarchivePostConfirm":"Tem certeza que deseja desarquivar esta publicação?"},"story":{"add":"Adicionar Story"},"timeline":{"peopleYouMayKnow":"Pessoas que você talvez conheça"},"hashtags":{"emptyFeed":"Não encontramos nenhuma publicação com esta hashtag"}}')},20466:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Комментарий","commented":"Прокомментировано","comments":"Комментарии","like":"Мне нравится","liked":"Вы лайкнули","likes":"Лайки","share":"Поделиться","shared":"Поделились","shares":"Поделились","unshare":"Не делиться","cancel":"Отмена","copyLink":"Скопировать ссылку","delete":"Удалить","error":"Ошибка","errorMsg":"Что-то пошло не так. Пожалуйста, попробуйте еще раз позже.","oops":"Упс!","other":"Прочее","readMore":"Читать далее","success":"Успешно","sensitive":"Чувствительный","sensitiveContent":"Чувствительный контент","sensitiveContentWarning":"Этот пост может содержать чувствительный контент"},"site":{"terms":"Условия использования","privacy":"Политика конфиденциальности"},"navmenu":{"search":"Поиск","admin":"Панель администратора","homeFeed":"Домашняя лента","localFeed":"Локальная лента","globalFeed":"Глобальная лента","discover":"Общее","directMessages":"Личные Сообщения","notifications":"Уведомления","groups":"Группы","stories":"Истории","profile":"Профиль","drive":"Диск","settings":"Настройки","compose":"Создать новый пост","logout":"Logout","about":"О нас","help":"Помощь","language":"Язык","privacy":"Конфиденциальность","terms":"Условия использования","backToPreviousDesign":"Вернуться к предыдущему дизайну"},"directMessages":{"inbox":"Входящие","sent":"Отправленные","requests":"Запросы"},"notifications":{"liked":"понравился ваш","commented":"прокомментировал ваш","reacted":"отреагировал на ваш","shared":"поделился вашим","tagged":"отметил вас в публикации","updatedA":"updated a","sentA":"отправил","followed":"подписался","mentioned":"mentioned","you":"вы","yourApplication":"Ваше заявка на вступление","applicationApproved":"было одобрено!","applicationRejected":"было отклонено. Вы можете повторно подать заявку на регистрацию в течение 6 месяцев.","dm":"сообщение","groupPost":"сообщения группы","modlog":"modlog","post":"пост","story":"история"},"post":{"shareToFollowers":"Поделиться с подписчиками","shareToOther":"Поделиться с другими","noLikes":"Пока никому не понравилось","uploading":"Загружается"},"profile":{"posts":"Посты","followers":"Подписчики","following":"Подписки","admin":"Администратор","collections":"Коллекции","follow":"Подписаться","unfollow":"Отписаться","editProfile":"Редактировать профиль","followRequested":"Хочет на Вас подписаться","joined":"Регистрация","emptyCollections":"Похоже, мы не можем найти ни одной коллекции","emptyPosts":"Похоже, мы не можем найти ни одной записи"},"menu":{"viewPost":"Показать пост","viewProfile":"Посмотреть профиль","moderationTools":"Инструменты модерации","report":"Пожаловаться","archive":"Архив","unarchive":"Вернуть из архива","embed":"Встроить","selectOneOption":"Выберите один из вариантов","unlistFromTimelines":"Скрыть из лент","addCW":"Добавить предупреждение о контенте","removeCW":"Удалить предупреждение о контенте","markAsSpammer":"Пометить как спамера","markAsSpammerText":"Unlist + CW existing and future posts","spam":"Спам","sensitive":"Деликатный контент","abusive":"Жестокое обращение или причинение вреда","underageAccount":"Несовершеннолетний аккаунт","copyrightInfringement":"Нарушение авторских прав","impersonation":"Представление себя за другого человека","scamOrFraud":"Обман или мошенничество","confirmReport":"Подтвердить жалобу","confirmReportText":"Вы действительно хотите пожаловаться на этот пост?","reportSent":"Жалоба отправлена!","reportSentText":"Мы успешно получили Вашу жалобу.","reportSentError":"При отправке жалобы на этот пост произошла ошибка.","modAddCWConfirm":"Вы действительно хотите добавить предупреждение о контенте на этот пост?","modCWSuccess":"Предупреждение о контенте успешно добавлено","modRemoveCWConfirm":"Вы действительно хотите удалить предупреждение о контенте с этого поста?","modRemoveCWSuccess":"Предупреждение о контенте успешно удалено","modUnlistConfirm":"Вы действительно хотите скрыть этот пост из лент?","modUnlistSuccess":"Successfully unlisted post","modMarkAsSpammerConfirm":"Вы уверены, что хотите отметить этого пользователя спамом? Все существующие и будущие сообщения будут исключены из списка в сроки, и будет применяться предупреждение о содержании.","modMarkAsSpammerSuccess":"Аккаунт успешно помечен как спаммер","toFollowers":"to Followers","showCaption":"Показать подпись","showLikes":"Показать отметки \\"мне нравится\\"","compactMode":"Компактный режим","embedConfirmText":"By using this embed, you agree to our","deletePostConfirm":"Вы действительно хотите удалить этот пост?","archivePostConfirm":"Вы действительно хотите архивировать этот пост?","unarchivePostConfirm":"Вы действительно хотите убрать этот пост из архива?"},"story":{"add":"Добавить историю"},"timeline":{"peopleYouMayKnow":"Возможные друзья"},"hashtags":{"emptyFeed":"Похоже, мы не можем найти записи для этого хэштега"}}')},44215:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Коментувати","commented":"Прокоментовано","comments":"Коментарі","like":"Вподобати","liked":"Вподобано","likes":"Вподобання","share":"Поширити","shared":"Поширено","shares":"Поширення","unshare":"Не поширювати","bookmark":"Закладка","cancel":"Скасувати","copyLink":"Копіювати посилання","delete":"Видалити","error":"Помилка","errorMsg":"Щось пішло не так. Повторіть спробу згодом","oops":"Йой!","other":"Інше","readMore":"Докладніше","success":"Успіх","proceed":"Продовжити","next":"Далі","close":"Закрити","clickHere":"натисніть тут","sensitive":"Чутливе","sensitiveContent":"Чутливий вміст","sensitiveContentWarning":"Цей допис може містити чутливий вміст"},"site":{"terms":"Умови використання","privacy":"Політика приватності"},"navmenu":{"search":"Пошук","admin":"Адмінпанель","homeFeed":"Домашня стрічка","localFeed":"Місцева стрічка","globalFeed":"Світова стрічка","discover":"Цікаве","directMessages":"Прямі листи","notifications":"Сповіщення","groups":"Групи","stories":"Сторі","profile":"Профіль","drive":"Сховище","settings":"Параметри","compose":"Створити","logout":"Вийти","about":"Про застосунок","help":"Довідка","language":"Мова","privacy":"Приватність","terms":"Умови","backToPreviousDesign":"Повернути минулий дизайн"},"directMessages":{"inbox":"Вхідні","sent":"Надіслані","requests":"Запити"},"notifications":{"liked":"ставить уподобання під ваш","commented":"коментує ваш","reacted":"реагує на ваш","shared":"поширює ваш","tagged":"позначає вас через","updatedA":"оновлює","sentA":"надсилає","followed":"відстежує","mentioned":"згадує","you":"вас","yourApplication":"Вашу реєстраційну заявку","applicationApproved":"підтверджено!","applicationRejected":"відхилено. Можете повторити спробу через 6 місяців.","dm":"лист","groupPost":"допис у групі","modlog":"моджурнал","post":"допис","story":"сторі","noneFound":"Сповіщень не знайдено"},"post":{"shareToFollowers":"Поширити авдиторії","shareToOther":"Поширити іншим","noLikes":"Вподобань поки нема","uploading":"Вивантаження"},"profile":{"posts":"Дописи","followers":"Авдиторія","following":"Підписки","admin":"Адміністрація","collections":"Збірки","follow":"Стежити","unfollow":"Не стежити","editProfile":"Редагувати профіль","followRequested":"Запит на стеження","joined":"Долучається","emptyCollections":"Збірок у вас поки нема","emptyPosts":"Дописів у вас поки нема"},"menu":{"viewPost":"Переглянути допис","viewProfile":"Переглянути профіль","moderationTools":"Засоби модерування","report":"Скарга","archive":"Архівувати","unarchive":"Розархівувати","embed":"Експорт","selectOneOption":"Оберіть один із наступних варіантів","unlistFromTimelines":"Сховати зі стрічок","addCW":"Застерегти про вміст","removeCW":"Вилучити застереження","markAsSpammer":"Позначити як спам","markAsSpammerText":"Сховати цей і майбутні дописи, додаючи застереження","spam":"Спам","sensitive":"Чутливий вміст","abusive":"Ображає чи шкодить","underageAccount":"Недостатній вік","copyrightInfringement":"Порушує авторські права","impersonation":"Вдає когось","scamOrFraud":"Шахрайство","confirmReport":"Підтвердити скаргу","confirmReportText":"Точно поскаржитись на допис?","reportSent":"Скаргу надіслано!","reportSentText":"Ми успішно отримали вашу скаргу.","reportSentError":"Виникла помилка при надсиланні скарги.","modAddCWConfirm":"Точно додати застереження про вміст цьому допису?","modCWSuccess":"Застереження про вміст успішно додано","modRemoveCWConfirm":"Точно вилучити застереження про вміст із цього допису?","modRemoveCWSuccess":"Застереження про вміст успішно вилучено","modUnlistConfirm":"Точно сховати цей допис?","modUnlistSuccess":"Допис успішно сховано","modMarkAsSpammerConfirm":"Точно позначити цей обліковий запис як спам? Усі наявні й майбутні дописи буде сховано зі стрічок, і їм буде додано застереження про вміст.","modMarkAsSpammerSuccess":"Обліковий запис успішно позначено як спам","toFollowers":"до авдиторії","showCaption":"Показати підпис","showLikes":"Показати вподобання","compactMode":"Компактний режим","embedConfirmText":"Експортуючи кудись допис, ви погоджуєте наші","deletePostConfirm":"Точно видалити допис?","archivePostConfirm":"Точно архівувати допис?","unarchivePostConfirm":"Точно розархівувати допис?"},"story":{"add":"Додати сторі"},"timeline":{"peopleYouMayKnow":"Ймовірні знайомі","onboarding":{"welcome":"Вітаємо","thisIsYourHomeFeed":"Це ваша домашня стрічка — тут будуть дописи від облікових записів, за якими ви стежите, в порядку додання.","letUsHelpYouFind":"Можемо допомогти вам знайти цікавих людей, за якими варто стежити","refreshFeed":"Оновити мою стрічку"}},"hashtags":{"emptyFeed":"Дописів із цим хештегом поки нема"},"report":{"report":"Скарга","selectReason":"Оберіть підставу","reported":"Скаргу надіслано","sendingReport":"Надсилання скарги","thanksMsg":"Дякуємо за скаргу: ви допомагаєте вбезпечити нашу спільноту!","contactAdminMsg":"Якщо бажаєте сконтактувати з адміністрацією про цей допис чи скаргу"}}')},97346:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Bình luận","commented":"Đã bình luận","comments":"Bình luận","like":"Thích","liked":"Đã thích","likes":"Lượt thích","share":"Chia sẻ","shared":"Đã chia sẻ","shares":"Lượt chia sẻ","unshare":"Hủy chia sẻ","cancel":"Hủy","copyLink":"Chép link","delete":"Xóa","error":"Lỗi","errorMsg":"Đã xảy ra lỗi. Vui lòng thử lại sau.","oops":"Rất tiếc!","other":"Khác","readMore":"Xem thêm","success":"Hoàn tất","sensitive":"Nhạy cảm","sensitiveContent":"Nội dung nhạy cảm","sensitiveContentWarning":"Ảnh này có thể chứa nội dung nhạy cảm"},"site":{"terms":"Điều khoản sử dụng","privacy":"Chính sách bảo mật"},"navmenu":{"search":"Tìm kiếm","admin":"Trang quản trị","homeFeed":"Trang chính","localFeed":"Máy chủ","globalFeed":"Liên hợp","discover":"Khám phá","directMessages":"Nhắn riêng","notifications":"Thông báo","groups":"Nhóm","stories":"Khoảnh khắc","profile":"Trang cá nhân","drive":"Lưu trữ","settings":"Thiết lập","compose":"Ảnh mới","logout":"Đăng xuất","about":"Giới thiệu","help":"Trợ giúp","language":"Ngôn ngữ","privacy":"Bảo mật","terms":"Quy tắc","backToPreviousDesign":"Dùng giao diện cũ"},"directMessages":{"inbox":"Hộp thư","sent":"Đã gửi","requests":"Yêu cầu"},"notifications":{"liked":"đã thích ảnh","commented":"bình luận về ảnh","reacted":"xem ảnh","shared":"chia sẻ ảnh","tagged":"nhắc đến bạn trong","updatedA":"đã cập nhật","sentA":"đã gửi một","followed":"đã theo dõi","mentioned":"nhắc đến","you":"bạn","yourApplication":"Đăng ký tham gia của bạn","applicationApproved":"đã được duyệt!","applicationRejected":"đã bị từ chối. Hãy gửi lại trong 6 tháng tiếp theo.","dm":"nt","groupPost":"ảnh đăng nhóm","modlog":"nhật ký kiểm duyệt","post":"bài đăng","story":"khoảnh khắc"},"post":{"shareToFollowers":"Chia sẻ đến người theo dõi","shareToOther":"Chia sẻ tới những người khác","noLikes":"Chưa có lượt thích","uploading":"Đang tải lên"},"profile":{"posts":"Ảnh","followers":"Người theo dõi","following":"Theo dõi","admin":"Quản trị viên","collections":"Bộ sưu tập","follow":"Theo dõi","unfollow":"Ngưng theo dõi","editProfile":"Sửa trang cá nhân","followRequested":"Yêu cầu theo dõi","joined":"Đã tham gia","emptyCollections":"Không tìm thấy bộ sưu tập nào","emptyPosts":"Không tìm thấy ảnh nào"},"menu":{"viewPost":"Xem ảnh","viewProfile":"Xem trang cá nhân","moderationTools":"Kiểm duyệt","report":"Báo cáo","archive":"Lưu trữ","unarchive":"Bỏ lưu trữ","embed":"Nhúng","selectOneOption":"Vui lòng chọn một trong các tùy chọn sau","unlistFromTimelines":"Ẩn khỏi trang chung","addCW":"Thêm cảnh báo nội dung","removeCW":"Xóa cảnh báo nội dung","markAsSpammer":"Đánh dấu spam","markAsSpammerText":"Ẩn khỏi trang chung và chèn cảnh báo nội dung cho tất cả ảnh","spam":"Spam","sensitive":"Nội dung nhạy cảm","abusive":"Lạm dụng hoặc Gây hại","underageAccount":"Tài khoản trẻ em","copyrightInfringement":"Vi phạm bản quyền","impersonation":"Giả mạo","scamOrFraud":"Lừa đảo hoặc Gian lận","confirmReport":"Xác nhận báo cáo","confirmReportText":"Bạn có chắc muốn báo cáo ảnh này?","reportSent":"Đã gửi báo cáo!","reportSentText":"Quản trị viên đã nhận báo cáo của bạn.","reportSentError":"Xảy ra lỗi khi báo cáo ảnh này.","modAddCWConfirm":"Bạn có chắc muốn chèn cảnh báo nội dung ảnh này?","modCWSuccess":"Đã chèn cảnh báo nội dung","modRemoveCWConfirm":"Bạn có chắc muốn gỡ cảnh báo nội dung ảnh này?","modRemoveCWSuccess":"Đã gỡ cảnh báo nội dung","modUnlistConfirm":"Bạn có chắc muốn ẩn ảnh này khỏi trang chung?","modUnlistSuccess":"Đã ẩn khỏi trang chung","modMarkAsSpammerConfirm":"Bạn có chắc muốn đánh dấu người này là spam? Những ảnh của người này sẽ biến mất trong trang chung và cảnh báo nội dung sẽ được áp dụng.","modMarkAsSpammerSuccess":"Đã đánh dấu người này là spam","toFollowers":"tới Người theo dõi","showCaption":"Hiện chú thích","showLikes":"Hiện lượt thích","compactMode":"Chế độ đơn giản","embedConfirmText":"Sử dụng mã nhúng này nghĩa là bạn đồng ý với","deletePostConfirm":"Bạn có chắc muốn xóa ảnh này?","archivePostConfirm":"Bạn có chắc muốn lưu trữ ảnh này?","unarchivePostConfirm":"Bạn có chắc muốn bỏ lưu trữ ảnh này?"},"story":{"add":"Thêm khoảnh khắc"},"timeline":{"peopleYouMayKnow":"Những người bạn có thể biết"},"hashtags":{"emptyFeed":"Không tìm thấy ảnh nào với hashtag này"}}')}},e=>{e.O(0,[3660],(()=>{return t=12887,e(e.s=t);var t}));e.O()}]); \ No newline at end of file +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[3891],{75948:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>u});var a=o(77387),s=o(25100);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function n(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return r(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,a=new Array(t);o{"use strict";o.r(t),o.d(t,{default:()=>a});const a={components:{"post-card":o(42060).default},data:function(){return{loading:!0,config:window.pfl,isFetching:!1,range:"daily",ranges:["daily","monthly","yearly"],rangeIndex:0,feed:[]}},beforeMount:function(){0==this.config.show_explore_feed&&this.$router.push("/")},mounted:function(){this.init()},methods:{init:function(){var e=this;axios.get("/api/pixelfed/v2/discover/posts/trending?range=daily").then((function(t){t&&t.data.length>3?(e.feed=t.data,e.loading=!1):(e.rangeIndex++,e.fetchTrending())}))},fetchTrending:function(){var e=this;this.isFetching||this.rangeIndex>=3||(this.isFetching=!0,axios.get("/api/pixelfed/v2/discover/posts/trending",{params:{range:this.ranges[this.rangeIndex]}}).then((function(t){t&&t.data.length&&2==e.rangeIndex&&t.data.length>3?(e.feed=t.data,e.loading=!1):(e.rangeIndex++,e.isFetching=!1,e.fetchTrending())})))}}}},40245:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={data:function(){return{config:window.pfl,accordionTab:void 0}},methods:{toggleAccordion:function(e){this.accordionTab!=e?this.accordionTab=e:this.accordionTab=void 0},formatCount:function(e){return e?e.toLocaleString("en-CA",{compactDisplay:"short",notation:"compact"}):0},formatBytes:function(e){var t=["byte","kilobyte","megabyte","gigabyte","terabyte"],o=navigator.languages&&navigator.languages.length>=0?navigator.languages[0]:"en-US",a=Math.max(0,Math.min(Math.floor(Math.log(e)/Math.log(1024)),t.length-1));return Intl.NumberFormat(o,{style:"unit",unit:t[a],useGrouping:!1,maximumFractionDigits:0,roundingMode:"ceil"}).format(e/Math.pow(1024,a))}}}},53956:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={props:["post","range"],components:{"post-content":o(79110).default},methods:{timestampToAgo:function(e){var t=Date.parse(e),o=Math.floor((new Date-t)/1e3),a=Math.floor(o/63072e3);return a<0?"0s":a>=1?a+"y":(a=Math.floor(o/604800))>=1?a+"w":(a=Math.floor(o/86400))>=1?a+"d":(a=Math.floor(o/3600))>=1?a+"h":(a=Math.floor(o/60))>=1?a+"m":Math.floor(o)+"s"},timeago:function(e){var t=this.timestampToAgo(e);return t}}}},34655:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={props:["account"],methods:{formatCount:function(e){return e?e.toLocaleString("en-CA",{compactDisplay:"short",notation:"compact"}):0},truncate:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:120;return!e||e.length{"use strict";o.r(t),o.d(t,{default:()=>a});const a={data:function(){return{config:window.pfl}},methods:{getYear:function(){return(new Date).getFullYear()}}}},44943:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>s});var a=o(74692);const s={data:function(){return{config:window.pfl,name:window.pfl.name}},computed:{regLink:{get:function(){return this.config.open_registration?"/register":this.config.curated_onboarding?"/auth/sign_up":void 0}}},mounted:function(){a(window).scroll((function(){a("nav").toggleClass("bg-black",a(this).scrollTop()>20)}))}}},61746:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(18634),s=o(50294),i=o(75938);const n={props:["status"],components:{"read-more":s.default,"video-player":i.default},data:function(){return{key:1,sensitive:!1}},computed:{fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}}},methods:{toggleLightbox:function(e){(0,a.default)({el:e.target})},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},getPoster:function(e){var t=e.media_attachments[0].preview_url;if(!t.endsWith("no-preview.jpg")&&!t.endsWith("no-preview.png"))return t}}}},6140:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={props:{status:{type:Object},cursorLimit:{type:Number,default:200}},data:function(){return{preRender:void 0,fullContent:null,content:null,cursor:200}},mounted:function(){this.rewriteLinks()},methods:{readMore:function(){this.cursor=this.cursor+200,this.content=this.fullContent.substr(0,this.cursor)},rewriteLinks:function(){var e=this,t=this.status.content,o=document.createElement("div");o.innerHTML=t,o.querySelectorAll('a[class*="hashtag"]').forEach((function(e){var t=e.innerText;"#"==t.substr(0,1)&&(t=t.substr(1)),e.removeAttribute("target"),e.setAttribute("href","/i/web/hashtag/"+t)})),o.querySelectorAll('a:not(.hashtag)[class*="mention"], a:not(.hashtag)[class*="list-slug"]').forEach((function(t){var o=t.innerText;if("@"==o.substr(0,1)&&(o=o.substr(1)),0==e.status.account.local&&!o.includes("@")){var a=document.createElement("a");a.href=t.getAttribute("href"),o=o+"@"+a.hostname}t.removeAttribute("target"),t.setAttribute("href","/i/web/username/"+o)})),this.content=o.outerHTML,this.injectCustomEmoji()},injectCustomEmoji:function(){var e=this;this.status.emojis.forEach((function(t){var o=''.concat(t.shortcode,'');e.content=e.content.replace(":".concat(t.shortcode,":"),o)}))}}}},33422:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={props:["status"]}},36639:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>s});var a=o(18634);const s={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(e){this.$emit("togglecw")},toggleLightbox:function(e){(0,a.default)({el:e.target,gallery:"#carousel-"+this.status.id,position:this.$refs.carousel.currentPage})},altText:function(e){var t=e.description;return t||"Photo was not tagged with any alt text."},keypressNavigation:function(e){var t=this.$refs.carousel;if("37"==e.keyCode){e.preventDefault();var o="backward";t.advancePage(o),t.$emit("navigation-click",o)}if("39"==e.keyCode){e.preventDefault();var a="forward";t.advancePage(a),t.$emit("navigation-click",a)}}}}},9266:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>s});var a=o(18634);const s={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(e){var t=e.media_attachments[0].description;return t||"Photo was not tagged with any alt text."},toggleContentWarning:function(e){this.$emit("togglecw")},toggleLightbox:function(e){(0,a.default)({el:e.target})},width:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.width)return this.status.media_attachments[0].meta.original.width},height:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.height)return this.status.media_attachments[0].meta.original.height}}}},35986:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={props:["status"]}},68910:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>r});var a=o(64945),s=(o(34076),o(34330)),i=o.n(s),n=(o(10706),o(71241));const r={props:["status","fixedHeight"],data:function(){return{shouldPlay:!1,hasHls:void 0,hlsConfig:window.App.config.features.hls,liveSyncDurationCount:7,isHlsSupported:!1,isP2PSupported:!1,engine:void 0}},mounted:function(){var e=this;this.$nextTick((function(){e.init()}))},methods:{handleShouldPlay:function(){var e=this;this.shouldPlay=!0,this.isHlsSupported=this.hlsConfig.enabled&&a.default.isSupported(),this.isP2PSupported=this.hlsConfig.enabled&&this.hlsConfig.p2p&&n.Engine.isSupported(),this.$nextTick((function(){e.init()}))},init:function(){var e,t=this;!this.status.sensitive&&null!==(e=this.status.media_attachments[0])&&void 0!==e&&e.hls_manifest&&this.isHlsSupported?(this.hasHls=!0,this.$nextTick((function(){t.initHls()}))):this.hasHls=!1},initHls:function(){var e;if(this.isP2PSupported){var t={loader:{trackerAnnounce:[this.hlsConfig.tracker],rtcConfig:{iceServers:[{urls:[this.hlsConfig.ice]}]}}},o=new n.Engine(t);this.hlsConfig.p2p_debug&&(o.on("peer_connect",(function(e){return console.log("peer_connect",e.id,e.remoteAddress)})),o.on("peer_close",(function(e){return console.log("peer_close",e)})),o.on("segment_loaded",(function(e,t){return console.log("segment_loaded from",t?"peer ".concat(t):"HTTP",e.url)}))),e=o.createLoaderClass()}else e=a.default.DefaultConfig.loader;var s=this.$refs.video,r=this.status.media_attachments[0].hls_manifest,l=(new(i())(s,{captions:{active:!0,update:!0}}),new a.default({liveSyncDurationCount:this.liveSyncDurationCount,loader:e})),c=this;(0,n.initHlsJsPlayer)(l),l.loadSource(r),l.attachMedia(s),l.on(a.default.Events.MANIFEST_PARSED,(function(e,t){this.hlsConfig.debug&&(console.log(e),console.log(t));var o={},n=l.levels.map((function(e){return e.height}));this.hlsConfig.debug&&console.log(n),n.unshift(0),o.quality={default:0,options:n,forced:!0,onChange:function(e){return c.updateQuality(e)}},o.i18n={qualityLabel:{0:"Auto"}},l.on(a.default.Events.LEVEL_SWITCHED,(function(e,t){var o=document.querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");l.autoLevelEnabled?o.innerHTML="Auto (".concat(l.levels[t.level].height,"p)"):o.innerHTML="Auto"}));new(i())(s,o)}))},updateQuality:function(e){var t=this;0===e?window.hls.currentLevel=-1:window.hls.levels.forEach((function(o,a){o.height===e&&(t.hlsConfig.debug&&console.log("Found quality match with "+e),window.hls.currentLevel=a)}))},getPoster:function(e){var t=e.media_attachments[0].preview_url;if(!t.endsWith("no-preview.jpg")&&!t.endsWith("no-preview.png"))return t}}}},25189:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={props:["status"],methods:{altText:function(e){var t=e.media_attachments[0].description;return t||"Video was not tagged with any alt text."},playOrPause:function(e){var t=e.target;1==t.getAttribute("playing")?(t.removeAttribute("playing"),t.pause()):(t.setAttribute("playing",1),t.play())},toggleContentWarning:function(e){this.$emit("togglecw")},poster:function(){var e=this.status.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},94350:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"landing-directory-component"},[t("section",{staticClass:"page-wrapper"},[t("div",{staticClass:"container container-compact"},[t("div",{staticClass:"card bg-bluegray-900",staticStyle:{"border-radius":"10px"}},[t("div",{staticClass:"card-header bg-bluegray-800 nav-menu",staticStyle:{"border-top-left-radius":"10px","border-top-right-radius":"10px"}},[t("ul",{staticClass:"nav justify-content-around"},[t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:"/"}},[e._v("About")])],1),e._v(" "),e.config.show_directory?t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:"/web/directory"}},[e._v("Directory")])],1):e._e(),e._v(" "),e.config.show_explore_feed?t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:"/web/explore"}},[e._v("Explore")])],1):e._e()])]),e._v(" "),t("div",{staticClass:"card-body"},[e._m(0),e._v(" "),e.loading?t("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{"min-height":"500px"}},[t("b-spinner")],1):t("div",{staticClass:"feed-list"},[e._l(e.feed,(function(e){return t("user-card",{key:e.id,attrs:{account:e}})})),e._v(" "),e.canLoadMore&&!e.isEmpty?t("intersect",{on:{enter:e.enterIntersect}},[t("div",{staticClass:"d-flex justify-content-center pt-5 pb-3"},[e.isLoadingMore?t("b-spinner"):e._e()],1)]):e._e()],2),e._v(" "),e.isEmpty?t("div",[e._m(1)]):e._e()])])]),e._v(" "),t("footer-component")],1)])},s=[function(){var e=this._self._c;return e("div",{staticClass:"py-3"},[e("p",{staticClass:"lead text-center"},[this._v("Discover accounts and people")])])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"card card-body bg-bluegray-800"},[t("div",{staticClass:"d-flex justify-content-center align-items-center flex-column py-5"},[t("i",{staticClass:"fal fa-clock fa-6x text-bluegray-500"}),e._v(" "),t("p",{staticClass:"lead font-weight-bold mt-3 mb-0"},[e._v("Nothing to show yet! Check back later.")])])])}]},51829:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"landing-explore-component"},[t("section",{staticClass:"page-wrapper"},[t("div",{staticClass:"container container-compact"},[t("div",{staticClass:"card bg-bluegray-900",staticStyle:{"border-radius":"10px"}},[t("div",{staticClass:"card-header bg-bluegray-800 nav-menu",staticStyle:{"border-top-left-radius":"10px","border-top-right-radius":"10px"}},[t("ul",{staticClass:"nav justify-content-around"},[t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:"/"}},[e._v("About")])],1),e._v(" "),e.config.show_directory?t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:"/web/directory"}},[e._v("Directory")])],1):e._e(),e._v(" "),e.config.show_explore_feed?t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:"/web/explore"}},[e._v("Explore")])],1):e._e()])]),e._v(" "),t("div",{staticClass:"card-body"},[e._m(0),e._v(" "),e.loading?t("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{"min-height":"500px"}},[t("b-spinner")],1):t("div",{staticClass:"feed-list"},e._l(e.feed,(function(o){return t("post-card",{key:o.id,attrs:{post:o,range:e.ranges[e.rangeIndex]}})})),1)])])]),e._v(" "),t("footer-component")],1)])},s=[function(){var e=this._self._c;return e("div",{staticClass:"py-3"},[e("p",{staticClass:"lead text-center"},[this._v("Explore trending posts")])])}]},85343:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"landing-index-component"},[t("section",{staticClass:"page-wrapper"},[t("div",{staticClass:"container container-compact"},[t("div",{staticClass:"card bg-bluegray-900",staticStyle:{"border-radius":"10px"}},[t("div",{staticClass:"card-header bg-bluegray-800 nav-menu",staticStyle:{"border-top-left-radius":"10px","border-top-right-radius":"10px"}},[t("ul",{staticClass:"nav justify-content-around"},[t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:"/"}},[e._v("About")])],1),e._v(" "),e.config.show_directory?t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:"/web/directory"}},[e._v("Directory")])],1):e._e(),e._v(" "),e.config.show_explore_feed?t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:"/web/explore"}},[e._v("Explore")])],1):e._e()])]),e._v(" "),t("div",{staticClass:"card-img-top p-2"},[t("img",{staticClass:"img-fluid rounded",staticStyle:{width:"100%","max-height":"200px","object-fit":"cover"},attrs:{src:e.config.about.banner_image,alt:"Server banner image",height:"200",onerror:"this.src='/storage/headers/default.jpg';this.onerror=null;"}})]),e._v(" "),t("div",{staticClass:"card-body"},[t("div",{staticClass:"server-header"},[t("p",{staticClass:"server-header-domain"},[e._v(e._s(e.config.domain))]),e._v(" "),e._m(0)]),e._v(" "),t("div",{staticClass:"server-stats"},[t("div",{staticClass:"list-group"},[t("div",{staticClass:"list-group-item bg-transparent"},[t("p",{staticClass:"stat-value"},[e._v(e._s(e.formatCount(e.config.stats.posts_count)))]),e._v(" "),t("p",{staticClass:"stat-label"},[e._v("Posts")])]),e._v(" "),t("div",{staticClass:"list-group-item bg-transparent"},[t("p",{staticClass:"stat-value"},[e._v(e._s(e.formatCount(e.config.stats.active_users)))]),e._v(" "),t("p",{staticClass:"stat-label"},[e._v("Active Users")])]),e._v(" "),t("div",{staticClass:"list-group-item bg-transparent"},[t("p",{staticClass:"stat-value"},[e._v(e._s(e.formatCount(e.config.stats.total_users)))]),e._v(" "),t("p",{staticClass:"stat-label"},[e._v("Total Users")])])])]),e._v(" "),t("div",{staticClass:"server-admin"},[t("div",{staticClass:"list-group"},[e.config.contact.account?t("div",{staticClass:"list-group-item bg-transparent"},[t("p",{staticClass:"item-label"},[e._v("Managed By")]),e._v(" "),t("a",{staticClass:"admin-card",attrs:{href:e.config.contact.account.url,target:"_blank"}},[t("div",{staticClass:"d-flex"},[t("img",{staticClass:"avatar",attrs:{src:e.config.contact.account.avatar,width:"45",height:"45",alt:"".concat(e.config.contact.account.username,"'s avatar"),onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),e._v(" "),t("div",{staticClass:"user-info"},[t("p",{staticClass:"display-name"},[e._v(e._s(e.config.contact.account.display_name))]),e._v(" "),t("p",{staticClass:"username"},[e._v("@"+e._s(e.config.contact.account.username))])])])])]):e._e(),e._v(" "),e.config.contact.email?t("div",{staticClass:"list-group-item bg-transparent"},[t("p",{staticClass:"item-label"},[e._v("Contact")]),e._v(" "),t("a",{staticClass:"admin-email",attrs:{href:"mailto:".concat(e.config.contact.email,"?subject=Regarding ").concat(e.config.domain),target:"_blank"}},[e._v(e._s(e.config.contact.email))])]):e._e()])]),e._v(" "),t("div",{staticClass:"accordion",attrs:{id:"accordion"}},[t("div",{staticClass:"card bg-bluegray-700"},[t("div",{staticClass:"card-header bg-bluegray-800",attrs:{id:"headingOne"}},[t("h2",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-link btn-block",attrs:{type:"button","data-toggle":"collapse","data-target":"#collapseOne","aria-controls":"collapseOne"},on:{click:function(t){return e.toggleAccordion(0)}}},[e._m(1),e._v(" "),t("i",{staticClass:"far",class:[0===e.accordionTab?"fa-chevron-left text-primary":"fa-chevron-down"]})])])]),e._v(" "),t("div",{staticClass:"collapse",attrs:{id:"collapseOne","aria-labelledby":"headingOne","data-parent":"#accordion"}},[t("div",{staticClass:"card-body about-text"},[t("p",{domProps:{innerHTML:e._s(e.config.about.description)}})])])]),e._v(" "),t("div",{staticClass:"card bg-bluegray-700"},[t("div",{staticClass:"card-header bg-bluegray-800",attrs:{id:"headingTwo"}},[t("h2",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-link btn-block text-left collapsed",attrs:{type:"button","data-toggle":"collapse","data-target":"#collapseTwo","aria-expanded":"false","aria-controls":"collapseTwo"},on:{click:function(t){return e.toggleAccordion(1)}}},[e._m(2),e._v(" "),t("i",{staticClass:"far",class:[1===e.accordionTab?"fa-chevron-left text-primary":"fa-chevron-down"]})])])]),e._v(" "),t("div",{staticClass:"collapse",attrs:{id:"collapseTwo","aria-labelledby":"headingTwo","data-parent":"#accordion"}},[t("div",{staticClass:"card-body"},[t("div",{staticClass:"list-group list-group-rules"},e._l(e.config.rules,(function(o){return t("div",{staticClass:"list-group-item bg-bluegray-900"},[t("div",{staticClass:"rule-id"},[e._v(e._s(o.id))]),e._v(" "),t("div",{staticClass:"rule-text"},[e._v(e._s(o.text))])])})),0)])])]),e._v(" "),t("div",{staticClass:"card bg-bluegray-700"},[t("div",{staticClass:"card-header bg-bluegray-800",attrs:{id:"headingThree"}},[t("h2",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-link btn-block text-left collapsed",attrs:{type:"button","data-toggle":"collapse","data-target":"#collapseThree","aria-expanded":"false","aria-controls":"collapseThree"},on:{click:function(t){return e.toggleAccordion(2)}}},[e._m(3),e._v(" "),t("i",{staticClass:"far",class:[2===e.accordionTab?"fa-chevron-left text-primary":"fa-chevron-down"]})])])]),e._v(" "),t("div",{staticClass:"collapse",attrs:{id:"collapseThree","aria-labelledby":"headingThree","data-parent":"#accordion"}},[t("div",{staticClass:"card-body card-features"},[e._m(4),e._v(" "),t("div",{staticClass:"py-3"},[t("p",{staticClass:"lead"},[t("span",[e._v("You can share up to "),t("span",{staticClass:"font-weight-bold"},[e._v(e._s(e.config.uploader.album_limit))]),e._v(" photos*")]),e._v(" "),e.config.features.video?t("span",[e._v("or "),t("span",{staticClass:"font-weight-bold"},[e._v("1")]),e._v(" video*")]):e._e(),e._v(" "),t("span",[e._v("at a time with a max caption length of "),t("span",{staticClass:"font-weight-bold"},[e._v(e._s(e.config.uploader.max_caption_length))]),e._v(" characters.")])]),e._v(" "),t("p",{staticClass:"small opacity-50"},[e._v("* - Maximum file size is "+e._s(e.formatBytes(e.config.uploader.max_photo_size)))])]),e._v(" "),t("div",{staticClass:"list-group list-group-features"},[t("div",{staticClass:"list-group-item bg-bluegray-900"},[t("div",{staticClass:"feature-label"},[e._v("Federation")]),e._v(" "),t("i",{staticClass:"far fa-lg",class:[e.config.features.federation?"fa-check-circle":"fa-times-circle"]})]),e._v(" "),t("div",{staticClass:"list-group-item bg-bluegray-900"},[t("div",{staticClass:"feature-label"},[e._v("Mobile App Support")]),e._v(" "),t("i",{staticClass:"far fa-lg",class:[e.config.features.mobile_apis?"fa-check-circle":"fa-times-circle"]})]),e._v(" "),t("div",{staticClass:"list-group-item bg-bluegray-900"},[t("div",{staticClass:"feature-label"},[e._v("Stories")]),e._v(" "),t("i",{staticClass:"far fa-lg",class:[e.config.features.stories?"fa-check-circle":"fa-times-circle"]})]),e._v(" "),t("div",{staticClass:"list-group-item bg-bluegray-900"},[t("div",{staticClass:"feature-label"},[e._v("Videos")]),e._v(" "),t("i",{staticClass:"far fa-lg",class:[e.config.features.video?"fa-check-circle":"fa-times-circle"]})])])])])])])])])]),e._v(" "),t("footer-component")],1)])},s=[function(){var e=this,t=e._self._c;return t("p",{staticClass:"server-header-attribution"},[e._v("\n\t\t\t\t\t\t\tDecentralized photo sharing social media powered by "),t("a",{attrs:{href:"https://pixelfed.org",target:"_blank"}},[e._v("Pixelfed")])])},function(){var e=this._self._c;return e("span",{staticClass:"text-white h5"},[e("i",{staticClass:"far fa-info-circle mr-2 text-muted"}),this._v("\n\t\t\t\t\t\t \tAbout\n\t\t\t\t\t \t")])},function(){var e=this._self._c;return e("span",{staticClass:"text-white h5"},[e("i",{staticClass:"far fa-list mr-2 text-muted"}),this._v("\n\t\t\t\t\t \t\tServer Rules\n\t\t\t\t\t \t")])},function(){var e=this._self._c;return e("span",{staticClass:"text-white h5"},[e("i",{staticClass:"far fa-sparkles mr-2 text-muted"}),this._v("\n\t\t\t\t\t \t\tSupported Features\n\t\t\t\t\t \t")])},function(){var e=this,t=e._self._c;return t("div",{staticClass:"card-features-cloud"},[t("div",{staticClass:"badge badge-success"},[t("i",{staticClass:"far fa-check-circle"}),e._v(" Photo Posts")]),e._v(" "),t("div",{staticClass:"badge badge-success"},[t("i",{staticClass:"far fa-check-circle"}),e._v(" Photo Albums")]),e._v(" "),t("div",{staticClass:"badge badge-success"},[t("i",{staticClass:"far fa-check-circle"}),e._v(" Photo Filters")]),e._v(" "),t("div",{staticClass:"badge badge-success"},[t("i",{staticClass:"far fa-check-circle"}),e._v(" Collections")]),e._v(" "),t("div",{staticClass:"badge badge-success"},[t("i",{staticClass:"far fa-check-circle"}),e._v(" Comments")]),e._v(" "),t("div",{staticClass:"badge badge-success"},[t("i",{staticClass:"far fa-check-circle"}),e._v(" Hashtags")]),e._v(" "),t("div",{staticClass:"badge badge-success"},[t("i",{staticClass:"far fa-check-circle"}),e._v(" Likes")]),e._v(" "),t("div",{staticClass:"badge badge-success"},[t("i",{staticClass:"far fa-check-circle"}),e._v(" Notifications")]),e._v(" "),t("div",{staticClass:"badge badge-success"},[t("i",{staticClass:"far fa-check-circle"}),e._v(" Shares")])])}]},14913:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){this._self._c;return this._m(0)},s=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"landing-index-component h-100"},[t("section",{staticClass:"page-wrapper h-100 d-flex flex-grow-1 justify-content-center align-items-center"},[t("div",{staticClass:"d-flex flex-column align-items-center gap-3"},[t("i",{staticClass:"fal fa-exclamation-triangle fa-5x text-bluegray-500"}),e._v(" "),t("div",{staticClass:"text-center"},[t("h2",[e._v("404 - Not Found")]),e._v(" "),t("p",{staticClass:"lead"},[e._v("The page you are looking for does not exist.")])]),e._v(" "),t("a",{staticClass:"btn btn-outline-light btn-lg rounded-pill px-4",attrs:{href:"/"}},[e._v("Go back home")])])])])}]},8298:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"timeline-status-component"},[t("div",{staticClass:"card bg-bluegray-800 landing-post-card",staticStyle:{"border-radius":"15px"}},[t("div",{staticClass:"card-header border-0 bg-bluegray-700",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[t("div",{staticClass:"media align-items-center"},[t("a",{staticClass:"mr-2",attrs:{href:e.post.account.url,target:"_blank"}},[t("img",{staticStyle:{"border-radius":"30px"},attrs:{src:e.post.account.avatar,width:"30",height:"30",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}})]),e._v(" "),t("div",{staticClass:"media-body d-flex justify-content-between align-items-center"},[t("p",{staticClass:"font-weight-bold username mb-0"},[t("a",{staticClass:"text-white",attrs:{href:e.post.account.url,target:"_blank"}},[e._v("@"+e._s(e.post.account.username))])]),e._v(" "),t("p",{staticClass:"font-weight-bold mb-0"},["daily"===e.range?t("a",{staticClass:"text-bluegray-500",attrs:{href:e.post.url,target:"_blank"}},[e._v("Posted "+e._s(e.timeago(e.post.created_at))+" ago")]):t("a",{staticClass:"text-bluegray-400",attrs:{href:e.post.url,target:"_blank"}},[e._v("View Post")])])])])]),e._v(" "),t("div",{staticClass:"card-body m-0 p-0"},[t("post-content",{attrs:{status:e.post}})],1)])])},s=[]},7955:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"card bg-bluegray-800 landing-user-card"},[t("div",{staticClass:"card-body"},[t("div",{staticClass:"d-flex",staticStyle:{gap:"15px"}},[t("div",{staticClass:"flex-shrink-1"},[t("a",{attrs:{href:e.account.url,target:"_blank"}},[t("img",{staticClass:"rounded-circle",attrs:{src:e.account.avatar,onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;",width:"50",height:"50"}})])]),e._v(" "),t("div",{staticClass:"flex-grow-1"},[e.account.name?t("div",{staticClass:"display-name"},[t("a",{attrs:{href:e.account.url,target:"_blank"}},[e._v(e._s(e.account.name))])]):e._e(),e._v(" "),t("p",{staticClass:"username"},[t("a",{attrs:{href:e.account.url,target:"_blank"}},[e._v("@"+e._s(e.account.username))])]),e._v(" "),t("div",{staticClass:"user-stats"},[t("div",{staticClass:"user-stats-item user-select-none"},[e._v(e._s(e.formatCount(e.account.statuses_count))+" Posts")]),e._v(" "),t("div",{staticClass:"user-stats-item user-select-none"},[e._v(e._s(e.formatCount(e.account.followers_count))+" Followers")]),e._v(" "),t("div",{staticClass:"user-stats-item user-select-none"},[e._v(e._s(e.formatCount(e.account.following_count))+" Following")])]),e._v(" "),e.account.bio?t("div",{staticClass:"user-bio"},[t("p",{staticClass:"small text-bluegray-400 mb-0"},[e._v(e._s(e.truncate(e.account.bio)))])]):e._e()])])])])},s=[]},20159:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer-component"},[e._m(0),e._v(" "),t("div",{staticClass:"footer-component-attribution"},[t("div",[t("span",[e._v("© "+e._s(e.getYear())+" "+e._s(e.config.domain))])]),e._v(" "),t("div",{staticClass:"spacer"},[e._v("·")]),e._v(" "),e._m(1),e._v(" "),t("div",{staticClass:"spacer"},[e._v("·")]),e._v(" "),t("div",[t("span",[e._v("v"+e._s(e.config.version))])])])])},s=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"footer-component-links"},[t("a",{attrs:{href:"/site/help"}},[e._v("Help")]),e._v(" "),t("div",{staticClass:"spacer"},[e._v("·")]),e._v(" "),t("a",{attrs:{href:"/site/terms"}},[e._v("Terms")]),e._v(" "),t("div",{staticClass:"spacer"},[e._v("·")]),e._v(" "),t("a",{attrs:{href:"/site/privacy"}},[e._v("Privacy")]),e._v(" "),t("div",{staticClass:"spacer"},[e._v("·")]),e._v(" "),t("a",{attrs:{href:"https://pixelfed.org/mobile-apps",target:"_blank"}},[e._v("Mobile Apps")])])},function(){var e=this._self._c;return e("div",[e("a",{staticClass:"text-bluegray-500 font-weight-bold",attrs:{href:"https://pixelfed.org"}},[this._v("Powered by Pixelfed")])])}]},89855:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return t("nav",{staticClass:"navbar navbar-expand-lg navbar-dark fixed-top"},[t("div",{staticClass:"container",staticStyle:{"max-width":"600px"}},[t("router-link",{staticClass:"navbar-brand",attrs:{to:"/"}},[t("img",{attrs:{src:"/img/pixelfed-icon-color.svg",width:"40",height:"40",alt:"Logo"}}),e._v(" "),t("span",{staticClass:"mr-3"},[e._v(e._s(e.name))])]),e._v(" "),t("ul",{staticClass:"navbar-nav mr-auto"}),e._v(" "),t("div",{staticClass:"my-2 my-lg-0"},[t("a",{staticClass:"btn btn-outline-light btn-sm rounded-pill font-weight-bold px-4",attrs:{href:"/login"}},[e._v("Login")]),e._v(" "),e.config.open_registration||e.config.curated_onboarding?t("a",{staticClass:"ml-2 btn btn-primary btn-primary-alt btn-sm rounded-pill font-weight-bold px-4",attrs:{href:e.regLink}},[e._v("Sign up")]):e._e()])],1)])},s=[]},64394:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"timeline-status-component-content"},["poll"===e.status.pf_type?t("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):e.fixedHeight?t("div",{staticClass:"card-body p-0"},["photo"===e.status.pf_type?t("div",{class:{fixedHeight:e.fixedHeight}},[1==e.status.sensitive?t("div",{staticClass:"content-label-wrapper"},[t("div",{staticClass:"text-light content-label"},[e._m(0),e._v(" "),t("p",{staticClass:"h4 font-weight-bold text-center"},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),e._v(" "),t("p",{staticClass:"text-center py-2 content-label-text"},[e._v("\n\t\t\t\t\t\t\t"+e._s(e.status.spoiler_text?e.status.spoiler_text:e.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(t){return e.toggleContentWarning()}}},[e._v("See Post")])])]),e._v(" "),t("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:e.status.media_attachments[0].blurhash}})],1):t("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(t){return t.preventDefault(),e.toggleLightbox.apply(null,arguments)}}},[t("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:e.status.media_attachments[0].url}}),e._v(" "),t("blur-hash-image",{key:e.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:e.status.media_attachments[0].blurhash,src:e.status.media_attachments[0].url,alt:e.status.media_attachments[0].description,title:e.status.media_attachments[0].description}}),e._v(" "),!e.status.sensitive&&e.sensitive?t("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(t){e.status.sensitive=!0}}},[t("i",{staticClass:"fas fa-eye-slash fa-lg"})]):e._e()],1)]):"video"===e.status.pf_type?t("video-player",{attrs:{status:e.status,fixedHeight:e.fixedHeight}}):"photo:album"===e.status.pf_type?t("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[t("photo-album-presenter",{class:{fixedHeight:e.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:e.status},on:{lightbox:e.toggleLightbox,togglecw:function(t){return e.toggleContentWarning()}}})],1):"photo:video:album"===e.status.pf_type?t("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[t("mixed-album-presenter",{class:{fixedHeight:e.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:e.status},on:{lightbox:e.toggleLightbox,togglecw:function(t){e.status.sensitive=!1}}})],1):"text"===e.status.pf_type?t("div",[e.status.sensitive?t("div",{staticClass:"border m-3 p-5 rounded-lg"},[e._m(1),e._v(" "),t("p",{staticClass:"text-center lead font-weight-bold mb-0"},[e._v("Sensitive Content")]),e._v(" "),t("p",{staticClass:"text-center"},[e._v(e._s(e.status.spoiler_text&&e.status.spoiler_text.length?e.status.spoiler_text:"This post may contain sensitive content"))]),e._v(" "),t("p",{staticClass:"text-center mb-0"},[t("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:function(t){e.status.sensitive=!1}}},[e._v("See post")])])]):e._e()]):t("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[t("div",[e._m(2),e._v(" "),t("p",{staticClass:"lead text-center mb-0"},[e._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),e._v(" "),t("p",{staticClass:"small text-center mb-0"},[e._v("\n\t\t\t\t\t\t"+e._s(e.status.pf_type)+":"+e._s(e.status.id)+"\n\t\t\t\t\t")])])])],1):t("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===e.status.pf_type?t("div",{staticClass:"w-100"},[t("photo-presenter",{attrs:{status:e.status},on:{lightbox:e.toggleLightbox,togglecw:function(t){e.status.sensitive=!1}}})],1):"video"===e.status.pf_type?t("div",{staticClass:"w-100"},[t("video-player",{attrs:{status:e.status,fixedHeight:e.fixedHeight},on:{togglecw:function(t){e.status.sensitive=!1}}})],1):"photo:album"===e.status.pf_type?t("div",{staticClass:"w-100"},[t("photo-album-presenter",{attrs:{status:e.status},on:{lightbox:e.toggleLightbox,togglecw:function(t){e.status.sensitive=!1}}})],1):"video:album"===e.status.pf_type?t("div",{staticClass:"w-100"},[t("video-album-presenter",{attrs:{status:e.status},on:{togglecw:function(t){e.status.sensitive=!1}}})],1):"photo:video:album"===e.status.pf_type?t("div",{staticClass:"w-100"},[t("mixed-album-presenter",{attrs:{status:e.status},on:{lightbox:e.toggleLightbox,togglecw:function(t){e.status.sensitive=!1}}})],1):e._e()]),e._v(" "),e.status.content&&!e.status.sensitive?t("div",{staticClass:"card-body status-text",class:["text"===e.status.pf_type?"py-0":"pb-0"]},[t("p",[t("read-more",{attrs:{status:e.status,"cursor-limit":300}})],1)]):e._e()])},s=[function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},16331:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[t("div",{domProps:{innerHTML:e._s(e.content)}})])},s=[]},18389:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",[t("details",{staticClass:"details-animated"},[t("summary",[t("p",{staticClass:"mb-0 lead font-weight-bold"},[e._v(e._s(e.status.spoiler_text?e.status.spoiler_text:"CW / NSFW / Hidden Media"))]),e._v(" "),t("p",{staticClass:"font-weight-light"},[e._v("(click to show)")])]),e._v(" "),t("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:e.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},e._l(e.status.media_attachments,(function(o,a){return t("b-carousel-slide",{key:o.id+"-media"},["video"==o.type?t("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:o.description,width:"100%",height:"100%"},slot:"img"},[t("source",{attrs:{src:o.url,type:o.mime}})]):"image"==o.type?t("div",{attrs:{slot:"img",title:o.description},slot:"img"},[t("img",{class:o.filter_class+" d-block img-fluid w-100",attrs:{src:o.url,alt:o.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):t("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[e._v("Error: Problem rendering preview.")])])})),1)],1)]):t("div",{staticClass:"w-100 h-100 p-0"},[t("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},e._l(e.status.media_attachments,(function(o,a){return t("slide",{key:"px-carousel-"+o.id+"-"+a,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==o.type?t("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:o.description,width:"100%",height:"100%"}},[t("source",{attrs:{src:o.url,type:o.mime}})]):"image"==o.type?t("div",{attrs:{title:o.description}},[t("img",{class:o.filter_class+" img-fluid w-100",attrs:{src:o.url,alt:o.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):t("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[e._v("Error: Problem rendering preview.")])])})),1)],1)},s=[]},28691:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",{staticClass:"content-label-wrapper"},[t("div",{staticClass:"text-light content-label"},[e._m(0),e._v(" "),t("p",{staticClass:"h4 font-weight-bold text-center"},[e._v("\n\t\t\tSensitive Content\n\t\t")]),e._v(" "),t("p",{staticClass:"text-center py-2 content-label-text"},[e._v("\n\t\t\t"+e._s(e.status.spoiler_text?e.status.spoiler_text:"This album may contain sensitive content.")+"\n\t\t")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(t){return e.toggleContentWarning()}}},[e._v("See Post")])])]),e._v(" "),t("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:e.status.media_attachments[0].blurhash,alt:e.altText(e.status)}})],1):t("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[t("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb",id:"carousel-"+e.status.id}},e._l(e.status.media_attachments,(function(o,a){return t("slide",{key:"px-carousel-"+o.id+"-"+a,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:o.description}},[t("img",{staticClass:"img-fluid w-100 p-0",attrs:{src:o.url,alt:e.altText(o),loading:"lazy","data-bp":o.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),e._v(" "),t("div",{staticClass:"album-overlay"},[!e.status.sensitive&&e.sensitive?t("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(t){e.status.sensitive=!0}}},[t("i",{staticClass:"fas fa-eye-slash fa-lg"})]):e._e(),e._v(" "),t("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",left:"0",top:"0","border-bottom-right-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(t){return t.preventDefault(),e.toggleLightbox.apply(null,arguments)}}},[t("i",{staticClass:"fas fa-expand fa-lg"})]),e._v(" "),e.status.media_attachments[0].license?t("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.url}},[e._v("Photo")]),e._v(" by "),t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.account.url}},[e._v("@"+e._s(e.status.account.username))]),e._v(" licensed under "),t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.media_attachments[0].license.url}},[e._v(e._s(e.status.media_attachments[0].license.title))])]):e._e()])],1)},s=[function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},84094:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",{staticClass:"content-label-wrapper"},[t("div",{staticClass:"text-light content-label"},[e._m(0),e._v(" "),t("p",{staticClass:"h4 font-weight-bold text-center"},[e._v("\n\t\t\tSensitive Content\n\t\t")]),e._v(" "),t("p",{staticClass:"text-center py-2 content-label-text"},[e._v("\n\t\t\t"+e._s(e.status.spoiler_text?e.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(t){return e.toggleContentWarning()}}},[e._v("See Post")])])]),e._v(" "),t("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:e.status.media_attachments[0].blurhash,alt:e.altText(e.status)}})],1):t("div",[t("div",{staticStyle:{position:"relative"},attrs:{title:e.status.media_attachments[0].description}},[t("img",{staticClass:"card-img-top",attrs:{src:e.status.media_attachments[0].url,loading:"lazy",alt:e.altText(e.status),width:e.width(),height:e.height(),onerror:"this.onerror=null;this.src='/storage/no-preview.png'"},on:{click:function(t){return t.preventDefault(),e.toggleLightbox.apply(null,arguments)}}}),e._v(" "),!e.status.sensitive&&e.sensitive?t("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(t){e.status.sensitive=!0}}},[t("i",{staticClass:"fas fa-eye-slash fa-lg"})]):e._e(),e._v(" "),e.status.media_attachments[0].license?t("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.url}},[e._v("Photo")]),e._v(" by "),t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.account.url}},[e._v("@"+e._s(e.status.account.username))]),e._v(" licensed under "),t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.media_attachments[0].license.url}},[e._v(e._s(e.status.media_attachments[0].license.title))])]):e._e()])])},s=[function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},12024:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",[t("details",{staticClass:"details-animated"},[t("summary",[t("p",{staticClass:"mb-0 lead font-weight-bold"},[e._v(e._s(e.status.spoiler_text?e.status.spoiler_text:"CW / NSFW / Hidden Media"))]),e._v(" "),t("p",{staticClass:"font-weight-light"},[e._v("(click to show)")])]),e._v(" "),t("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:e.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},e._l(e.status.media_attachments,(function(e,o){return t("b-carousel-slide",{key:e.id+"-media"},[t("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:e.description,width:"100%",height:"100%"},slot:"img"},[t("source",{attrs:{src:e.url,type:e.mime}})])])})),1)],1)]):t("div",[t("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:e.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},e._l(e.status.media_attachments,(function(e,o){return t("b-carousel-slide",{key:e.id+"-media"},[t("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:e.description,width:"100%",height:"100%"},slot:"img"},[t("source",{attrs:{src:e.url,type:e.mime}})])])})),1)],1)},s=[]},21146:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return t("div",[1==e.status.sensitive?t("div",{staticClass:"content-label-wrapper"},[t("div",{staticClass:"text-light content-label"},[e._m(0),e._v(" "),t("p",{staticClass:"h4 font-weight-bold text-center"},[e._v("\n Sensitive Content\n ")]),e._v(" "),t("p",{staticClass:"text-center py-2 content-label-text"},[e._v("\n "+e._s(e.status.spoiler_text?e.status.spoiler_text:"This post may contain sensitive content.")+"\n ")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(t){e.status.sensitive=!1}}},[e._v("See Post")])])])]):[e.shouldPlay?[e.hasHls?t("video",{ref:"video",class:{fixedHeight:e.fixedHeight},staticStyle:{margin:"0"},attrs:{playsinline:"","webkit-playsinline":"",controls:"",autoplay:"false",poster:e.getPoster(e.status)}}):t("video",{staticClass:"card-img-top shadow",class:{fixedHeight:e.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{autoplay:"false",playsinline:"","webkit-playsinline":"",controls:"",poster:e.getPoster(e.status)}},[t("source",{attrs:{src:e.status.media_attachments[0].url,type:e.status.media_attachments[0].mime}})])]:t("div",{staticClass:"content-label-wrapper",style:{background:"linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.8)),url(".concat(e.getPoster(e.status),")"),backgroundSize:"cover"}},[t("div",{staticClass:"text-light content-label"},[t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-link btn-block btn-sm font-weight-bold",on:{click:function(t){return t.preventDefault(),e.handleShouldPlay.apply(null,arguments)}}},[t("i",{staticClass:"fas fa-play fa-5x text-white"})])])])])]],2)},s=[function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},75593:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>s});var a=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",{staticClass:"content-label-wrapper"},[t("div",{staticClass:"text-light content-label"},[e._m(0),e._v(" "),t("p",{staticClass:"h4 font-weight-bold text-center"},[e._v("\n\t\t\tSensitive Content\n\t\t")]),e._v(" "),t("p",{staticClass:"text-center py-2 content-label-text"},[e._v("\n\t\t\t"+e._s(e.status.spoiler_text?e.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(t){return e.toggleContentWarning()}}},[e._v("See Post")])])]),e._v(" "),t("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:e.status.media_attachments[0].blurhash,alt:e.altText(e.status)}})],1):t("div",{staticClass:"embed-responsive embed-responsive-16by9"},[t("video",{staticClass:"video",attrs:{controls:"",playsinline:"","webkit-playsinline":"",preload:"metadata",loop:"","data-id":e.status.id,poster:e.poster()}},[t("source",{attrs:{src:e.status.media_attachments[0].url,type:e.status.media_attachments[0].mime}})])])},s=[function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},12887:(e,t,o)=>{"use strict";o.r(t);var a=o(62893),s=o(40173),i=o(95353),n=o(58723),r=o(63288),l=o(32252),c=o.n(l),d=o(65201),u=o.n(d),m=o(24786),p=o(57742),g=o.n(p),f=o(89829),h=o.n(f),v=o(64765),b=(o(34352),o(80158),o(67953)),y=o(52324),C=o(8392),k=o(60998),w=(o(74692),o(74692));o(9901),window.Vue=a.default,window.pftxt=o(93934),window.filesize=o(91139),window._=o(2543),window.Popper=o(48851).default,window.pixelfed=window.pixelfed||{},window.$=o(74692),o(52754),window.axios=o(86425),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",o(63899),window.blurhash=o(95341),w('[data-toggle="tooltip"]').tooltip();var S=document.head.querySelector('meta[name="csrf-token"]');S?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=S.content:console.error("CSRF token not found."),a.default.use(s.default),a.default.use(i.default),a.default.use(h()),a.default.use(g()),a.default.use(r.default),a.default.use(c()),a.default.use(u()),a.default.use(v.default),a.default.use(m.default,{name:"Timeago",locale:"en"}),a.default.component("photo-presenter",o(37128).default),a.default.component("video-presenter",o(79427).default),a.default.component("photo-album-presenter",o(98051).default),a.default.component("video-album-presenter",o(61518).default),a.default.component("mixed-album-presenter",o(21466).default),a.default.component("navbar",o(3461).default),a.default.component("footer-component",o(61255).default);var _=new s.default({mode:"history",linkActiveClass:"",linkExactActiveClass:"active",routes:[{path:"/",component:b.default},{path:"/web/directory",component:y.default},{path:"/web/explore",component:C.default},{path:"/*",component:k.default,props:!0}],scrollBehavior:function(e,t,o){return e.hash?{selector:"[id='".concat(e.hash.slice(1),"']")}:{x:0,y:0}}});var x=new i.default.Store({state:{version:1,hideCounts:!0,autoloadComments:!1,newReactions:!1,fixedHeight:!1,profileLayout:"grid",showDMPrivacyWarning:!0,relationships:{},emoji:[],colorScheme:function(e,t){var o="pf_m2s."+e,a=window.localStorage;if(a.getItem(o)){var s=a.getItem(o);return["pl","color-scheme"].includes(e)?s:["true",!0].includes(s)}return t}("color-scheme","system")},getters:{getVersion:function(e){return e.version},getHideCounts:function(e){return e.hideCounts},getAutoloadComments:function(e){return e.autoloadComments},getNewReactions:function(e){return e.newReactions},getFixedHeight:function(e){return e.fixedHeight},getProfileLayout:function(e){return e.profileLayout},getRelationship:function(e){return function(t){return e.relationships[t]}},getCustomEmoji:function(e){return e.emoji},getColorScheme:function(e){return e.colorScheme},getShowDMPrivacyWarning:function(e){return e.showDMPrivacyWarning}},mutations:{setVersion:function(e,t){e.version=t},setHideCounts:function(e,t){localStorage.setItem("pf_m2s.hc",t),e.hideCounts=t},setAutoloadComments:function(e,t){localStorage.setItem("pf_m2s.ac",t),e.autoloadComments=t},setNewReactions:function(e,t){localStorage.setItem("pf_m2s.nr",t),e.newReactions=t},setFixedHeight:function(e,t){localStorage.setItem("pf_m2s.fh",t),e.fixedHeight=t},setProfileLayout:function(e,t){localStorage.setItem("pf_m2s.pl",t),e.profileLayout=t},updateRelationship:function(e,t){t.forEach((function(t){a.default.set(e.relationships,t.id,t)}))},updateCustomEmoji:function(e,t){e.emoji=t},setColorScheme:function(e,t){if(e.colorScheme!=t){localStorage.setItem("pf_m2s.color-scheme",t),e.colorScheme=t;var o="system"==t?"":"light"==t?"force-light-mode":"force-dark-mode";if(document.querySelector("body").className=o,"system"!=o){var a="force-dark-mode"==o?{dark_mode:"on"}:{};axios.post("/settings/labs",a)}}},setShowDMPrivacyWarning:function(e,t){localStorage.setItem("pf_m2s.dmpwarn",t),e.showDMPrivacyWarning=t}}}),A={en:o(57048),ar:o(60224),ca:o(89023),de:o(89996),el:o(25098),es:o(31583),eu:o(48973),fr:o(15883),he:o(61344),gd:o(12900),gl:o(34860),id:o(91302),it:o(52950),ja:o(87286),nl:o(66849),pl:o(70707),pt:o(85147),ru:o(20466),uk:o(44215),vi:o(97346)},P=document.querySelector("html").getAttribute("lang"),T=new v.default({locale:P,fallbackLocale:"en",messages:A});(0,n.sync)(x,_);new a.default({el:"#content",i18n:T,router:_,store:x})},9901:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(){var t="object"===("undefined"==typeof window?"undefined":e(window))?window:"object"===("undefined"==typeof self?"undefined":e(self))?self:this,o=t.BlobBuilder||t.WebKitBlobBuilder||t.MSBlobBuilder||t.MozBlobBuilder;t.URL=t.URL||t.webkitURL||function(e,t){return(t=document.createElement("a")).href=e,t};var a=t.Blob,s=URL.createObjectURL,i=URL.revokeObjectURL,n=t.Symbol&&t.Symbol.toStringTag,r=!1,c=!1,d=!!t.ArrayBuffer,u=o&&o.prototype.append&&o.prototype.getBlob;try{r=2===new Blob(["ä"]).size,c=2===new Blob([new Uint8Array([1,2])]).size}catch(e){}function m(e){return e.map((function(e){if(e.buffer instanceof ArrayBuffer){var t=e.buffer;if(e.byteLength!==t.byteLength){var o=new Uint8Array(e.byteLength);o.set(new Uint8Array(t,e.byteOffset,e.byteLength)),t=o.buffer}return t}return e}))}function p(e,t){t=t||{};var a=new o;return m(e).forEach((function(e){a.append(e)})),t.type?a.getBlob(t.type):a.getBlob()}function g(e,t){return new a(m(e),t||{})}t.Blob&&(p.prototype=Blob.prototype,g.prototype=Blob.prototype);var f="function"==typeof TextEncoder?TextEncoder.prototype.encode.bind(new TextEncoder):function(e){for(var o=0,a=e.length,s=t.Uint8Array||Array,i=0,n=Math.max(32,a+(a>>1)+7),r=new s(n>>3<<3);o=55296&&l<=56319){if(o=55296&&l<=56319)continue}if(i+4>r.length){n+=8,n=(n*=1+o/e.length*2)>>3<<3;var d=new Uint8Array(n);d.set(r),r=d}if(4294967168&l){if(4294965248&l)if(4294901760&l){if(4292870144&l)continue;r[i++]=l>>18&7|240,r[i++]=l>>12&63|128,r[i++]=l>>6&63|128}else r[i++]=l>>12&15|224,r[i++]=l>>6&63|128;else r[i++]=l>>6&31|192;r[i++]=63&l|128}else r[i++]=l}return r.slice(0,i)},h="function"==typeof TextDecoder?TextDecoder.prototype.decode.bind(new TextDecoder):function(e){for(var t=e.length,o=[],a=0;a239?4:l>223?3:l>191?2:1;if(a+d<=t)switch(d){case 1:l<128&&(c=l);break;case 2:128==(192&(s=e[a+1]))&&(r=(31&l)<<6|63&s)>127&&(c=r);break;case 3:s=e[a+1],i=e[a+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=e[a+1],i=e[a+2],n=e[a+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,o.push(c>>>10&1023|55296),c=56320|1023&c),o.push(c),a+=d}var u=o.length,m="";for(a=0;a>2,d=(3&s)<<4|n>>4,u=(15&n)<<2|l>>6,m=63&l;r||(m=64,i||(u=64)),o.push(t[c],t[d],t[u],t[m])}return o.join("")}var a=Object.create||function(e){function t(){}return t.prototype=e,new t};if(d)var n=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(e){return e&&n.indexOf(Object.prototype.toString.call(e))>-1};function c(o,a){a=null==a?{}:a;for(var s=0,i=(o=o||[]).length;s=t.size&&o.close()}))}})}}catch(e){try{new ReadableStream({}),b=function(e){var t=0;e=this;return new ReadableStream({pull:function(o){return e.slice(t,t+524288).arrayBuffer().then((function(a){t+=a.byteLength;var s=new Uint8Array(a);o.enqueue(s),t==e.size&&o.close()}))}})}}catch(e){try{new Response("").body.getReader().read(),b=function(){return new Response(this).body}}catch(e){b=function(){throw new Error("Include https://github.com/MattiasBuelens/web-streams-polyfill")}}}}y.arrayBuffer||(y.arrayBuffer=function(){var e=new FileReader;return e.readAsArrayBuffer(this),C(e)}),y.text||(y.text=function(){var e=new FileReader;return e.readAsText(this),C(e)}),y.stream||(y.stream=b)}(),function(e){"use strict";var t,o=e.Uint8Array,a=e.HTMLCanvasElement,s=a&&a.prototype,i=/\s*;\s*base64\s*(?:;|$)/i,n="toDataURL",r=function(e){for(var a,s,i=e.length,n=new o(i/4*3|0),r=0,l=0,c=[0,0],d=0,u=0;i--;)s=e.charCodeAt(r++),255!==(a=t[s-43])&&undefined!==a&&(c[1]=c[0],c[0]=s,u=u<<6|a,4===++d&&(n[l++]=u>>>16,61!==c[1]&&(n[l++]=u>>>8),61!==c[0]&&(n[l++]=u),d=0));return n};o&&(t=new o([62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51])),!a||s.toBlob&&s.toBlobHD||(s.toBlob||(s.toBlob=function(e,t){if(t||(t="image/png"),this.mozGetAsFile)e(this.mozGetAsFile("canvas",t));else if(this.msToBlob&&/^\s*image\/png\s*(?:$|;)/i.test(t))e(this.msToBlob());else{var a,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?((a=new Blob).encoding=u?"base64":"URI",a.data=d,a.size=d.length):o&&(a=u?new Blob([r(d)],{type:t}):new Blob([decodeURIComponent(d)],{type:t})),e(a)}}),!s.toBlobHD&&s.toDataURLHD?s.toBlobHD=function(){n="toDataURLHD";var e=this.toBlob();return n="toDataURL",e}:s.toBlobHD=s.toBlob)}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content||this)},53933:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(76798),s=o.n(a)()((function(e){return e[1]}));s.push([e.id,".card-img-top[data-v-7066737e]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-7066737e]{position:relative}.content-label[data-v-7066737e]{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-7066737e]{position:relative}",""]);const i=s},71336:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(76798),s=o.n(a)()((function(e){return e[1]}));s.push([e.id,".card-img-top[data-v-f935045a]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-f935045a]{position:relative}.content-label[data-v-f935045a]{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 i=s},1685:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(76798),s=o.n(a)()((function(e){return e[1]}));s.push([e.id,".content-label-wrapper[data-v-7871d23c]{position:relative}.content-label[data-v-7871d23c]{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 i=s},95442:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>r});var a=o(85072),s=o.n(a),i=o(53933),n={insert:"head",singleton:!1};s()(i.default,n);const r=i.default.locals||{}},27713:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>r});var a=o(85072),s=o.n(a),i=o(71336),n={insert:"head",singleton:!1};s()(i.default,n);const r=i.default.locals||{}},72908:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>r});var a=o(85072),s=o.n(a),i=o(1685),n={insert:"head",singleton:!1};s()(i.default,n);const r=i.default.locals||{}},52324:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(63675),s=o(84123),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},8392:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(19188),s=o(53591),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},67953:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(91398),s=o(85490),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},60998:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>s});var a=o(87234);const s=(0,o(14486).default)({},a.render,a.staticRenderFns,!1,null,null,null).exports},42060:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(68971),s=o(92543),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},77387:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(83534),s=o(62840),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},61255:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(91678),s=o(14992),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},3461:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(23800),s=o(89110),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},79110:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(74259),s=o(99369),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},50294:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(95728),s=o(33417),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},21466:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(63476),s=o(95509),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},98051:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(37086),s=o(90660),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);o(58877);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,"7066737e",null).exports},37128:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(84585),s=o(2815),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);o(2776);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,"f935045a",null).exports},61518:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(99521),s=o(4777),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},75938:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(86943),s=o(42909),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,null,null).exports},79427:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(17962),s=o(6452),i={};for(const e in s)"default"!==e&&(i[e]=()=>s[e]);o.d(t,i);o(741);const n=(0,o(14486).default)(s.default,a.render,a.staticRenderFns,!1,null,"7871d23c",null).exports},84123:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(75948),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},53591:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(22912),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},85490:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(40245),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},92543:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(53956),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},62840:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(34655),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},14992:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(19011),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},89110:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(44943),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},99369:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(61746),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},33417:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(6140),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},95509:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(33422),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},90660:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(36639),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},2815:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(9266),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},4777:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(35986),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},42909:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(68910),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},6452:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(25189),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s);const i=a.default},63675:(e,t,o)=>{"use strict";o.r(t);var a=o(94350),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},19188:(e,t,o)=>{"use strict";o.r(t);var a=o(51829),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},91398:(e,t,o)=>{"use strict";o.r(t);var a=o(85343),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},87234:(e,t,o)=>{"use strict";o.r(t);var a=o(14913),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},68971:(e,t,o)=>{"use strict";o.r(t);var a=o(8298),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},83534:(e,t,o)=>{"use strict";o.r(t);var a=o(7955),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},91678:(e,t,o)=>{"use strict";o.r(t);var a=o(20159),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},23800:(e,t,o)=>{"use strict";o.r(t);var a=o(89855),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},74259:(e,t,o)=>{"use strict";o.r(t);var a=o(64394),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},95728:(e,t,o)=>{"use strict";o.r(t);var a=o(16331),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},63476:(e,t,o)=>{"use strict";o.r(t);var a=o(18389),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},37086:(e,t,o)=>{"use strict";o.r(t);var a=o(28691),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},84585:(e,t,o)=>{"use strict";o.r(t);var a=o(84094),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},99521:(e,t,o)=>{"use strict";o.r(t);var a=o(12024),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},86943:(e,t,o)=>{"use strict";o.r(t);var a=o(21146),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},17962:(e,t,o)=>{"use strict";o.r(t);var a=o(75593),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},58877:(e,t,o)=>{"use strict";o.r(t);var a=o(95442),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},2776:(e,t,o)=>{"use strict";o.r(t);var a=o(27713),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},741:(e,t,o)=>{"use strict";o.r(t);var a=o(72908),s={};for(const e in a)"default"!==e&&(s[e]=()=>a[e]);o.d(t,s)},11220:()=>{},16052:()=>{},40295:()=>{},89858:()=>{},45187:()=>{},87919:()=>{},40264:()=>{},80434:()=>{},18053:()=>{},60224:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"تَعليق","commented":"علَّقتَ عليه","comments":"تَعليقات","like":"إعجاب","liked":"أُعجِبتَ بِه","likes":"إعْجابات","share":"مُشارَكَة","shared":"تمَّ مُشارَكَتُه","shares":"مُشارَكَات","unshare":"إلغاء المُشارَكَة","cancel":"إلغاء","copyLink":"نَسخ الرابِط","delete":"حَذف","error":"خطأ","errorMsg":"حَدَثَ خطأٌ ما. يُرجى المُحاولةُ مرةً أُخرى لاحِقًا.","oops":"المَعذِرَة!","other":"اُخرى","readMore":"قراءةُ المزيد","success":"نَجاح","sensitive":"حسَّاس","sensitiveContent":"مُحتَوًى حسَّاس","sensitiveContentWarning":"قد يحتوي هذا المَنشور على مُحتوًى حسَّاس"},"site":{"terms":"شُروطُ الاِستِخدام","privacy":"سِياسَةُ الخُصوصيَّة"},"navmenu":{"search":"البَحث","admin":"لوحَةُ تَحكُّمِ المُشرِف","homeFeed":"التَّغذيَة الرئيسَة","localFeed":"التَّغذيَة المحليَّة","globalFeed":"التَّغذيَة الشّامِلة","discover":"الاِستِكشاف","directMessages":"الرسائِلُ المُباشِرَة","notifications":"الإشعارات","groups":"المَجمُوعات","stories":"القَصَص","profile":"المِلف التَّعريفيّ","drive":"وِحدَةُ التَّخزين","settings":"الإعدَادَات","compose":"إنشاءُ جَديد","logout":"تَسجيلُ الخُرُوج","about":"حَول","help":"المُساعَدَة","language":"اللُّغَة","privacy":"الخُصُوصِيَّة","terms":"الشُّرُوط","backToPreviousDesign":"العودة إلى التصميم السابق"},"directMessages":{"inbox":"صَندوقُ الوارِد","sent":"أُرسِلَت","requests":"الطَّلَبات"},"notifications":{"liked":"أُعجِبَ بِمنشورٍ لَك","commented":"علَّقَ على مَنشورٍ لَك","reacted":"تَفاعَلَ مَعَك","shared":"شَارَكَ مَنشورٍ لَك","tagged":"أشارَ إليكَ فِي","updatedA":"حَدَّثَ","sentA":"أرسَلَ","followed":"تابَعَ","mentioned":"أشارَ إلى","you":"أنت","yourApplication":"طلبُكَ للانضِمام","applicationApproved":"تمَّت الموافقة عليه!","applicationRejected":"تمَّ رفضه. يُمكِنُكَ التقدُمُ بطلبٍ جديدٍ للانضمام بعد 6 شهور.","dm":"الرسائِل المُباشِرَة","groupPost":"مَنشور مَجموعَة","modlog":"سجلات المُشرِف","post":"مَنشور","story":"قَصَّة"},"post":{"shareToFollowers":"المُشاركة مَعَ المُتابِعين","shareToOther":"المُشارَكَة مَعَ الآخرين","noLikes":"لا إعجابات حتَّى الآن","uploading":"الرَّفعُ جارٍ"},"profile":{"posts":"المَنشُورات","followers":"المُتابِعُون","following":"المُتابَعُون","admin":"مُشرِف","collections":"تَجميعات","follow":"مُتابَعَة","unfollow":"إلغاء المُتابَعَة","editProfile":"تحرير المِلَف التَّعريفي","followRequested":"طُلِبَت المُتابَعَة","joined":"انضَم","emptyCollections":"على ما يَبدوا، لا يُمكِنُنا العُثور على أي تَجميعات","emptyPosts":"على ما يَبدوا، لا يُمكِنُنا العُثور على أي مَنشور"},"menu":{"viewPost":"عَرض المَنشور","viewProfile":"عَرض المِلف التعريفي","moderationTools":"أدوات الإشراف","report":"إبلاغ","archive":"أرشَفَة","unarchive":"إلغاء الأرشَفَة","embed":"تضمين","selectOneOption":"حدِّد أحدَ الخياراتِ التالِيَة","unlistFromTimelines":"الاستثناء من قوائِم الخُطُوط الزمنيَّة","addCW":"إضافة تحذير مُحتوى","removeCW":"حذف تحذير المُحتوى","markAsSpammer":"تَعليم كَغير مَرغُوبٍ بِه","markAsSpammerText":"الاستثِناء مِنَ القوائِم + إضافة تحذير مُحتوى لِلمُشارَكَات الحاليَّة وَالمُستَقبَليَّة","spam":"غير مَرغوب بِه","sensitive":"مُحتَوًى حسَّاس","abusive":"مُسيءٌ أو ضار","underageAccount":"حِسابٌ دونَ السِّن","copyrightInfringement":"اِنتِهاكُ حُقُوق","impersonation":"اِنتِحالُ شَخصيَّة","scamOrFraud":"نَصبٌ أو اِحتِيال","confirmReport":"تأكيدُ البَلاغ","confirmReportText":"هل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي الإبلاغِ عَن هَذَا المَنشور؟","reportSent":"أُرسِلَ البَلاغ!","reportSentText":"لقد تلقينا بَلاغُكَ بِنجاح.","reportSentError":"طَرَأ خَلَلٌ أثناءُ الإبلاغِ عَن هذا المَنشور.","modAddCWConfirm":"هل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي إضافَةِ تَحذيرٍ للمُحتَوى عَلى هَذَا المَنشُور؟","modCWSuccess":"أُضيفَ تَحذيرُ المُحتَوى بِنَجاح","modRemoveCWConfirm":"هَل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي إزالَةِ تَحذيرِ المُحتَوى مِن عَلى هَذَا المَنشُور؟","modRemoveCWSuccess":"أُزيلَ تَحذيرُ المُحتَوى بِنَجاح","modUnlistConfirm":"هل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي اِستِثناءِ هَذَا المَنشُورِ مِنَ القائِمَة (جَعلَهُ غَيرُ مُدرَج)؟","modUnlistSuccess":"اُستُثنِيَ المَنشُورُ بِنَجاح","modMarkAsSpammerConfirm":"هَل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي تَعليمِ هذا المُستَخدِمِ كَناشِرٍ لِمَنشُوراتٍ غيرِ مَرغوبٍ فِيها؟ سوف يُلغى إدراجُ جَميعِ مَنشوراتِهِ الحاليَّةِ وَالمُستَقبَليَّةِ مِنَ الخُطُوطِ الزَمنيَّةِ وَسوف يُطبَّقُ تَحذيرُ المُحتَوَى عَليها.","modMarkAsSpammerSuccess":"عُلِّمَ المُستَخدِمُ كَناشِرٍ لِمَنشُوراتٍ غيرِ مَرغوبٍ فِيها بِنَجاح","toFollowers":"إلَى المُتَابِعين","showCaption":"عَرضُ التَعليقِ التَوضيحي","showLikes":"إظهارُ الإعجابات","compactMode":"الوَضع المَضغوط","embedConfirmText":"باِستِخدامِكَ لِهذا التَّضمين، أنتَ تُوافِقُ عَلَى","deletePostConfirm":"هَل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي حَذفِ هَذَا المَنشُور؟","archivePostConfirm":"هَل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي أرشَفَةِ هَذَا المَنشُور؟","unarchivePostConfirm":"هَل أنتَ مُتأكِّدٌ مِن رَغبَتِكَ فِي إلغاءِ أرشَفَةِ هَذَا المَنشُور؟"},"story":{"add":"إضافَةُ قَصَّة"},"timeline":{"peopleYouMayKnow":"أشخاصٌ قَد تَعرِفُهُم"},"hashtags":{"emptyFeed":"على ما يَبدوا، لا يُمكِنُنا العُثور على أي مَنشور يَحتَوي على هذا الوَسم"}}')},89023:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Comentar","commented":"Comentari","comments":"Comentaris","like":"M\'agrada","liked":"M\'ha agradat","likes":"\\"M\'agrada\\"","share":"Comparteix","shared":"S\'han compartit","shares":"S\'han compartit","unshare":"Deixa de compartir","cancel":"Cancel·la","copyLink":"Copia l\'enllaç","delete":"Esborra","error":"Error","errorMsg":"Alguna cosa ha anat malament. Siusplau, intenta-ho més tard.","oops":"Uix!","other":"Altres","readMore":"Llegiu-ne més","success":"Completat amb èxit","sensitive":"Sensible","sensitiveContent":"Contingut sensible","sensitiveContentWarning":"Aquest article pot contenir contingut sensible"},"site":{"terms":"Condicions d\'ús","privacy":"Política de Privacitat"},"navmenu":{"search":"Cercar","admin":"Tauler d\'Administració","homeFeed":"Línia de temps principal","localFeed":"Línia de temps local","globalFeed":"Línia de temps global","discover":"Descobrir","directMessages":"Missatges directes","notifications":"Notificacions","groups":"Grups","stories":"Històries","profile":"Perfil","drive":"Unitat","settings":"Paràmetres","compose":"Crea un nou","logout":"Logout","about":"Quant a","help":"Ajuda","language":"Idioma","privacy":"Privacitat","terms":"Termes","backToPreviousDesign":"Tornar al disseny anterior"},"directMessages":{"inbox":"Safata d\'entrada","sent":"Enviat","requests":"Sol·licitud"},"notifications":{"liked":"li agrada la teva","commented":"comentat el teu","reacted":"ha reaccionat al teu","shared":"ha compartit la teva","tagged":"t\'ha etiquetat en una","updatedA":"actualitzat a","sentA":"enviat a","followed":"seguits","mentioned":"mencionat","you":"vostè","yourApplication":"La teva sol·licitud per unir-te","applicationApproved":"està aprovat!","applicationRejected":"ha estat rebutjat. Pots tornar a sol·licitar unir-te en 6 mesos.","dm":"md","groupPost":"publicacions al grup","modlog":"modlog","post":"publicació","story":"història"},"post":{"shareToFollowers":"Comparteix amb els seguidors","shareToOther":"Compartits per altres","noLikes":"Cap m\'agrada encara","uploading":"Carregant"},"profile":{"posts":"Publicacions","followers":"Seguidors","following":"Seguint","admin":"Administrador","collections":"Col·leccions","follow":"Segueix","unfollow":"Deixeu de seguir","editProfile":"Edita el teu perfil","followRequested":"Sol·licitud de seguidor","joined":"S\'ha unit","emptyCollections":"We can\'t seem to find any collections","emptyPosts":"We can\'t seem to find any posts"},"menu":{"viewPost":"Veure publicació","viewProfile":"Mostra el perfil","moderationTools":"Eines de moderació","report":"Informe","archive":"Arxiu","unarchive":"Desarxiva","embed":"Incrusta","selectOneOption":"Seleccioneu una de les opcions següents","unlistFromTimelines":"Desllista de les línies de temps","addCW":"Afegeix advertència de contingut","removeCW":"Esborra advertència de contingut","markAsSpammer":"Marca com a brossa","markAsSpammerText":"Desllista + CW publicacions existents i futures","spam":"Contingut brossa","sensitive":"Contingut sensible","abusive":"Abusiu o nociu","underageAccount":"Compte de menors d\'edat","copyrightInfringement":"Infracció de drets d’autor","impersonation":"Suplantacions","scamOrFraud":"Estafa o Frau","confirmReport":"Confirma l\'informe","confirmReportText":"Esteu segur que voleu informar d\'aquesta publicació?","reportSent":"Informe enviat!","reportSentText":"Hem rebut correctament el vostre informe.","reportSentError":"Hi ha hagut un problema en informar d\'aquesta publicació.","modAddCWConfirm":"Confirmes que vols afegir un avís de contingut a aquesta publicació?","modCWSuccess":"Avís de contingut afegit correctament","modRemoveCWConfirm":"Confirmes que vols esborrar un avís de contingut d\'aquesta publicació?","modRemoveCWSuccess":"Avís de contingut esborrat correctament","modUnlistConfirm":"Esteu segur que voleu desllistar d\'aquesta publicació?","modUnlistSuccess":"Entrada desllistada amb èxit","modMarkAsSpammerConfirm":"Esteu segur que voleu marcar aquest usuari com a brossa? Totes les publicacions existents i futures no apareixeran a les cronologies i s\'aplicarà un avís de contingut.","modMarkAsSpammerSuccess":"El compte s\'ha marcat correctament com a brossa","toFollowers":"els seguidors","showCaption":"Mostra el subtítol","showLikes":"Mostra els m\'agrada","compactMode":"Mode Compacte","embedConfirmText":"En utilitzar aquesta inserció, accepteu el nostre","deletePostConfirm":"Esteu segur que voleu suprimir aquesta publicació?","archivePostConfirm":"Segur que voleu arxivar aquesta publicació?","unarchivePostConfirm":"Segur que voleu desarxivar aquesta publicació?"},"story":{"add":"Afegir història"},"timeline":{"peopleYouMayKnow":"Gent que potser coneixes"},"hashtags":{"emptyFeed":"We can\'t seem to find any posts for this hashtag"}}')},89996:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Kommentar","commented":"Kommentiert","comments":"Kommentare","like":"Gefällt mir","liked":"Gefällt","likes":"Gefällt","share":"Teilen","shared":"Geteilt","shares":"Geteilt","unshare":"Teilen rückgängig machen","cancel":"Abbrechen","copyLink":"Link kopieren","delete":"Löschen","error":"Fehler","errorMsg":"Etwas ist schief gelaufen. Bitter versuch es später nochmal.","oops":"Hoppla!","other":"Anderes","readMore":"Weiterlesen","success":"Erfolgreich","sensitive":"Sensibel","sensitiveContent":"Sensibler Inhalt","sensitiveContentWarning":"Dieser Beitrag kann sensible Inhalte enthalten"},"site":{"terms":"Nutzungsbedingungen","privacy":"Datenschutzrichtlinien"},"navmenu":{"search":"Suche","admin":"Administrator-Dashboard","homeFeed":"Startseite","localFeed":"Lokaler Feed","globalFeed":"Globaler Feed","discover":"Entdecken","directMessages":"Direktnachrichten","notifications":"Benachrichtigungen","groups":"Gruppen","stories":"Stories","profile":"Profil","drive":"Festplatte","settings":"Einstellungen","compose":"Neu erstellen","logout":"Ausloggen","about":"Über uns","help":"Hilfe","language":"Sprache","privacy":"Privatsphäre","terms":"AGB","backToPreviousDesign":"Zurück zum vorherigen Design"},"directMessages":{"inbox":"Posteingang","sent":"Gesendet","requests":"Anfragen"},"notifications":{"liked":"gefällt dein","commented":"kommentierte dein","reacted":"reagierte auf dein","shared":"teilte deine","tagged":"markierte dich in einem","updatedA":"aktualisierte ein","sentA":"sendete ein","followed":"gefolgt","mentioned":"erwähnt","you":"du","yourApplication":"Deine Bewerbung um beizutreten","applicationApproved":"wurde genehmigt!","applicationRejected":"wurde abgelehnt. Du kannst dich in 6 Monaten erneut für den Beitritt bewerben.","dm":"PN","groupPost":"Gruppen-Post","modlog":"modlog","post":"Beitrag","story":"Story"},"post":{"shareToFollowers":"Mit Folgenden teilen","shareToOther":"Mit anderen teilen","noLikes":"Gefällt bisher noch niemandem","uploading":"Lädt hoch"},"profile":{"posts":"Beiträge","followers":"Folgende","following":"Folgend","admin":"Admin","collections":"Sammlungen","follow":"Folgen","unfollow":"Entfolgen","editProfile":"Profil bearbeiten","followRequested":"Folgeanfragen","joined":"Beigetreten","emptyCollections":"Wir können keine Sammlungen finden","emptyPosts":"Wir können keine Beiträge finden"},"menu":{"viewPost":"Beitrag anzeigen","viewProfile":"Profil anzeigen","moderationTools":"Moderationswerkzeuge","report":"Melden","archive":"Archivieren","unarchive":"Entarchivieren","embed":"Einbetten","selectOneOption":"Wähle eine der folgenden Optionen","unlistFromTimelines":"Nicht in Timelines listen","addCW":"Inhaltswarnung hinzufügen","removeCW":"Inhaltswarnung entfernen","markAsSpammer":"Als Spammer markieren","markAsSpammerText":"Aus der Zeitleiste entfernen und bisherige und zukünftige Beiträge mit einer Inhaltswarnung versehen","spam":"Spam","sensitive":"Sensibler Inhalt","abusive":"missbräuchlich oder schädigend","underageAccount":"Minderjährigen-Konto","copyrightInfringement":"Urheberrechtsverletzung","impersonation":"Identitätsdiebstahl","scamOrFraud":"Betrug oder Missbrauch","confirmReport":"Meldung bestätigen","confirmReportText":"Bist du sicher, dass du diesen Beitrag melden möchtest?","reportSent":"Meldung gesendet!","reportSentText":"Wir haben deinen Bericht erfolgreich erhalten.","reportSentError":"Es gab ein Problem beim Melden dieses Beitrags.","modAddCWConfirm":"Bist du sicher, dass du diesem Beitrag eine Inhaltswarnung hinzufügen möchtest?","modCWSuccess":"Inhaltswarnung erfolgreich hinzugefügt","modRemoveCWConfirm":"Bist du sicher, dass die Inhaltswarnung auf diesem Beitrag entfernt werden soll?","modRemoveCWSuccess":"Inhaltswarnung erfolgreich entfernt","modUnlistConfirm":"Bist du sicher, dass du diesen Beitrag nicht listen möchtest?","modUnlistSuccess":"Beitrag erfolgreich nicht gelistet","modMarkAsSpammerConfirm":"Bist du sicher, dass du diesen Benutzer als Spam markieren möchtest? Alle existierenden und zukünftigen Beiträge werden nicht mehr in der Zeitleiste angezeigt und mit einer Inhaltswarnung versehen.","modMarkAsSpammerSuccess":"Konto erfolgreich als Spammer markiert","toFollowers":"an die Folgenden","showCaption":"Bildunterschrift anzeigen","showLikes":"\\"Gefällt mir\\" anzeigen","compactMode":"Kompaktmodus","embedConfirmText":"Mit der Nutzung dieser Einbettung erklärst du dich mit unseren","deletePostConfirm":"Bist du sicher, dass du diesen Beitrag löschen möchtest?","archivePostConfirm":"Bist du sicher, dass du diesen Beitrag archivieren möchtest?","unarchivePostConfirm":"Möchten Sie dieses Element wirklich aus dem Archiv zurückholen?"},"story":{"add":"Story hinzufügen"},"timeline":{"peopleYouMayKnow":"Leute, die du vielleicht kennst"},"hashtags":{"emptyFeed":"Wir können keine Beiträge mit diesem Hashtag finden"}}')},25098:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Σχόλιο","commented":"Σχολιασμένο","comments":"Σχόλια","like":"Μου αρέσει","liked":"Μου άρεσε","likes":"Αρέσει","share":"Κοινοποίηση","shared":"Κοινοποιήθηκε","shares":"Κοινοποιήσεις","unshare":"Αναίρεση κοινοποίησης","cancel":"Ακύρωση","copyLink":"Αντιγραφή Συνδέσμου","delete":"Διαγραφή","error":"Σφάλμα","errorMsg":"Κάτι πήγε στραβά. Παρακαλώ δοκιμάστε αργότερα.","oops":"Ουπς!","other":"Άλλο","readMore":"Διαβάστε περισσότερα","success":"Επιτυχής","sensitive":"Ευαίσθητο","sensitiveContent":"Ευαίσθητο περιεχόμενο","sensitiveContentWarning":"Αυτή η δημοσίευση μπορεί να περιέχει ευαίσθητο περιεχόμενο"},"site":{"terms":"Όροι Χρήσης","privacy":"Πολιτική Απορρήτου"},"navmenu":{"search":"Αναζήτηση","admin":"Πίνακας εργαλείων διαχειριστή","homeFeed":"Αρχική ροή","localFeed":"Τοπική Ροή","globalFeed":"Ομοσπονδιακή Ροή","discover":"Ανακαλύψτε","directMessages":"Προσωπικά Μηνύματα","notifications":"Ειδοποιήσεις","groups":"Ομάδες","stories":"Ιστορίες","profile":"Προφίλ","drive":"Χώρος αποθήκευσης","settings":"Ρυθμίσεις","compose":"Δημιουργία νέου","logout":"Αποσύνδεση","about":"Σχετικά με","help":"Βοήθεια","language":"Γλώσσα","privacy":"Ιδιωτικότητα","terms":"Όροι","backToPreviousDesign":"Go back to previous design"},"directMessages":{"inbox":"Εισερχόμενα","sent":"Απεσταλμένο","requests":"Αιτήματα"},"notifications":{"liked":"επισήμανε ότι του αρέσει το","commented":"σχολίασε στο","reacted":"αντέδρασε στο {item} σας","shared":"κοινοποίησε το {item} σας","tagged":"σας πρόσθεσε με ετικέτα σε μια δημοσίευση","updatedA":"ενημέρωσε ένα","sentA":"έστειλε ένα","followed":"followed","mentioned":"αναφέρθηκε","you":"εσύ","yourApplication":"Η αίτησή σας για συμμετοχή","applicationApproved":"εγκρίθηκε!","applicationRejected":"απορρίφθηκε. Μπορείτε να κάνετε εκ νέου αίτηση για να συμμετάσχετε σε 6 μήνες.","dm":"πμ","groupPost":"ομαδική δημοσίευση","modlog":"modlog","post":"δημοσίευση","story":"ιστορία"},"post":{"shareToFollowers":"Μοιραστείτε με τους ακόλουθους","shareToOther":"Share to other","noLikes":"Δεν υπάρχουν likes ακόμα","uploading":"Μεταφόρτωση"},"profile":{"posts":"Δημοσιεύσεις","followers":"Ακόλουθοι","following":"Ακολουθεί","admin":"Διαχειριστής","collections":"Συλλογές","follow":"Ακολούθησε","unfollow":"Διακοπή παρακολούθησης","editProfile":"Επεξεργασία Προφίλ","followRequested":"Ακολουθήστε Το Αίτημα","joined":"Joined","emptyCollections":"Δεν μπορούμε να βρούμε συλλογές","emptyPosts":"Δεν μπορούμε να βρούμε δημοσιεύσεις"},"menu":{"viewPost":"Προβολη Δημοσίευσης","viewProfile":"Προβολή Προφίλ","moderationTools":"Εργαλεία Συντονισμού","report":"Αναφορά","archive":"Αρχειοθέτηση","unarchive":"Αναίρεση αρχειοθέτησης","embed":"Ενσωμάτωση","selectOneOption":"Επιλέξτε μία από τις ακόλουθες επιλογές","unlistFromTimelines":"Unlist from Timelines","addCW":"Προσθήκη Προειδοποίησης Περιεχομένου","removeCW":"Αφαίρεση Προειδοποίησης Περιεχομένου","markAsSpammer":"Σήμανση ως Spammer","markAsSpammerText":"Unlist + CW existing and future posts","spam":"Ανεπιθύμητα","sensitive":"Ευαίσθητο περιεχόμενο","abusive":"Καταχρηστικό ή επιβλαβές","underageAccount":"Λογαριασμός ανηλίκου","copyrightInfringement":"Παραβίαση πνευματικών δικαιωμάτων","impersonation":"Impersonation","scamOrFraud":"Ανεπιθύμητο ή απάτη","confirmReport":"Επιβεβαίωση Αναφοράς","confirmReportText":"Είστε βέβαιοι ότι θέλετε να αναφέρετε αυτή την ανάρτηση;","reportSent":"Η Αναφορά Στάλθηκε!","reportSentText":"Έχουμε λάβει με επιτυχία την αναφορά σας.","reportSentError":"Παρουσιάστηκε ένα πρόβλημα κατά την αναφορά της ανάρτησης.","modAddCWConfirm":"Είστε βέβαιοι ότι θέλετε να προσθέσετε μια προειδοποίηση περιεχομένου σε αυτή την ανάρτηση;","modCWSuccess":"Επιτυχής προσθήκη προειδοποίησης περιεχομένου","modRemoveCWConfirm":"Είστε βέβαιοι ότι θέλετε να αφαιρέσετε την προειδοποίηση περιεχομένου σε αυτή την ανάρτηση;","modRemoveCWSuccess":"Επιτυχής αφαίρεση προειδοποίησης περιεχομένου","modUnlistConfirm":"Are you sure you want to unlist this post?","modUnlistSuccess":"Successfully unlisted post","modMarkAsSpammerConfirm":"Είστε βέβαιοι ότι θέλετε να επισημάνετε αυτόν τον χρήστη ως spammer? Όλες οι υπάρχουσες και μελλοντικές δημοσιεύσεις δεν θα καταχωρούνται στα χρονοδιαγράμματα και θα εφαρμόζεται προειδοποίηση περιεχομένου.","modMarkAsSpammerSuccess":"Επιτυχής σήμανση λογαριασμού ως spammer","toFollowers":"στους Ακόλουθους","showCaption":"Show Caption","showLikes":"Εμφάνιση \\"μου αρέσει\\"","compactMode":"Συμπαγής Λειτουργία","embedConfirmText":"Χρησιμοποιώντας αυτό το ενσωματωμένο, συμφωνείτε με την","deletePostConfirm":"Είστε βέβαιοι ότι θέλετε να διαγράψετε αυτήν την ανάρτηση;","archivePostConfirm":"Είστε βέβαιοι ότι θέλετε να αρχειοθετήσετε αυτή την ανάρτηση;","unarchivePostConfirm":"Είστε βέβαιοι ότι θέλετε να αφαιρέσετε αυτήν την ανάρτηση απο την αρχειοθήκη;"},"story":{"add":"Προσθήκη Ιστορίας"},"timeline":{"peopleYouMayKnow":"Άτομα που μπορεί να ξέρετε"},"hashtags":{"emptyFeed":"Δεν μπορούμε να βρούμε δημοσιεύσεις για αυτό το hashtag"}}')},57048:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Comment","commented":"Commented","comments":"Comments","like":"Like","liked":"Liked","likes":"Likes","share":"Share","shared":"Shared","shares":"Shares","unshare":"Unshare","bookmark":"Bookmark","cancel":"Cancel","copyLink":"Copy Link","delete":"Delete","error":"Error","errorMsg":"Something went wrong. Please try again later.","oops":"Oops!","other":"Other","readMore":"Read more","success":"Success","proceed":"Proceed","next":"Next","close":"Close","clickHere":"click here","sensitive":"Sensitive","sensitiveContent":"Sensitive Content","sensitiveContentWarning":"This post may contain sensitive content"},"site":{"terms":"Terms of Use","privacy":"Privacy Policy"},"navmenu":{"search":"Search","admin":"Admin Dashboard","homeFeed":"Home Feed","localFeed":"Local Feed","globalFeed":"Global Feed","discover":"Discover","directMessages":"Direct Messages","notifications":"Notifications","groups":"Groups","stories":"Stories","profile":"Profile","drive":"Drive","settings":"Settings","compose":"Create New","logout":"Logout","about":"About","help":"Help","language":"Language","privacy":"Privacy","terms":"Terms","backToPreviousDesign":"Go back to previous design"},"directMessages":{"inbox":"Inbox","sent":"Sent","requests":"Requests"},"notifications":{"liked":"liked your","commented":"commented on your","reacted":"reacted to your","shared":"shared your","tagged":"tagged you in a","updatedA":"updated a","sentA":"sent a","followed":"followed","mentioned":"mentioned","you":"you","yourApplication":"Your application to join","applicationApproved":"was approved!","applicationRejected":"was rejected. You can re-apply to join in 6 months.","dm":"dm","groupPost":"group post","modlog":"modlog","post":"post","story":"story","noneFound":"No notifications found"},"post":{"shareToFollowers":"Share to followers","shareToOther":"Share to other","noLikes":"No likes yet","uploading":"Uploading"},"profile":{"posts":"Posts","followers":"Followers","following":"Following","admin":"Admin","collections":"Collections","follow":"Follow","unfollow":"Unfollow","editProfile":"Edit Profile","followRequested":"Follow Requested","joined":"Joined","emptyCollections":"We can\'t seem to find any collections","emptyPosts":"We can\'t seem to find any posts"},"menu":{"viewPost":"View Post","viewProfile":"View Profile","moderationTools":"Moderation Tools","report":"Report","archive":"Archive","unarchive":"Unarchive","embed":"Embed","selectOneOption":"Select one of the following options","unlistFromTimelines":"Unlist from Timelines","addCW":"Add Content Warning","removeCW":"Remove Content Warning","markAsSpammer":"Mark as Spammer","markAsSpammerText":"Unlist + CW existing and future posts","spam":"Spam","sensitive":"Sensitive Content","abusive":"Abusive or Harmful","underageAccount":"Underage Account","copyrightInfringement":"Copyright Infringement","impersonation":"Impersonation","scamOrFraud":"Scam or Fraud","confirmReport":"Confirm Report","confirmReportText":"Are you sure you want to report this post?","reportSent":"Report Sent!","reportSentText":"We have successfully received your report.","reportSentError":"There was an issue reporting this post.","modAddCWConfirm":"Are you sure you want to add a content warning to this post?","modCWSuccess":"Successfully added content warning","modRemoveCWConfirm":"Are you sure you want to remove the content warning on this post?","modRemoveCWSuccess":"Successfully removed content warning","modUnlistConfirm":"Are you sure you want to unlist this post?","modUnlistSuccess":"Successfully unlisted post","modMarkAsSpammerConfirm":"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.","modMarkAsSpammerSuccess":"Successfully marked account as spammer","toFollowers":"to Followers","showCaption":"Show Caption","showLikes":"Show Likes","compactMode":"Compact Mode","embedConfirmText":"By using this embed, you agree to our","deletePostConfirm":"Are you sure you want to delete this post?","archivePostConfirm":"Are you sure you want to archive this post?","unarchivePostConfirm":"Are you sure you want to unarchive this post?"},"story":{"add":"Add Story"},"timeline":{"peopleYouMayKnow":"People you may know","onboarding":{"welcome":"Welcome","thisIsYourHomeFeed":"This is your home feed, a chronological feed of posts from accounts you follow.","letUsHelpYouFind":"Let us help you find some interesting people to follow","refreshFeed":"Refresh my feed"}},"hashtags":{"emptyFeed":"We can\'t seem to find any posts for this hashtag"},"report":{"report":"Report","selectReason":"Select a reason","reported":"Reported","sendingReport":"Sending report","thanksMsg":"Thanks for the report, people like you help keep our community safe!","contactAdminMsg":"If you\'d like to contact an administrator about this post or report"}}')},31583:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Comentario","commented":"Comentado","comments":"Comentarios","like":"Me gusta","liked":"Te gusta","likes":"Me gustas","share":"Compartir","shared":"Compartido","shares":"Compartidos","unshare":"No compartir","cancel":"Cancelar","copyLink":"Copiar Enlace","delete":"Eliminar","error":"Error","errorMsg":"Algo fue mal. Por favor inténtelo de nuevo más tarde.","oops":"Upss!","other":"Otros","readMore":"Ver más","success":"Correcto","sensitive":"Sensible","sensitiveContent":"Contenido Sensible","sensitiveContentWarning":"Este post podría tener contenido sensible"},"site":{"terms":"Términos de Uso","privacy":"Política de Privacidad"},"navmenu":{"search":"Buscar","admin":"Panel de Administrador","homeFeed":"Feed Principal","localFeed":"Feed Local","globalFeed":"Feed Global","discover":"Descubre","directMessages":"Mensajes Directos","notifications":"Notificaciones","groups":"Grupos","stories":"Historias","profile":"Perfil","drive":"Multimedia","settings":"Ajustes","compose":"Crear Nuevo","logout":"Logout","about":"Acerca de","help":"Ayuda","language":"Idioma","privacy":"Privacidad","terms":"Términos","backToPreviousDesign":"Volver al diseño anterior"},"directMessages":{"inbox":"Entrada","sent":"Enviado","requests":"Solicitudes"},"notifications":{"liked":"le gustó tu","commented":"comentó en tu","reacted":"reaccionó a tu","shared":"ha compartido tu","tagged":"te ha etiquetado en","updatedA":"actualizó una","sentA":"envió un","followed":"te siguió","mentioned":"te mencionó","you":"tú","yourApplication":"Tu solicitud para unirse","applicationApproved":"ha sido aprobada!","applicationRejected":"ha sido rechazada. Puedes volver a solicitar unirte en 6 meses.","dm":"md","groupPost":"publicación de grupo","modlog":"modlog","post":"publicación","story":"historia"},"post":{"shareToFollowers":"Compartir a seguidores","shareToOther":"Compartir a otros","noLikes":"No hay me gustas","uploading":"Subiendo"},"profile":{"posts":"Publicaciones","followers":"Seguidores","following":"Siguiendo","admin":"Administrador","collections":"Colecciones","follow":"Seguir","unfollow":"Dejar de seguir","editProfile":"Editar Perfil","followRequested":"Seguimiento Solicitado","joined":"Se unió","emptyCollections":"We can\'t seem to find any collections","emptyPosts":"We can\'t seem to find any posts"},"menu":{"viewPost":"Ver Publicación","viewProfile":"Ver Perfil","moderationTools":"Herramientas de Moderación","report":"Reportar","archive":"Archivar","unarchive":"No Archivar","embed":"Incrustar","selectOneOption":"Escoge una de las siguientes opciones","unlistFromTimelines":"No listar en Líneas Temporales","addCW":"Añadir Spoiler","removeCW":"Quitar Spoiler","markAsSpammer":"Marcar como Spammer","markAsSpammerText":"No listar + Spoiler publicaciones actuales y futuras","spam":"Spam","sensitive":"Contenido Sensible","abusive":"Abusivo o Dañino","underageAccount":"Cuenta de Menor de Edad","copyrightInfringement":"Violación de Copyright","impersonation":"Suplantación","scamOrFraud":"Scam o Fraude","confirmReport":"Confirmar Reporte","confirmReportText":"¿Seguro que quieres reportar esta publicación?","reportSent":"¡Reporte enviado!","reportSentText":"Hemos recibido tu reporte de forma satisfactoria.","reportSentError":"Hubo un problema reportando esta publicación.","modAddCWConfirm":"¿Seguro que desea añadir un spoiler a esta publicación?","modCWSuccess":"Spoiler añadido correctamente","modRemoveCWConfirm":"¿Seguro que desea eliminar el spoiler de esta publicación?","modRemoveCWSuccess":"Spoiler eliminado correctamente","modUnlistConfirm":"¿Seguro que desea no listar esta publicación?","modUnlistSuccess":"Publicación no listada correctamente","modMarkAsSpammerConfirm":"¿Seguro que quiere marcar este usuario como spammer? Todas las publicaciones existentes y futuras no serán listadas en las líneas temporales y se les agregará un Spoiler o alerta de contenido.","modMarkAsSpammerSuccess":"Cuenta marcada como spam correctamente","toFollowers":"a Seguidores","showCaption":"Mostrar subtítulos","showLikes":"Mostrar me gustas","compactMode":"Modo Compacto","embedConfirmText":"Usando este incrustado, usted acepta","deletePostConfirm":"¿Seguro que desea eliminar esta publicación?","archivePostConfirm":"¿Seguro que desea archivar esta publicación?","unarchivePostConfirm":"¿Seguro que desea desarchivar esta publicación?"},"story":{"add":"Añadir Historia"},"timeline":{"peopleYouMayKnow":"Gente que podrías conocer"},"hashtags":{"emptyFeed":"We can\'t seem to find any posts for this hashtag"}}')},48973:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Iruzkindu","commented":"Iruzkinduta","comments":"Iruzkinak","like":"Datsegit","liked":"Datsegit","likes":"Atsegite","share":"Partekatu","shared":"Partekatuta","shares":"Partekatze","unshare":"Utzi partekatzeari","cancel":"Utzi","copyLink":"Kopiatu esteka","delete":"Ezabatu","error":"Errorea","errorMsg":"Zerbait oker joan da. Saiatu berriro beranduago.","oops":"Ene!","other":"Bestelakoa","readMore":"Irakurri gehiago","success":"Burutu da","sensitive":"Hunkigarria","sensitiveContent":"Eduki hunkigarria","sensitiveContentWarning":"Bidalketa honek eduki hunkigarria izan dezake"},"site":{"terms":"Erabilera-baldintzak","privacy":"Pribatutasun politika"},"navmenu":{"search":"Bilatu","admin":"Adminaren panela","homeFeed":"Etxeko jarioa","localFeed":"Jario lokala","globalFeed":"Jario globala","discover":"Aurkitu","directMessages":"Mezu zuzenak","notifications":"Jakinarazpenak","groups":"Taldeak","stories":"Istorioak","profile":"Profila","drive":"Unitatea","settings":"Ezarpenak","compose":"Sortu berria","logout":"Saioa itxi","about":"Honi buruz","help":"Laguntza","language":"Hizkuntza","privacy":"Pribatutasuna","terms":"Baldintzak","backToPreviousDesign":"Itzuli aurreko diseinura"},"directMessages":{"inbox":"Sarrera ontzia","sent":"Bidalita","requests":"Eskaerak"},"notifications":{"liked":"datsegi zure","commented":"iruzkindu du zure","reacted":"-(e)k erantzun egin du zure","shared":"partekatu du zure","tagged":"etiketatu zaitu hemen:","updatedA":"-(e)k eguneratu egin du","sentA":"-(e)k bidali egin du","followed":"honi jarraitzen hasi da:","mentioned":"-(e)k aipatu zaitu","you":"zu","yourApplication":"Elkartzeko zure eskaera","applicationApproved":"onartu da!","applicationRejected":"ez da onartu. Berriz eska dezakezu 6 hilabete barru.","dm":"mezu pribatua","groupPost":"talde argitarapena","modlog":"modloga","post":"bidalketa","story":"istorioa"},"post":{"shareToFollowers":"Partekatu jarraitzaileei","shareToOther":"Partekatu besteekin","noLikes":"Atsegiterik ez oraindik","uploading":"Igotzen"},"profile":{"posts":"Bidalketak","followers":"Jarraitzaileak","following":"Jarraitzen","admin":"Admin","collections":"Bildumak","follow":"Jarraitu","unfollow":"Utzi jarraitzeari","editProfile":"Editatu profila","followRequested":"Jarraitzea eskatuta","joined":"Elkartu da","emptyCollections":"Ez dugu topatu bildumarik","emptyPosts":"Ez dugu topatu bidalketarik"},"menu":{"viewPost":"Ikusi bidalketa","viewProfile":"Ikusi profila","moderationTools":"Moderazio tresnak","report":"Salatu","archive":"Artxiboa","unarchive":"Desartxibatu","embed":"Kapsulatu","selectOneOption":"Hautatu aukera hauetako bat","unlistFromTimelines":"Denbora-lerroetatik ezkutatu","addCW":"Gehitu edukiaren abisua","removeCW":"Kendu edukiaren abisua","markAsSpammer":"Markatu zabor-bidaltzaile gisa","markAsSpammerText":"Ezkutatu + edukiaren abisua jarri etorkizuneko bidalketei","spam":"Zaborra","sensitive":"Eduki hunkigarria","abusive":"Bortxazko edo Mingarria","underageAccount":"Adin txikiko baten kontua","copyrightInfringement":"Copyrightaren urraketa","impersonation":"Nortasunaren iruzurra","scamOrFraud":"Iruzur edo lapurreta","confirmReport":"Berretsi salaketa","confirmReportText":"Ziur al zaude bidalketa hau salatu nahi duzula?","reportSent":"Salaketa bidali da","reportSentText":"Zure salaketa ondo jaso dugu.","reportSentError":"Arazo bat egon da bidalketa hau salatzean.","modAddCWConfirm":"Ziur al zaude edukiaren abisua jarri nahi duzula bidalketa honetan?","modCWSuccess":"Edukiaren abisua ondo gehitu da","modRemoveCWConfirm":"Ziur al zaude edukiaren abisua kendu nahi duzula bidalketa honetarako?","modRemoveCWSuccess":"Edukiaren abisua ondo kendu da","modUnlistConfirm":"Ziur al zaude bidalketa hau ezkutatu nahi duzula?","modUnlistSuccess":"Bidalketa ondo ezkutatu da","modMarkAsSpammerConfirm":"Ziur al zaude erabiltzaile hau zabor-bidaltzaile bezala markatu nahi duzula? Dagoeneko bidali dituen eta etorkizunean bidaliko dituen bidalketak denbora-lerroetatik ezkutatuko dira eta edukiaren abisua ezarriko zaie.","modMarkAsSpammerSuccess":"Kontua zabor-bidaltzaile gisa ondo markatu da","toFollowers":"jarraitzaileei","showCaption":"Irudiaren azalpena erakutsi","showLikes":"Erakutsi atsegiteak","compactMode":"Modu trinkoa","embedConfirmText":"Kapsulatze hau erabiliz, onartzen dituzu gure","deletePostConfirm":"Ziur al zaude bidalketa hau ezabatu nahi duzula?","archivePostConfirm":"Ziur al zaude bidalketa hau artxibatu nahi duzula?","unarchivePostConfirm":"Ziur bidalketa hau desartxibatu nahi duzula?"},"story":{"add":"Gehitu istorioa"},"timeline":{"peopleYouMayKnow":"Ezagutu dezakezun jendea"},"hashtags":{"emptyFeed":"Ez dugu topatu traola hau duen bidalketarik"}}')},15883:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Commenter","commented":"Commenté","comments":"Commentaires","like":"J\'aime","liked":"Aimé","likes":"J\'aime","share":"Partager","shared":"Partagé","shares":"Partages","unshare":"Ne plus partager","cancel":"Annuler","copyLink":"Copier le lien","delete":"Supprimer","error":"Erreur","errorMsg":"Une erreur est survenue. Veuillez réessayer plus tard.","oops":"Zut !","other":"Autre","readMore":"En savoir plus","success":"Opération réussie","sensitive":"Sensible","sensitiveContent":"Contenu sensible","sensitiveContentWarning":"Le contenu de ce message peut être sensible"},"site":{"terms":"Conditions d\'utilisation","privacy":"Politique de confidentialité"},"navmenu":{"search":"Chercher","admin":"Tableau de bord d\'administration","homeFeed":"Fil principal","localFeed":"Fil local","globalFeed":"Fil global","discover":"Découvrir","directMessages":"Messages Privés","notifications":"Notifications","groups":"Groupes","stories":"Stories","profile":"Profil","drive":"Médiathèque","settings":"Paramètres","compose":"Publier","logout":"Logout","about":"À propos","help":"Aide","language":"Langue","privacy":"Confidentialité","terms":"Conditions","backToPreviousDesign":"Revenir au design précédent"},"directMessages":{"inbox":"Boîte de réception","sent":"Boîte d\'envois","requests":"Demandes"},"notifications":{"liked":"a aimé votre","commented":"a commenté votre","reacted":"a réagi à votre","shared":"a partagé votre","tagged":"vous a tagué·e dans un","updatedA":"mis à jour un·e","sentA":"a envoyé un·e","followed":"s\'est abonné·e à","mentioned":"a mentionné","you":"vous","yourApplication":"Votre candidature à rejoindre","applicationApproved":"a été approuvée !","applicationRejected":"a été rejetée. Vous pouvez refaire une demande dans 6 mois.","dm":"mp","groupPost":"publication de groupe","modlog":"journal de modération","post":"publication","story":"story"},"post":{"shareToFollowers":"Partager avec ses abonné·e·s","shareToOther":"Partager avec d\'autres","noLikes":"Aucun J\'aime pour le moment","uploading":"Envoi en cours"},"profile":{"posts":"Publications","followers":"Abonné·e·s","following":"Abonnements","admin":"Administrateur·rice","collections":"Collections","follow":"S\'abonner","unfollow":"Se désabonner","editProfile":"Modifier votre profil","followRequested":"Demande d\'abonnement","joined":"A rejoint","emptyCollections":"Aucune collection ne semble exister","emptyPosts":"Aucune publication ne semble exister"},"menu":{"viewPost":"Voir la publication","viewProfile":"Voir le profil","moderationTools":"Outils de modération","report":"Signaler","archive":"Archiver","unarchive":"Désarchiver","embed":"Intégrer","selectOneOption":"Sélectionnez l\'une des options suivantes","unlistFromTimelines":"Retirer des flux","addCW":"Ajouter un avertissement de contenu","removeCW":"Enlever l’avertissement de contenu","markAsSpammer":"Marquer comme spammeur·euse","markAsSpammerText":"Retirer + avertissements pour les contenus existants et futurs","spam":"Indésirable","sensitive":"Contenu sensible","abusive":"Abusif ou préjudiciable","underageAccount":"Compte d\'un·e mineur·e","copyrightInfringement":"Violation des droits d’auteur","impersonation":"Usurpation d\'identité","scamOrFraud":"Arnaque ou fraude","confirmReport":"Confirmer le signalement","confirmReportText":"Êtes-vous sûr·e de vouloir signaler cette publication ?","reportSent":"Signalement envoyé !","reportSentText":"Nous avons bien reçu votre signalement.","reportSentError":"Une erreur s\'est produite lors du signalement de cette publication.","modAddCWConfirm":"Êtes-vous sûr·e de vouloir ajouter un avertissement de contenu à cette publication ?","modCWSuccess":"Avertissement de contenu ajouté avec succès","modRemoveCWConfirm":"Êtes-vous sûr·e de vouloir supprimer l\'avertissement de contenu sur cette publication ?","modRemoveCWSuccess":"Avertissement de contenu supprimé avec succès","modUnlistConfirm":"Êtes-vous sûr·e de vouloir retirer cette publication des flux ?","modUnlistSuccess":"Publication retirée des fils avec succès","modMarkAsSpammerConfirm":"Êtes-vous sûr·e de vouloir marquer cet utilisateur·rice comme spammeur·euse ? Toutes les publications existantes et futures seront retirées des flux et un avertissement de contenu sera appliqué.","modMarkAsSpammerSuccess":"Compte marqué avec succès comme spammeur","toFollowers":"aux abonné·e·s","showCaption":"Afficher la légende","showLikes":"Afficher les J\'aime","compactMode":"Mode compact","embedConfirmText":"En utilisant ce module, vous acceptez nos","deletePostConfirm":"Êtes-vous sûr·e de vouloir supprimer cette publication ?","archivePostConfirm":"Êtes-vous sûr·e de vouloir archiver cette publication ?","unarchivePostConfirm":"Êtes-vous sûr·e de vouloir désarchiver cette publication ?"},"story":{"add":"Ajouter une story"},"timeline":{"peopleYouMayKnow":"Connaissances possibles"},"hashtags":{"emptyFeed":"Aucune publication ne semble exister pour ce hashtag"}}')},12900:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Beachd","commented":"Commented","comments":"Comments","like":"Like","liked":"Liked","likes":"Likes","share":"Co-roinn","shared":"Shared","shares":"Shares","unshare":"Unshare","cancel":"Sguir dheth","copyLink":"Dèan lethbhreac dhen cheangal","delete":"Sguab às","error":"Mearachd","errorMsg":"Something went wrong. Please try again later.","oops":"Ìoc!","other":"Other","readMore":"Read more","success":"Success","sensitive":"Frionasach","sensitiveContent":"Susbaint fhrionasach","sensitiveContentWarning":"This post may contain sensitive content"},"site":{"terms":"Terms of Use","privacy":"Privacy Policy"},"navmenu":{"search":"Lorg","admin":"Admin Dashboard","homeFeed":"Inbhir na dachaigh","localFeed":"Inbhir ionadail","globalFeed":"Global Feed","discover":"Discover","directMessages":"Direct Messages","notifications":"Brathan","groups":"Buidhnean","stories":"Sgeulan","profile":"Pròifil","drive":"Draibh","settings":"Roghainnean","compose":"Cruthaich fear ùr","logout":"Logout","about":"Mu dhèidhinn","help":"Cobhair","language":"Cànan","privacy":"Prìobhaideachd","terms":"Teirmichean","backToPreviousDesign":"Go back to previous design"},"directMessages":{"inbox":"Am bogsa a-steach","sent":"Sent","requests":"Iarrtasan"},"notifications":{"liked":"liked your","commented":"commented on your","reacted":"reacted to your","shared":"shared your","tagged":"tagged you in a","updatedA":"updated a","sentA":"sent a","followed":"followed","mentioned":"mentioned","you":"you","yourApplication":"Your application to join","applicationApproved":"was approved!","applicationRejected":"was rejected. You can re-apply to join in 6 months.","dm":"dm","groupPost":"group post","modlog":"modlog","post":"post","story":"sgeul"},"post":{"shareToFollowers":"Share to followers","shareToOther":"Share to other","noLikes":"No likes yet","uploading":"Uploading"},"profile":{"posts":"Posts","followers":"Followers","following":"Following","admin":"Admin","collections":"Cruinneachaidhean","follow":"Lean air","unfollow":"Unfollow","editProfile":"Deasaich a’ phròifil","followRequested":"Follow Requested","joined":"Joined","emptyCollections":"We can\'t seem to find any collections","emptyPosts":"We can\'t seem to find any posts"},"menu":{"viewPost":"Seall am post","viewProfile":"Seall a’ phròifil","moderationTools":"Innealan na maorsainneachd","report":"Report","archive":"Archive","unarchive":"Unarchive","embed":"Leabaich","selectOneOption":"Tagh tè dhe na roghainnean seo","unlistFromTimelines":"Unlist from Timelines","addCW":"Cuir rabhadh susbainte ris","removeCW":"Thoir air falbh an rabhadh susbainte","markAsSpammer":"Cuir comharra gur e spamair a th’ ann","markAsSpammerText":"Unlist + CW existing and future posts","spam":"Spama","sensitive":"Susbaint fhrionasach","abusive":"Abusive or Harmful","underageAccount":"Underage Account","copyrightInfringement":"Copyright Infringement","impersonation":"Impersonation","scamOrFraud":"Scam or Fraud","confirmReport":"Dearbh an gearan","confirmReportText":"Are you sure you want to report this post?","reportSent":"Chaidh an gearan a chur!","reportSentText":"Fhuair sinn do ghearan.","reportSentError":"There was an issue reporting this post.","modAddCWConfirm":"Are you sure you want to add a content warning to this post?","modCWSuccess":"Successfully added content warning","modRemoveCWConfirm":"Are you sure you want to remove the content warning on this post?","modRemoveCWSuccess":"Successfully removed content warning","modUnlistConfirm":"Are you sure you want to unlist this post?","modUnlistSuccess":"Successfully unlisted post","modMarkAsSpammerConfirm":"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.","modMarkAsSpammerSuccess":"Successfully marked account as spammer","toFollowers":"to Followers","showCaption":"Seall am fo-thiotal","showLikes":"Show Likes","compactMode":"Compact Mode","embedConfirmText":"By using this embed, you agree to our","deletePostConfirm":"A bheil thu cinnteach gu bheil thu airson am post seo a sguabadh às?","archivePostConfirm":"A bheil thu cinnteach gu bheil thu airson am post seo a chur dhan tasg-lann?","unarchivePostConfirm":"Are you sure you want to unarchive this post?"},"story":{"add":"Cuir sgeul ris"},"timeline":{"peopleYouMayKnow":"People you may know"},"hashtags":{"emptyFeed":"We can\'t seem to find any posts for this hashtag"}}')},34860:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Comentar","commented":"Comentou","comments":"Comentarios","like":"Agrádame","liked":"Gustoulle","likes":"Gustoulle","share":"Compartir","shared":"Compartiu","shares":"Compartido","unshare":"Non compartir","cancel":"Cancelar","copyLink":"Copiar ligazón","delete":"Eliminar","error":"Erro","errorMsg":"Algo foi mal. Ténteo de novo máis tarde.","oops":"Vaites!","other":"Outro","readMore":"Ler máis","success":"Éxito","sensitive":"Sensible","sensitiveContent":"Contido sensible","sensitiveContentWarning":"Esta publicación pode conter contido sensible"},"site":{"terms":"Termos de uso","privacy":"Política de Privacidade"},"navmenu":{"search":"Busca","admin":"Panel Administrativo","homeFeed":"Cronoloxía de Inicio","localFeed":"Cronoloxía Local","globalFeed":"Cronoloxía Global","discover":"Descubrir","directMessages":"Mensaxes Directas","notifications":"Notificacións","groups":"Grupos","stories":"Historias","profile":"Perfil","drive":"Drive","settings":"Axustes","compose":"Crear Nova","logout":"Logout","about":"Acerca de","help":"Axuda","language":"Idioma","privacy":"Privacidade","terms":"Termos","backToPreviousDesign":"Volver ó deseño previo"},"directMessages":{"inbox":"Bandexa de entrada","sent":"Enviados","requests":"Peticións"},"notifications":{"liked":"gustoulle a túa","commented":"comentou na túa","reacted":"reaccionou a túa","shared":"compartiu a túa","tagged":"etiquetoute nunca","updatedA":"actualizou unha","sentA":"enviou unha","followed":"seguiu","mentioned":"mencionou","you":"you","yourApplication":"A túa solicitude para unirte","applicationApproved":"foi aprobada!","applicationRejected":"for rexeitada. Podes volver a solicitar unirte en 6 meses.","dm":"md","groupPost":"group post","modlog":"modlog","post":"publicación","story":"historia"},"post":{"shareToFollowers":"Compartir a seguidores","shareToOther":"Compartir a outros","noLikes":"Sen gústame por agora","uploading":"Subindo"},"profile":{"posts":"Publicacións","followers":"Seguidores","following":"Seguindo","admin":"Administrador","collections":"Coleccións","follow":"Seguir","unfollow":"Deixar de seguir","editProfile":"Editar perfil","followRequested":"Seguimento pedido","joined":"Uniuse","emptyCollections":"We can\'t seem to find any collections","emptyPosts":"We can\'t seem to find any posts"},"menu":{"viewPost":"Ver publicación","viewProfile":"Ver perfil","moderationTools":"Ferramentas de moderación","report":"Informar","archive":"Arquivar","unarchive":"Desarquivar","embed":"Incrustar","selectOneOption":"Elixe unha das seguintes opcións","unlistFromTimelines":"Desalistar das cronoloxías","addCW":"Engadir aviso sobre o contido","removeCW":"Retirar o aviso sobre o contido","markAsSpammer":"Marcar como Spammer","markAsSpammerText":"Desalistar + aviso sobre o contido en publicacións existentes e futuras","spam":"Spam","sensitive":"Contido sensible","abusive":"Abusivo ou daniño","underageAccount":"Conta de minor de idade","copyrightInfringement":"Violación dos dereitos de autor","impersonation":"Suplantación de identidade","scamOrFraud":"Estafa ou fraude","confirmReport":"Confirmar reporte","confirmReportText":"Seguro que queres informar sobre esta publicación?","reportSent":"Informe enviado!","reportSentText":"Recibimos correctamente o teu informe.","reportSentError":"Houbo un problema reportando esta publicación.","modAddCWConfirm":"Seguro que queres engadir un aviso de contido sobre esta publicación?","modCWSuccess":"Aviso de contido engadido correctamente","modRemoveCWConfirm":"Seguro que queres eliminar o aviso de contido sobre esta publicación?","modRemoveCWSuccess":"Aviso de contido eliminado correctamente","modUnlistConfirm":"Seguro que queres desalistar esta publicación?","modUnlistSuccess":"Publicación desalistada correctamente","modMarkAsSpammerConfirm":"Seguro que queres marcar a este usuario como spam? Todas as publicacións existentes e futuras serán desalistadas das cronoloxías e un aviso de contido será aplicado.","modMarkAsSpammerSuccess":"Conta marcada como spam correctamente","toFollowers":"para Seguidores","showCaption":"Mostrar descrición","showLikes":"Mostrar os gústame","compactMode":"Modo compacto","embedConfirmText":"Utilizando ese incrustado, aceptas","deletePostConfirm":"Seguro que queres eliminar esta publicación?","archivePostConfirm":"Seguro que queres arquivar esta publicación?","unarchivePostConfirm":"Seguro que queres desarquivar esta publicación?"},"story":{"add":"Engadir historia"},"timeline":{"peopleYouMayKnow":"Xente que podes coñecer"},"hashtags":{"emptyFeed":"We can\'t seem to find any posts for this hashtag"}}')},61344:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"תגובה","commented":"הגיבו","comments":"תגובות","like":"אוהב","liked":"אהבתי","likes":"אהבות","share":"שיתוף","shared":"שיתפו","shares":"שיתופים","unshare":"ביטול-שיתוף","cancel":"ביטול","copyLink":"העתק קישור","delete":"מחק","error":"שגיאה","errorMsg":"משהו השתבש. אנא נסו שוב מאוחר יותר.","oops":"אופס!","other":"אחר","readMore":"קרא עוד","success":"הצלחה","sensitive":"רגיש","sensitiveContent":"תוכן רגיש","sensitiveContentWarning":"פוסט זה עלול להכיל תוכן רגיש"},"site":{"terms":"תנאי שימוש","privacy":"מדיניות פרטיות"},"navmenu":{"search":"חיפוש","admin":"לוח בקרה למנהל","homeFeed":"פיד ביתי","localFeed":"פיד מקומי","globalFeed":"פיד גלובאלי","discover":"גלו","directMessages":"הודעות אישיות","notifications":"התראות","groups":"קבוצות","stories":"סיפורים","profile":"פרופיל","drive":"כונן (דרייב)","settings":"הגדרות","compose":"צרו חדש","logout":"התנתק/י","about":"אודות","help":"עזרה","language":"שפה","privacy":"פרטיות","terms":"תנאים","backToPreviousDesign":"חזרה לעיצוב הקודם"},"directMessages":{"inbox":"הודעות נכנסות","sent":"הודעות יוצאות","requests":"בקשות"},"notifications":{"liked":"אהבו לך","commented":"הגיבו לך על","reacted":"הגיבו לך על","shared":"שיתפו לך","tagged":"תייגו אותך בתוך","updatedA":"עדכנו","sentA":"שלחו","followed":"עוקבים","mentioned":"ציינו","you":"אתכם","yourApplication":"בקשתכם להצטרפות","applicationApproved":"אושרה!","applicationRejected":"נדחתה. ניתן לשלוח בקשה חוזרת לאחר 6 חודשים.","dm":"הודעה אישית","groupPost":"פוסט קבוצתי","modlog":"לוג מנהלים","post":"פוסט","story":"סטורי"},"post":{"shareToFollowers":"שתף לעוקבים","shareToOther":"שתף ל-אחר","noLikes":"אין עדיין סימוני \\"אהבתי\\"","uploading":"מעלה"},"profile":{"posts":"פוסטים","followers":"עוקבים","following":"עוקב/ת","admin":"מנהל מערכת","collections":"אוספים","follow":"עקוב","unfollow":"הפסק מעקב","editProfile":"ערוך פרופיל","followRequested":"בקשת עקיבה","joined":"הצטרפויות","emptyCollections":"לא נמצאו אוספים","emptyPosts":"לא נמצאו פוסטים"},"menu":{"viewPost":"הצג פוסט","viewProfile":"הצג פרופיל","moderationTools":"כלי ניהול","report":"דווח","archive":"ארכיון","unarchive":"הסר מהארכיון","embed":"הטמע","selectOneOption":"בחר באחד מהאפשרויות הבאות","unlistFromTimelines":"העלם מטיימליינים","addCW":"הוסף אזהרת תוכן","removeCW":"הסר אזהרת תוכן","markAsSpammer":"סמן בתור ספאמר (מציף)","markAsSpammerText":"העלם והפעל אזהרת תוכן לפוסטים קיימים ועתידיים","spam":"ספאם","sensitive":"תוכן רגיש","abusive":"תוכן מטריד או מזיק","underageAccount":"תוכן עם קטינים","copyrightInfringement":"הפרת זכויות יוצרים","impersonation":"התחזות","scamOrFraud":"הונאה","confirmReport":"אישור דיווח","confirmReportText":"האם אתם בטוחים שברצונכם לדווח על פוסט זה?","reportSent":"דיווח נשלח!","reportSentText":"התקבלה הדיווח.","reportSentError":"הייתה תקלה בדיווח פוסט זה.","modAddCWConfirm":"אתם בטוחים שברצונכם להוסיף אזהרת תוכן לפוסט זה?","modCWSuccess":"אזהרת תוכן נוספה בהצלחה","modRemoveCWConfirm":"אתם בטוחים שברצונכם להסיר את אזהרת התוכן מפוסט זה?","modRemoveCWSuccess":"אזהרת תוכן הוסרה בהצלחה","modUnlistConfirm":"האם אתם בטוחים שברצונכם להעלים פוסט זה?","modUnlistSuccess":"פוסט הועלם בהצלחה","modMarkAsSpammerConfirm":"האם אתם בטוחים שברצונכם לסמן משתמש זה בתור ספאמר (מציף)? כל הפוסטים הקיימים ועתידיים יועלמו ואזהרת תוכן תופעל.","modMarkAsSpammerSuccess":"חשבון סומן בתור ספאמר בהצלחה","toFollowers":"עבור עוקבים","showCaption":"הצג תיאור","showLikes":"הצג כמות ״אהבתי״","compactMode":"מצב מוקטן","embedConfirmText":"בעט שימוש בהמטעה זו, הנכם מסכימים אל","deletePostConfirm":"האם אתם בטוחים שברצונכם למחוק פוסט זה?","archivePostConfirm":"האם אתם בטוחים שברצונכם להעביר פוסט זה לארכיון?","unarchivePostConfirm":"האם אתם בטוחים שברצונכם להוציא פוסט זה מהארכיון?"},"story":{"add":"הוסף סטורי"},"timeline":{"peopleYouMayKnow":"אנשים שאתם אולי מכירים"},"hashtags":{"emptyFeed":"לא נמצאו פוסטים עבור תיוג זה"}}')},91302:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Komentar","commented":"Dikomentari","comments":"Komentar","like":"Menyukai","liked":"Disukai","likes":"Suka","share":"Bagikan","shared":"Dibagikan","shares":"Dibagikan","unshare":"Batalkan berbagi","cancel":"Batal","copyLink":"Salin tautan","delete":"Hapus","error":"Kesalahan","errorMsg":"Telah terjadi kesalahan. Silakan coba lagi nanti.","oops":"Oops!","other":"Lainnya","readMore":"Baca selengkapnya","success":"Berhasil","sensitive":"Sensitif","sensitiveContent":"Konten Sensitif","sensitiveContentWarning":"Postingan ini mengandung konten sensitif"},"site":{"terms":"Ketentuan Penggunaan","privacy":"Kebijakan Privasi"},"navmenu":{"search":"Cari","admin":"Dasbor Admin","homeFeed":"Beranda","localFeed":"Umpan lokal","globalFeed":"Umpan global","discover":"Jelajahi","directMessages":"Pesan Langsung","notifications":"Notifikasi","groups":"Grup","stories":"Cerita","profile":"Profil","drive":"Perangkat Keras","settings":"Pengaturan","compose":"Membuat baru","logout":"Keluar","about":"Tentang","help":"Bantuan","language":"Bahasa","privacy":"Privasi","terms":"Ketentuan","backToPreviousDesign":"Kembali ke desain sebelumnya"},"directMessages":{"inbox":"Kotak Masuk","sent":"Terkirim","requests":"Permintaan"},"notifications":{"liked":"menyukai","commented":"mengomentari","reacted":"bereaksi terhadap","shared":"membagikan","tagged":"menandai Anda pada sebuah","updatedA":"mengupdate sebuah","sentA":"mengirim sebuah","followed":"diikuti","mentioned":"disebut","you":"anda","yourApplication":"Aplikasi anda untuk mengikuti","applicationApproved":"telah disetujui!","applicationRejected":"telah ditolak. Anda dapat kembali mengajukan untuk bergabung dalam 6 bulan.","dm":"dm","groupPost":"postingan grup","modlog":"modlog","post":"postingan","story":"cerita"},"post":{"shareToFollowers":"Membagikan kepada pengikut","shareToOther":"Membagikan ke orang lain","noLikes":"Belum ada yang menyukai","uploading":"Mengunggah"},"profile":{"posts":"Postingan","followers":"Pengikut","following":"Mengikuti","admin":"Pengelola","collections":"Koleksi","follow":"Ikuti","unfollow":"Berhenti Ikuti","editProfile":"Ubah Profil","followRequested":"Meminta Permintaan Mengikuti","joined":"Bergabung","emptyCollections":"Sepertinya kami tidak dapat menemukan koleksi apapun","emptyPosts":"Sepertinya kami tidak dapat menemukan postingan apapun"},"menu":{"viewPost":"Lihat Postingan","viewProfile":"Lihat Profil","moderationTools":"Alat Moderasi","report":"Laporkan","archive":"Arsipkan","unarchive":"Keluarkan dari arsip","embed":"Penyemat","selectOneOption":"Pilih salah satu dari opsi berikut","unlistFromTimelines":"Keluarkan dari Timeline","addCW":"Tambahkan peringatan konten","removeCW":"Hapus Peringatan Konten","markAsSpammer":"Tandai sebagai pelaku spam","markAsSpammerText":"Hapus dari daftar dan tambahkan peringatan konten pada konten yang telah ada dan akan datang","spam":"Spam","sensitive":"Konten Sensitif","abusive":"Kasar atau Berbahaya","underageAccount":"Akun di bawah umur","copyrightInfringement":"Pelanggaran Hak Cipta","impersonation":"Peniruan","scamOrFraud":"Penipuan","confirmReport":"Konfirmasi Laporan","confirmReportText":"Apakah Anda yakin ingin melaporkan postingan ini?","reportSent":"Laporan Terkirim!","reportSentText":"Kita telah berhasil menerima laporan Anda.","reportSentError":"Ada masalah saat melaporkan postingan ini.","modAddCWConfirm":"Apakah Anda yakin ingin menambahkan peringatan konten pada postingan ini?","modCWSuccess":"Berhasil menambahkan peringatan konten","modRemoveCWConfirm":"Apakah Anda yakin ingin menghapus peringatan konten pada postingan ini?","modRemoveCWSuccess":"Berhasil menghapus peringatan konten","modUnlistConfirm":"Apakah Anda yakin ingin mengeluarkan postingan ini dari daftar?","modUnlistSuccess":"Berhasil mengeluarkan postingan dari daftar","modMarkAsSpammerConfirm":"Apakah Anda ingin menandai pengguna ini sebagai pelaku spam? Semua postingan yang ada dan akan datang akan dihapus dari timeline dan peringatan konten akan diterapkan.","modMarkAsSpammerSuccess":"Berhasil menandai akun sebagai pelaku spam","toFollowers":"kepada Pengikut","showCaption":"Tampilkan Keterangan","showLikes":"Tampilkan suka","compactMode":"Mode Praktis","embedConfirmText":"Dengan menggunakan penyemat ini, Anda setuju dengan","deletePostConfirm":"Apakah Anda yakin ingin menghapus postingan ini?","archivePostConfirm":"Apakah Anda yakin ingin mengarsip postingan ini?","unarchivePostConfirm":"Apakah Anda yakin ingin tidak mengarsipkan postingan ini?"},"story":{"add":"Tambah Cerita"},"timeline":{"peopleYouMayKnow":"Orang yang mungkin Anda kenal"},"hashtags":{"emptyFeed":"Sepertinya kami tidak dapat menemukan postingan untuk tagar ini"}}')},52950:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Commenta","commented":"Commentato","comments":"Commenti","like":"Like","liked":"Like aggiunto","likes":"Tutti i Like","share":"Condividi","shared":"Condiviso","shares":"Condivisioni","unshare":"Annulla condivisione","cancel":"Annulla","copyLink":"Copia link","delete":"Elimina","error":"Errore","errorMsg":"Qualcosa è andato storto. Sei pregato di riprovare più tardi.","oops":"Ops!","other":"Altro","readMore":"Leggi di più","success":"Riuscito","sensitive":"Sensibile","sensitiveContent":"Contenuto Sensibile","sensitiveContentWarning":"Questo post potrebbe contenere contenuti sensibili"},"site":{"terms":"Termini di Utilizzo","privacy":"Informativa Privacy"},"navmenu":{"search":"Cerca","admin":"Pannello di amministrazione","homeFeed":"Feed Home","localFeed":"Feed Locale","globalFeed":"Feed Globale","discover":"Esplora","directMessages":"Messaggi Diretti","notifications":"Notifiche","groups":"Gruppi","stories":"Storie","profile":"Profilo","drive":"Drive","settings":"Impostazioni","compose":"Crea Nuovo","logout":"Esci","about":"Info","help":"Supporto","language":"Lingua","privacy":"Privacy","terms":"Condizioni","backToPreviousDesign":"Torna al design precedente"},"directMessages":{"inbox":"In arrivo","sent":"Inviata","requests":"Richieste"},"notifications":{"liked":"ha messo like a","commented":"ha commentato","reacted":"ha reagito a","shared":"ha condiviso","tagged":"ti ha taggato in","updatedA":"ha aggiornato un","sentA":"ha inviato un","followed":"stai seguendo","mentioned":"menzionato","you":"tu","yourApplication":"La tua candidatura per unirti","applicationApproved":"è stata approvata!","applicationRejected":"è stata respinta. Puoi richiedere di unirti fra 6 mesi.","dm":"dm","groupPost":"post di gruppo","modlog":"modlog","post":"post","story":"storia"},"post":{"shareToFollowers":"Condividi con i follower","shareToOther":"Condividi con altri","noLikes":"Ancora nessun Like","uploading":"Caricamento in corso"},"profile":{"posts":"Post","followers":"Follower","following":"Seguiti","admin":"Amministrazione","collections":"Collezioni","follow":"Segui","unfollow":"Smetti di seguire","editProfile":"Modifica profilo","followRequested":"Richiesta in attesa","joined":"Iscritto","emptyCollections":"Non riusciamo a trovare alcuna collezione","emptyPosts":"Non riusciamo a trovare alcun post"},"menu":{"viewPost":"Mostra Post","viewProfile":"Mostra Profilo","moderationTools":"Strumenti di moderazione","report":"Segnala","archive":"Archivia","unarchive":"Rimuovi dall\'archivio","embed":"Incorpora","selectOneOption":"Scegli una delle seguenti opzioni","unlistFromTimelines":"Rimuovi dalle Timeline","addCW":"Aggiungi segnalazione","removeCW":"Rimuovi segnalazione","markAsSpammer":"Segna come Spammer","markAsSpammerText":"Rimuovi dalla lista + segnalazione di contenuti sensibili per post attuali e futuri","spam":"Spam","sensitive":"Contenuto Sensibile","abusive":"Abusivo o Dannoso","underageAccount":"Account di minorenne","copyrightInfringement":"Violazione del copyright","impersonation":"Impersonifica","scamOrFraud":"Truffa o frode","confirmReport":"Conferma Segnalazione","confirmReportText":"Sei sicurə di voler segnalare questo contenuto?","reportSent":"Segnalazione inviata!","reportSentText":"Abbiamo ricevuto la tua segnalazione con successo.","reportSentError":"Si è verificato un problema nella segnalazione di questo post.","modAddCWConfirm":"Sei sicurə di voler segnalare come sensibile questo post?","modCWSuccess":"Segnalazione aggiunta con successo","modRemoveCWConfirm":"Sei sicurə di voler rimuovere la segnalazione da questo post?","modRemoveCWSuccess":"Segnalazione rimossa con successo","modUnlistConfirm":"Sei sicurə di voler rimuovere questo post dall’elenco?","modUnlistSuccess":"Post rimosso dall’elenco con successo","modMarkAsSpammerConfirm":"Sei sicuro di voler contrassegnare questo utente come spammer? Tutti i suoi post esistenti e futuri saranno rimossi dalle timeline e una segnalazione per contenuti sensibili sarà aggiunta.","modMarkAsSpammerSuccess":"Account contrassegnato come spammer con successo","toFollowers":"ai follower","showCaption":"Mostra didascalia","showLikes":"Mostra i like","compactMode":"Modalità compatta","embedConfirmText":"Usando questo strumento, acconsenti ai nostri","deletePostConfirm":"Sei sicurə di voler eliminare questo post?","archivePostConfirm":"Sei sicurə di voler archiviare questo post?","unarchivePostConfirm":"Sei sicurə di voler rimuovere questo post dall’archivio?"},"story":{"add":"Aggiungi Storia"},"timeline":{"peopleYouMayKnow":"Persone che potresti conoscere"},"hashtags":{"emptyFeed":"Non riusciamo a trovare alcun post con questo hashtag"}}')},87286:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"コメント","commented":"コメントされました","comments":"コメント","like":"いいね","liked":"いいねしました","likes":"いいね","share":"共有","shared":"共有されました","shares":"共有","unshare":"共有解除","cancel":"キャンセル","copyLink":"リンクをコピー","delete":"削除","error":"エラー","errorMsg":"何かが間違っています。しばらくしてからやり直してください。","oops":"おおっと!","other":"その他","readMore":"もっと読む","success":"成功しました","sensitive":"センシティブ","sensitiveContent":"センシティブなコンテンツ","sensitiveContentWarning":"この投稿にはセンシティブなコンテンツが含まれている可能性があります"},"site":{"terms":"利用規約","privacy":"プライバシーポリシー"},"navmenu":{"search":"検索","admin":"管理者ダッシュボード","homeFeed":"ホームフィード","localFeed":"ローカルフィード","globalFeed":"グローバルフィード","discover":"発見","directMessages":"ダイレクトメッセージ","notifications":"通知","groups":"グループ","stories":"ストーリーズ","profile":"プロフィール","drive":"ドライブ","settings":"設定","compose":"新規投稿","logout":"ログアウト","about":"このサーバーについて","help":"ヘルプ","language":"言語","privacy":"プライバシー","terms":"利用規約","backToPreviousDesign":"以前のデザインに戻す"},"directMessages":{"inbox":"受信トレイ","sent":"送信済み","requests":"リクエスト"},"notifications":{"liked":"liked your","commented":"commented on your","reacted":"reacted to your","shared":"shared your","tagged":"tagged you in a","updatedA":"updated a","sentA":"sent a","followed":"followed","mentioned":"mentioned","you":"あなた","yourApplication":"Your application to join","applicationApproved":"was approved!","applicationRejected":"was rejected. You can re-apply to join in 6 months.","dm":"dm","groupPost":"グループの投稿","modlog":"モデレーションログ","post":"投稿","story":"ストーリー"},"post":{"shareToFollowers":"フォロワーに共有","shareToOther":"その他に共有","noLikes":"まだ誰からもいいねされていません","uploading":"アップロード中"},"profile":{"posts":"投稿","followers":"フォロワー","following":"フォロー中","admin":"管理者","collections":"コレクション","follow":"フォロー","unfollow":"フォロー解除","editProfile":"プロフィールを編集","followRequested":"フォロー承認待ち","joined":"参加しました","emptyCollections":"コレクションが見つかりませんでした","emptyPosts":"投稿が見つかりませんでした"},"menu":{"viewPost":"投稿を見る","viewProfile":"プロフィールを見る","moderationTools":"モデレーションツール","report":"報告","archive":"アーカイブ","unarchive":"アーカイブを解除","embed":"埋め込み","selectOneOption":"以下の選択肢から1つ選択してください","unlistFromTimelines":"タイムラインに非表示","addCW":"コンテンツ警告を追加","removeCW":"コンテンツ警告を削除","markAsSpammer":"スパムとしてマーク","markAsSpammerText":"非表示+コンテンツ警告を既存の、また将来の投稿に追加","spam":"スパム","sensitive":"センシティブなコンテンツ","abusive":"虐待または有害","underageAccount":"未成年のアカウント","copyrightInfringement":"著作権侵害","impersonation":"なりすまし","scamOrFraud":"詐欺または不正な行為","confirmReport":"報告を送信","confirmReportText":"本当にこの投稿を報告しますか?","reportSent":"報告が送信されました!","reportSentText":"あなたの報告を受け取りました。","reportSentError":"この投稿を報告する際に問題が発生しました。","modAddCWConfirm":"この投稿にコンテンツ警告を追加してもよろしいですか?","modCWSuccess":"コンテンツ警告が追加されました","modRemoveCWConfirm":"本当にこの投稿からコンテンツ警告を削除しますか?","modRemoveCWSuccess":"コンテンツ警告が削除されました","modUnlistConfirm":"本当にこの投稿を非表示にしますか?","modUnlistSuccess":"投稿が非表示になりました","modMarkAsSpammerConfirm":"このユーザーをスパムとして登録していいですか?既存のまた、今後の投稿はすべてタイムラインに表示されず、コンテンツ警告が適用されます。","modMarkAsSpammerSuccess":"アカウントをスパムとしてマークしました","toFollowers":"to Followers","showCaption":"説明を表示","showLikes":"いいねを表示","compactMode":"コンパクトモード","embedConfirmText":"By using this embed, you agree to our","deletePostConfirm":"本当にこの投稿を削除しますか?","archivePostConfirm":"本当にこの投稿をアーカイブしますか?","unarchivePostConfirm":"本当にこの投稿をアーカイブから削除しますか?"},"story":{"add":"ストーリーを追加"},"timeline":{"peopleYouMayKnow":"知り合いかも"},"hashtags":{"emptyFeed":"このハッシュタグの投稿が見つかりませんでした"}}')},66849:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Reactie","commented":"Heeft gereageerd","comments":"Reacties","like":"Leuk","liked":"Leuk gevonden","likes":"Leuk gevonden","share":"Delen","shared":"Gedeeld","shares":"Gedeeld door","unshare":"Niet meer delen","cancel":"Annuleren","copyLink":"Link kopiëren","delete":"Verwijderen","error":"Fout","errorMsg":"Er is iets misgegaan. Probeer het later opnieuw.","oops":"Oeps!","other":"Anders","readMore":"Lees meer","success":"Geslaagd","sensitive":"Gevoelig","sensitiveContent":"Gevoelige inhoud","sensitiveContentWarning":"Deze post kan gevoelige inhoud bevatten"},"site":{"terms":"Gebruiksvoorwaarden","privacy":"Privacy beleid"},"navmenu":{"search":"Zoeken","admin":"Beheerdersdashboard","homeFeed":"Thuis Feed","localFeed":"Lokale Feed","globalFeed":"Globale feed","discover":"Ontdekken","directMessages":"Directe berichten","notifications":"Notificaties","groups":"Groepen","stories":"Verhalen","profile":"Profiel","drive":"Drive","settings":"Instellingen","compose":"Nieuwe aanmaken","logout":"Logout","about":"Over","help":"Hulp","language":"Taal","privacy":"Privacy","terms":"Voorwaarden","backToPreviousDesign":"Ga terug naar het vorige ontwerp"},"directMessages":{"inbox":"Inbox","sent":"Verzonden","requests":"Verzoeken"},"notifications":{"liked":"vond leuk je","commented":"reageerde op je","reacted":"heeft gereageerd op je","shared":"deelde je","tagged":"heeft je gatagged in","updatedA":"heeft bijgewerkt een","sentA":"stuurde een","followed":"volgde","mentioned":"noemde","you":"jou","yourApplication":"Uw aanvraag om toe te treden","applicationApproved":"werd goedgekeurd!","applicationRejected":"werd afgekeurd. Je kunt over 6 maanden opnieuw aanmelden.","dm":"dm","groupPost":"groepspost","modlog":"modlogboek","post":"post","story":"verhaal"},"post":{"shareToFollowers":"Deel met volgers","shareToOther":"Deel met anderen","noLikes":"Nog geen leuks","uploading":"Uploaden"},"profile":{"posts":"Posts","followers":"Volgers","following":"Aan het volgen","admin":"Beheerder","collections":"Collecties","follow":"Volgen","unfollow":"Ontvolgen","editProfile":"Profiel bewerken","followRequested":"Volgen verzocht","joined":"Lid geworden","emptyCollections":"We can\'t seem to find any collections","emptyPosts":"We can\'t seem to find any posts"},"menu":{"viewPost":"Post bekijken","viewProfile":"Profiel bekijken","moderationTools":"Moderatiegereedschappen","report":"Rapporteren","archive":"Archief","unarchive":"Dearchiveren","embed":"Insluiten","selectOneOption":"Selecteer een van de volgende opties","unlistFromTimelines":"Uit tijdlijnen halen","addCW":"Inhoudswaarschuwing toevoegen","removeCW":"Inhoudswaarschuwing verwijderen","markAsSpammer":"Markeren als spammer","markAsSpammerText":"Uit lijst halen + inhoudswaarschuwing bestaande en toekomstige posts","spam":"Spam","sensitive":"Gevoelige inhoud","abusive":"Beledigend of Schadelijk","underageAccount":"Minderjarig account","copyrightInfringement":"Auteursrechtenschending","impersonation":"Impersonatie","scamOrFraud":"Oplichting of fraude","confirmReport":"Bevestig Rapport","confirmReportText":"Weet je zeker dat je deze post wilt rapporteren?","reportSent":"Rapport verzonden!","reportSentText":"We hebben uw rapport met succes ontvangen.","reportSentError":"Er is een probleem opgetreden bij het rapporteren van deze post.","modAddCWConfirm":"Weet u zeker dat u een waarschuwing voor inhoud wilt toevoegen aan deze post?","modCWSuccess":"Inhoudswaarschuwing succesvol toegevoegd","modRemoveCWConfirm":"Weet u zeker dat u de waarschuwing voor inhoud wilt verwijderen van deze post?","modRemoveCWSuccess":"Succesvol de inhoudswaarschuwing verwijderd","modUnlistConfirm":"Weet je zeker dat je deze post uit de lijst wilt halen?","modUnlistSuccess":"Post met succes uit de lijst gehaald","modMarkAsSpammerConfirm":"Weet u zeker dat u deze gebruiker wilt markeren als spammer? Alle bestaande en toekomstige posts worden niet vermeld op tijdlijnen en een waarschuwing over de inhoud zal worden toegepast.","modMarkAsSpammerSuccess":"Account succesvol gemarkeerd als spammer","toFollowers":"naar volgers","showCaption":"Onderschrift tonen","showLikes":"Leuks tonen","compactMode":"Compacte modus","embedConfirmText":"Door deze embed te gebruiken, gaat u akkoord met onze","deletePostConfirm":"Weet je zeker dat je deze post wil verwijderen?","archivePostConfirm":"Weet je zeker dat je deze post wilt archiveren?","unarchivePostConfirm":"Weet je zeker dat je deze post wilt dearchiveren?"},"story":{"add":"Verhaal toevoegen"},"timeline":{"peopleYouMayKnow":"Mensen die u misschien kent"},"hashtags":{"emptyFeed":"We can\'t seem to find any posts for this hashtag"}}')},70707:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Skomentuj","commented":"Skomentowane","comments":"Komentarze","like":"Polub","liked":"Polubione","likes":"Polubienia","share":"Udostępnij","shared":"Udostępnione","shares":"Udostępnione","unshare":"Anuluj udostępnianie","cancel":"Anuluj","copyLink":"Kopiuj Link","delete":"Usuń","error":"Błąd","errorMsg":"Coś poszło nie tak. Spróbuj ponownie później.","oops":"Ups!","other":"Inne","readMore":"Czytaj więcej","success":"Sukces","sensitive":"Wrażliwe","sensitiveContent":"Treść wrażliwa","sensitiveContentWarning":"Ten post może zawierać wrażliwe treści"},"site":{"terms":"Warunki Użytkowania","privacy":"Polityka Prywatności"},"navmenu":{"search":"Szukaj","admin":"Panel administracyjny","homeFeed":"Główny kanał","localFeed":"Lokalny kanał","globalFeed":"Globalny kanał","discover":"Odkrywaj","directMessages":"Wiadomości bezpośrednie","notifications":"Powiadomienia","groups":"Grupy","stories":"Opowieści","profile":"Profil","drive":"Dysk","settings":"Ustawienia","compose":"Utwórz nowy","logout":"Logout","about":"O nas","help":"Pomoc","language":"Język","privacy":"Prywatność","terms":"Regulamin","backToPreviousDesign":"Wróć do poprzedniego wyglądu"},"directMessages":{"inbox":"Wiadomości","sent":"Wysłane","requests":"Prośby o kontakt"},"notifications":{"liked":"polubił(a) twoje","commented":"skomentował(a) twoje","reacted":"zareagował(a) na twoje","shared":"udostępnił(-a) twój","tagged":"oznaczono cię w","updatedA":"zaktualizowano","sentA":"wysłano","followed":"zaobserwował(-a)","mentioned":"wspominał(-a)","you":"ciebie","yourApplication":"Twoja prośba o dołączenie","applicationApproved":"została zatwierdzona!","applicationRejected":"została odrzucona. Możesz ponownie ubiegać się o dołączenie za 6 miesięcy.","dm":"Wiadomość prywatna","groupPost":"post grupowy","modlog":"logi","post":"post","story":"opowieść"},"post":{"shareToFollowers":"Udostępnij obserwującym","shareToOther":"Udostępnij innym","noLikes":"Brak polubień","uploading":"Przesyłanie"},"profile":{"posts":"Posty","followers":"Obserwujący","following":"Obserwowane","admin":"Administrator","collections":"Kolekcje","follow":"Obserwuj","unfollow":"Przestań obserwować","editProfile":"Edytuj profil","followRequested":"Prośba o zaobserwowanie","joined":"Dołączono","emptyCollections":"Nie możemy znaleźć żadnych kolekcji","emptyPosts":"Nie możemy znaleźć żadnych postów"},"menu":{"viewPost":"Zobacz post","viewProfile":"Zobacz profil","moderationTools":"Narzędzia moderacyjne","report":"Zgłoś","archive":"Przenieś do archiwum","unarchive":"Usuń z archiwum","embed":"Osadź","selectOneOption":"Wybierz jedną z następujących opcji","unlistFromTimelines":"Usuń z osi czasu","addCW":"Dodaj ostrzeżenie o treści","removeCW":"Usuń ostrzeżenie o treści","markAsSpammer":"Oznacz jako Spamer","markAsSpammerText":"Usuń z listy i dodaj ostrzeżenia o treści do istniejących i przyszłych postów","spam":"Spam","sensitive":"Treść wrażliwa","abusive":"Obraźliwe lub krzywdzące","underageAccount":"Konto dla niepełnoletnich","copyrightInfringement":"Naruszenie praw autorskich","impersonation":"Podszywanie się pod inne osoby","scamOrFraud":"Oszustwo lub próba wyłudzenia","confirmReport":"Potwierdź zgłoszenie","confirmReportText":"Czy na pewno chcesz zgłosić ten post?","reportSent":"Zgłoszenie wysłane!","reportSentText":"Otrzymaliśmy Twój raport.","reportSentError":"Wystąpił błąd podczas zgłaszania tego posta.","modAddCWConfirm":"Czy na pewno chcesz dodać ostrzeżenie o treści do tego wpisu?","modCWSuccess":"Pomyślnie dodano ostrzeżenie o treści","modRemoveCWConfirm":"Czy na pewno chcesz usunąć ostrzeżenie o treści tego wpisu?","modRemoveCWSuccess":"Pomyślnie usunięto ostrzeżenie o treści","modUnlistConfirm":"Czy na pewno chcesz usunąć z listy ten wpis?","modUnlistSuccess":"Pomyślnie usunięto post z listy","modMarkAsSpammerConfirm":"Czy na pewno chcesz oznaczyć tego użytkownika jako spamera? Wszystkie istniejące i przyszłe posty nie będą wyświetlane na osi czasu i zostaną zastosowane ostrzeżenia o treści.","modMarkAsSpammerSuccess":"Pomyślnie oznaczono konto jako spamer","toFollowers":"do obserwujących","showCaption":"Pokaż podpis","showLikes":"Pokaż polubienia","compactMode":"Tryb kompaktowy","embedConfirmText":"Korzystając z tego osadzenia akceptujesz naszą","deletePostConfirm":"Czy na pewno chcesz usunąć ten post?","archivePostConfirm":"Czy na pewno chcesz zarchiwizować ten post?","unarchivePostConfirm":"Czy na pewno chcesz cofnąć archiwizację tego wpisu?"},"story":{"add":"Dodaj Opowieść"},"timeline":{"peopleYouMayKnow":"Ludzie, których możesz znać"},"hashtags":{"emptyFeed":"Nie możemy znaleźć żadnych postów dla tego hasztaga"}}')},85147:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Comentar","commented":"Comentado","comments":"Comentários","like":"Curtir","liked":"Curtiu","likes":"Curtidas","share":"Compartilhar","shared":"Compartilhado","shares":"Compartilhamentos","unshare":"Desfazer compartilhamento","cancel":"Cancelar","copyLink":"Copiar link","delete":"Apagar","error":"Erro","errorMsg":"Algo deu errado. Por favor, tente novamente mais tarde.","oops":"Opa!","other":"Outro","readMore":"Leia mais","success":"Sucesso","sensitive":"Sensível","sensitiveContent":"Conteúdo sensível","sensitiveContentWarning":"Esta publicação pode conter conteúdo inapropriado"},"site":{"terms":"Termos de Uso","privacy":"Política de Privacidade"},"navmenu":{"search":"Pesquisar","admin":"Painel do Administrador","homeFeed":"Página inicial","localFeed":"Feed local","globalFeed":"Feed global","discover":"Explorar","directMessages":"Mensagens privadas","notifications":"Notificações","groups":"Grupos","stories":"Histórias","profile":"Perfil","drive":"Mídias","settings":"Configurações","compose":"Criar novo","logout":"Sair","about":"Sobre","help":"Ajuda","language":"Idioma","privacy":"Privacidade","terms":"Termos","backToPreviousDesign":"Voltar ao design anterior"},"directMessages":{"inbox":"Caixa de entrada","sent":"Enviadas","requests":"Solicitações"},"notifications":{"liked":"curtiu seu","commented":"comentou em seu","reacted":"reagiu ao seu","shared":"compartilhou seu","tagged":"marcou você em um","updatedA":"atualizou um(a)","sentA":"enviou um","followed":"seguiu","mentioned":"mencionado","you":"você","yourApplication":"Sua inscrição para participar","applicationApproved":"foi aprovado!","applicationRejected":"foi rejeitado. Você pode se inscrever novamente para participar em 6 meses.","dm":"mensagem direta","groupPost":"postagem do grupo","modlog":"histórico de moderação","post":"publicação","story":"história"},"post":{"shareToFollowers":"Compartilhar com os seguidores","shareToOther":"Compartilhar com outros","noLikes":"Ainda sem curtidas","uploading":"Enviando"},"profile":{"posts":"Publicações","followers":"Seguidores","following":"Seguindo","admin":"Administrador","collections":"Coleções","follow":"Seguir","unfollow":"Deixar de seguir","editProfile":"Editar Perfil","followRequested":"Solicitação de seguir enviada","joined":"Entrou","emptyCollections":"Não conseguimos encontrar nenhuma coleção","emptyPosts":"Não encontramos nenhuma publicação"},"menu":{"viewPost":"Ver publicação","viewProfile":"Ver Perfil","moderationTools":"Ferramentas de moderação","report":"Denunciar","archive":"Arquivo","unarchive":"Desarquivar","embed":"Incorporar","selectOneOption":"Selecione uma das opções a seguir","unlistFromTimelines":"Retirar das linhas do tempo","addCW":"Adicionar aviso de conteúdo","removeCW":"Remover aviso de conteúdo","markAsSpammer":"Marcar como Spammer","markAsSpammerText":"Retirar das linhas do tempo + adicionar aviso de conteúdo às publicações antigas e futuras","spam":"Lixo Eletrônico","sensitive":"Conteúdo sensível","abusive":"Abusivo ou Prejudicial","underageAccount":"Conta de menor de idade","copyrightInfringement":"Violação de direitos autorais","impersonation":"Roubo de identidade","scamOrFraud":"Golpe ou Fraude","confirmReport":"Confirmar denúncia","confirmReportText":"Você realmente quer denunciar esta publicação?","reportSent":"Denúncia enviada!","reportSentText":"Nós recebemos sua denúncia com sucesso.","reportSentError":"Houve um problema ao denunciar esta publicação.","modAddCWConfirm":"Você realmente quer adicionar um aviso de conteúdo a esta publicação?","modCWSuccess":"Aviso de conteúdo sensível adicionado com sucesso","modRemoveCWConfirm":"Você realmente quer remover o aviso de conteúdo desta publicação?","modRemoveCWSuccess":"Aviso de conteúdo sensível removido com sucesso","modUnlistConfirm":"Você realmente quer definir esta publicação como não listada?","modUnlistSuccess":"A publicação foi definida como não listada com sucesso","modMarkAsSpammerConfirm":"Você realmente quer denunciar este usuário por spam? Todas as suas publicações anteriores e futuras serão marcadas com um aviso de conteúdo e removidas das linhas do tempo.","modMarkAsSpammerSuccess":"Perfil denunciado com sucesso","toFollowers":"para seguidores","showCaption":"Mostrar legenda","showLikes":"Mostrar curtidas","compactMode":"Modo compacto","embedConfirmText":"Ao usar de forma “embed”, você concorda com nossas","deletePostConfirm":"Você tem certeza que deseja excluir esta publicação?","archivePostConfirm":"Tem certeza que deseja arquivar esta publicação?","unarchivePostConfirm":"Tem certeza que deseja desarquivar esta publicação?"},"story":{"add":"Adicionar Story"},"timeline":{"peopleYouMayKnow":"Pessoas que você talvez conheça"},"hashtags":{"emptyFeed":"Não encontramos nenhuma publicação com esta hashtag"}}')},20466:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Комментарий","commented":"Прокомментировано","comments":"Комментарии","like":"Мне нравится","liked":"Вы лайкнули","likes":"Лайки","share":"Поделиться","shared":"Поделились","shares":"Поделились","unshare":"Не делиться","cancel":"Отмена","copyLink":"Скопировать ссылку","delete":"Удалить","error":"Ошибка","errorMsg":"Что-то пошло не так. Пожалуйста, попробуйте еще раз позже.","oops":"Упс!","other":"Прочее","readMore":"Читать далее","success":"Успешно","sensitive":"Чувствительный","sensitiveContent":"Чувствительный контент","sensitiveContentWarning":"Этот пост может содержать чувствительный контент"},"site":{"terms":"Условия использования","privacy":"Политика конфиденциальности"},"navmenu":{"search":"Поиск","admin":"Панель администратора","homeFeed":"Домашняя лента","localFeed":"Локальная лента","globalFeed":"Глобальная лента","discover":"Общее","directMessages":"Личные Сообщения","notifications":"Уведомления","groups":"Группы","stories":"Истории","profile":"Профиль","drive":"Диск","settings":"Настройки","compose":"Создать новый пост","logout":"Logout","about":"О нас","help":"Помощь","language":"Язык","privacy":"Конфиденциальность","terms":"Условия использования","backToPreviousDesign":"Вернуться к предыдущему дизайну"},"directMessages":{"inbox":"Входящие","sent":"Отправленные","requests":"Запросы"},"notifications":{"liked":"понравился ваш","commented":"прокомментировал ваш","reacted":"отреагировал на ваш","shared":"поделился вашим","tagged":"отметил вас в публикации","updatedA":"updated a","sentA":"отправил","followed":"подписался","mentioned":"mentioned","you":"вы","yourApplication":"Ваше заявка на вступление","applicationApproved":"было одобрено!","applicationRejected":"было отклонено. Вы можете повторно подать заявку на регистрацию в течение 6 месяцев.","dm":"сообщение","groupPost":"сообщения группы","modlog":"modlog","post":"пост","story":"история"},"post":{"shareToFollowers":"Поделиться с подписчиками","shareToOther":"Поделиться с другими","noLikes":"Пока никому не понравилось","uploading":"Загружается"},"profile":{"posts":"Посты","followers":"Подписчики","following":"Подписки","admin":"Администратор","collections":"Коллекции","follow":"Подписаться","unfollow":"Отписаться","editProfile":"Редактировать профиль","followRequested":"Хочет на Вас подписаться","joined":"Регистрация","emptyCollections":"Похоже, мы не можем найти ни одной коллекции","emptyPosts":"Похоже, мы не можем найти ни одной записи"},"menu":{"viewPost":"Показать пост","viewProfile":"Посмотреть профиль","moderationTools":"Инструменты модерации","report":"Пожаловаться","archive":"Архив","unarchive":"Вернуть из архива","embed":"Встроить","selectOneOption":"Выберите один из вариантов","unlistFromTimelines":"Скрыть из лент","addCW":"Добавить предупреждение о контенте","removeCW":"Удалить предупреждение о контенте","markAsSpammer":"Пометить как спамера","markAsSpammerText":"Unlist + CW existing and future posts","spam":"Спам","sensitive":"Деликатный контент","abusive":"Жестокое обращение или причинение вреда","underageAccount":"Несовершеннолетний аккаунт","copyrightInfringement":"Нарушение авторских прав","impersonation":"Представление себя за другого человека","scamOrFraud":"Обман или мошенничество","confirmReport":"Подтвердить жалобу","confirmReportText":"Вы действительно хотите пожаловаться на этот пост?","reportSent":"Жалоба отправлена!","reportSentText":"Мы успешно получили Вашу жалобу.","reportSentError":"При отправке жалобы на этот пост произошла ошибка.","modAddCWConfirm":"Вы действительно хотите добавить предупреждение о контенте на этот пост?","modCWSuccess":"Предупреждение о контенте успешно добавлено","modRemoveCWConfirm":"Вы действительно хотите удалить предупреждение о контенте с этого поста?","modRemoveCWSuccess":"Предупреждение о контенте успешно удалено","modUnlistConfirm":"Вы действительно хотите скрыть этот пост из лент?","modUnlistSuccess":"Successfully unlisted post","modMarkAsSpammerConfirm":"Вы уверены, что хотите отметить этого пользователя спамом? Все существующие и будущие сообщения будут исключены из списка в сроки, и будет применяться предупреждение о содержании.","modMarkAsSpammerSuccess":"Аккаунт успешно помечен как спаммер","toFollowers":"to Followers","showCaption":"Показать подпись","showLikes":"Показать отметки \\"мне нравится\\"","compactMode":"Компактный режим","embedConfirmText":"By using this embed, you agree to our","deletePostConfirm":"Вы действительно хотите удалить этот пост?","archivePostConfirm":"Вы действительно хотите архивировать этот пост?","unarchivePostConfirm":"Вы действительно хотите убрать этот пост из архива?"},"story":{"add":"Добавить историю"},"timeline":{"peopleYouMayKnow":"Возможные друзья"},"hashtags":{"emptyFeed":"Похоже, мы не можем найти записи для этого хэштега"}}')},44215:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Коментувати","commented":"Прокоментовано","comments":"Коментарі","like":"Вподобати","liked":"Вподобано","likes":"Вподобання","share":"Поширити","shared":"Поширено","shares":"Поширення","unshare":"Не поширювати","bookmark":"Закладка","cancel":"Скасувати","copyLink":"Копіювати посилання","delete":"Видалити","error":"Помилка","errorMsg":"Щось пішло не так. Повторіть спробу згодом","oops":"Йой!","other":"Інше","readMore":"Докладніше","success":"Успіх","proceed":"Продовжити","next":"Далі","close":"Закрити","clickHere":"натисніть тут","sensitive":"Чутливе","sensitiveContent":"Чутливий вміст","sensitiveContentWarning":"Цей допис може містити чутливий вміст"},"site":{"terms":"Умови використання","privacy":"Політика приватності"},"navmenu":{"search":"Пошук","admin":"Адмінпанель","homeFeed":"Домашня стрічка","localFeed":"Місцева стрічка","globalFeed":"Світова стрічка","discover":"Цікаве","directMessages":"Прямі листи","notifications":"Сповіщення","groups":"Групи","stories":"Сторі","profile":"Профіль","drive":"Сховище","settings":"Параметри","compose":"Створити","logout":"Вийти","about":"Про застосунок","help":"Довідка","language":"Мова","privacy":"Приватність","terms":"Умови","backToPreviousDesign":"Повернути минулий дизайн"},"directMessages":{"inbox":"Вхідні","sent":"Надіслані","requests":"Запити"},"notifications":{"liked":"ставить уподобання під ваш","commented":"коментує ваш","reacted":"реагує на ваш","shared":"поширює ваш","tagged":"позначає вас через","updatedA":"оновлює","sentA":"надсилає","followed":"відстежує","mentioned":"згадує","you":"вас","yourApplication":"Вашу реєстраційну заявку","applicationApproved":"підтверджено!","applicationRejected":"відхилено. Можете повторити спробу через 6 місяців.","dm":"лист","groupPost":"допис у групі","modlog":"моджурнал","post":"допис","story":"сторі","noneFound":"Сповіщень не знайдено"},"post":{"shareToFollowers":"Поширити авдиторії","shareToOther":"Поширити іншим","noLikes":"Вподобань поки нема","uploading":"Вивантаження"},"profile":{"posts":"Дописи","followers":"Авдиторія","following":"Підписки","admin":"Адміністрація","collections":"Збірки","follow":"Стежити","unfollow":"Не стежити","editProfile":"Редагувати профіль","followRequested":"Запит на стеження","joined":"Долучається","emptyCollections":"Збірок у вас поки нема","emptyPosts":"Дописів у вас поки нема"},"menu":{"viewPost":"Переглянути допис","viewProfile":"Переглянути профіль","moderationTools":"Засоби модерування","report":"Скарга","archive":"Архівувати","unarchive":"Розархівувати","embed":"Експорт","selectOneOption":"Оберіть один із наступних варіантів","unlistFromTimelines":"Сховати зі стрічок","addCW":"Застерегти про вміст","removeCW":"Вилучити застереження","markAsSpammer":"Позначити як спам","markAsSpammerText":"Сховати цей і майбутні дописи, додаючи застереження","spam":"Спам","sensitive":"Чутливий вміст","abusive":"Ображає чи шкодить","underageAccount":"Недостатній вік","copyrightInfringement":"Порушує авторські права","impersonation":"Вдає когось","scamOrFraud":"Шахрайство","confirmReport":"Підтвердити скаргу","confirmReportText":"Точно поскаржитись на допис?","reportSent":"Скаргу надіслано!","reportSentText":"Ми успішно отримали вашу скаргу.","reportSentError":"Виникла помилка при надсиланні скарги.","modAddCWConfirm":"Точно додати застереження про вміст цьому допису?","modCWSuccess":"Застереження про вміст успішно додано","modRemoveCWConfirm":"Точно вилучити застереження про вміст із цього допису?","modRemoveCWSuccess":"Застереження про вміст успішно вилучено","modUnlistConfirm":"Точно сховати цей допис?","modUnlistSuccess":"Допис успішно сховано","modMarkAsSpammerConfirm":"Точно позначити цей обліковий запис як спам? Усі наявні й майбутні дописи буде сховано зі стрічок, і їм буде додано застереження про вміст.","modMarkAsSpammerSuccess":"Обліковий запис успішно позначено як спам","toFollowers":"до авдиторії","showCaption":"Показати підпис","showLikes":"Показати вподобання","compactMode":"Компактний режим","embedConfirmText":"Експортуючи кудись допис, ви погоджуєте наші","deletePostConfirm":"Точно видалити допис?","archivePostConfirm":"Точно архівувати допис?","unarchivePostConfirm":"Точно розархівувати допис?"},"story":{"add":"Додати сторі"},"timeline":{"peopleYouMayKnow":"Ймовірні знайомі","onboarding":{"welcome":"Вітаємо","thisIsYourHomeFeed":"Це ваша домашня стрічка — тут будуть дописи від облікових записів, за якими ви стежите, в порядку додання.","letUsHelpYouFind":"Можемо допомогти вам знайти цікавих людей, за якими варто стежити","refreshFeed":"Оновити мою стрічку"}},"hashtags":{"emptyFeed":"Дописів із цим хештегом поки нема"},"report":{"report":"Скарга","selectReason":"Оберіть підставу","reported":"Скаргу надіслано","sendingReport":"Надсилання скарги","thanksMsg":"Дякуємо за скаргу: ви допомагаєте вбезпечити нашу спільноту!","contactAdminMsg":"Якщо бажаєте сконтактувати з адміністрацією про цей допис чи скаргу"}}')},97346:e=>{"use strict";e.exports=JSON.parse('{"common":{"comment":"Bình luận","commented":"Đã bình luận","comments":"Bình luận","like":"Thích","liked":"Đã thích","likes":"Lượt thích","share":"Chia sẻ","shared":"Đã chia sẻ","shares":"Lượt chia sẻ","unshare":"Hủy chia sẻ","cancel":"Hủy","copyLink":"Chép link","delete":"Xóa","error":"Lỗi","errorMsg":"Đã xảy ra lỗi. Vui lòng thử lại sau.","oops":"Rất tiếc!","other":"Khác","readMore":"Xem thêm","success":"Hoàn tất","sensitive":"Nhạy cảm","sensitiveContent":"Nội dung nhạy cảm","sensitiveContentWarning":"Ảnh này có thể chứa nội dung nhạy cảm"},"site":{"terms":"Điều khoản sử dụng","privacy":"Chính sách bảo mật"},"navmenu":{"search":"Tìm kiếm","admin":"Trang quản trị","homeFeed":"Trang chính","localFeed":"Máy chủ","globalFeed":"Liên hợp","discover":"Khám phá","directMessages":"Nhắn riêng","notifications":"Thông báo","groups":"Nhóm","stories":"Khoảnh khắc","profile":"Trang cá nhân","drive":"Lưu trữ","settings":"Thiết lập","compose":"Ảnh mới","logout":"Đăng xuất","about":"Giới thiệu","help":"Trợ giúp","language":"Ngôn ngữ","privacy":"Bảo mật","terms":"Quy tắc","backToPreviousDesign":"Dùng giao diện cũ"},"directMessages":{"inbox":"Hộp thư","sent":"Đã gửi","requests":"Yêu cầu"},"notifications":{"liked":"đã thích ảnh","commented":"bình luận về ảnh","reacted":"xem ảnh","shared":"chia sẻ ảnh","tagged":"nhắc đến bạn trong","updatedA":"đã cập nhật","sentA":"đã gửi một","followed":"đã theo dõi","mentioned":"nhắc đến","you":"bạn","yourApplication":"Đăng ký tham gia của bạn","applicationApproved":"đã được duyệt!","applicationRejected":"đã bị từ chối. Hãy gửi lại trong 6 tháng tiếp theo.","dm":"nt","groupPost":"ảnh đăng nhóm","modlog":"nhật ký kiểm duyệt","post":"bài đăng","story":"khoảnh khắc"},"post":{"shareToFollowers":"Chia sẻ đến người theo dõi","shareToOther":"Chia sẻ tới những người khác","noLikes":"Chưa có lượt thích","uploading":"Đang tải lên"},"profile":{"posts":"Ảnh","followers":"Người theo dõi","following":"Theo dõi","admin":"Quản trị viên","collections":"Bộ sưu tập","follow":"Theo dõi","unfollow":"Ngưng theo dõi","editProfile":"Sửa trang cá nhân","followRequested":"Yêu cầu theo dõi","joined":"Đã tham gia","emptyCollections":"Không tìm thấy bộ sưu tập nào","emptyPosts":"Không tìm thấy ảnh nào"},"menu":{"viewPost":"Xem ảnh","viewProfile":"Xem trang cá nhân","moderationTools":"Kiểm duyệt","report":"Báo cáo","archive":"Lưu trữ","unarchive":"Bỏ lưu trữ","embed":"Nhúng","selectOneOption":"Vui lòng chọn một trong các tùy chọn sau","unlistFromTimelines":"Ẩn khỏi trang chung","addCW":"Thêm cảnh báo nội dung","removeCW":"Xóa cảnh báo nội dung","markAsSpammer":"Đánh dấu spam","markAsSpammerText":"Ẩn khỏi trang chung và chèn cảnh báo nội dung cho tất cả ảnh","spam":"Spam","sensitive":"Nội dung nhạy cảm","abusive":"Lạm dụng hoặc Gây hại","underageAccount":"Tài khoản trẻ em","copyrightInfringement":"Vi phạm bản quyền","impersonation":"Giả mạo","scamOrFraud":"Lừa đảo hoặc Gian lận","confirmReport":"Xác nhận báo cáo","confirmReportText":"Bạn có chắc muốn báo cáo ảnh này?","reportSent":"Đã gửi báo cáo!","reportSentText":"Quản trị viên đã nhận báo cáo của bạn.","reportSentError":"Xảy ra lỗi khi báo cáo ảnh này.","modAddCWConfirm":"Bạn có chắc muốn chèn cảnh báo nội dung ảnh này?","modCWSuccess":"Đã chèn cảnh báo nội dung","modRemoveCWConfirm":"Bạn có chắc muốn gỡ cảnh báo nội dung ảnh này?","modRemoveCWSuccess":"Đã gỡ cảnh báo nội dung","modUnlistConfirm":"Bạn có chắc muốn ẩn ảnh này khỏi trang chung?","modUnlistSuccess":"Đã ẩn khỏi trang chung","modMarkAsSpammerConfirm":"Bạn có chắc muốn đánh dấu người này là spam? Những ảnh của người này sẽ biến mất trong trang chung và cảnh báo nội dung sẽ được áp dụng.","modMarkAsSpammerSuccess":"Đã đánh dấu người này là spam","toFollowers":"tới Người theo dõi","showCaption":"Hiện chú thích","showLikes":"Hiện lượt thích","compactMode":"Chế độ đơn giản","embedConfirmText":"Sử dụng mã nhúng này nghĩa là bạn đồng ý với","deletePostConfirm":"Bạn có chắc muốn xóa ảnh này?","archivePostConfirm":"Bạn có chắc muốn lưu trữ ảnh này?","unarchivePostConfirm":"Bạn có chắc muốn bỏ lưu trữ ảnh này?"},"story":{"add":"Thêm khoảnh khắc"},"timeline":{"peopleYouMayKnow":"Những người bạn có thể biết"},"hashtags":{"emptyFeed":"Không tìm thấy ảnh nào với hashtag này"}}')}},e=>{e.O(0,[3660],(()=>{return t=12887,e(e.s=t);var t}));e.O()}]); \ No newline at end of file diff --git a/public/js/manifest.js b/public/js/manifest.js index ae4d1ff8f..2cdec0468 100644 --- a/public/js/manifest.js +++ b/public/js/manifest.js @@ -1 +1 @@ -(()=>{"use strict";var e,r,n,o={},t={};function a(e){var r=t[e];if(void 0!==r)return r.exports;var n=t[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=o,e=[],a.O=(r,n,o,t)=>{if(!n){var d=1/0;for(l=0;l=t)&&Object.keys(a.O).every((e=>a.O[e](n[c])))?n.splice(c--,1):(i=!1,t0&&e[l-1][2]>t;l--)e[l]=e[l-1];e[l]=[n,o,t]},a.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return a.d(r,{a:r}),r},a.d=(e,r)=>{for(var n in r)a.o(r,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((r,n)=>(a.f[n](e,r),r)),[])),a.u=e=>"js/"+{1179:"daci.chunk",1240:"discover~myhashtags.chunk",1645:"profile~following.bundle",2156:"dms.chunk",2966:"discover~hashtag.bundle",3688:"discover~serverfeed.chunk",4951:"home.chunk",6250:"discover~settings.chunk",6535:"discover.chunk",6740:"discover~memories.chunk",7399:"dms~message.chunk",7413:"error404.bundle",7521:"discover~findfriends.chunk",7744:"notifications.chunk",8087:"profile.chunk",8119:"i18n.bundle",8408:"post.chunk",8977:"profile~followers.bundle",9124:"compose.chunk",9919:"changelog.bundle"}[e]+"."+{1179:"e49239579f174211",1240:"25db2bcadb2836b5",1645:"9294aa1b560387c7",2156:"a42edfd973f6c593",2966:"1b11b46e0b28aa3f",3688:"4eb5e50270522771",4951:"8bbc3c5c38dde66d",6250:"3f3acf6b2d7f41a2",6535:"1404d3172761023b",6740:"315bb6896f3afec2",7399:"6cd795c99fc1a568",7413:"54601f9cdd0f7719",7521:"d0e638a697f821b4",7744:"1086603ea08d1017",8087:"33a4b9cb10dbbb6c",8119:"28bba3e12cdadf51",8408:"803d8c9f68415936",8977:"50a39058d98e16eb",9124:"47ba00abaa827b26",9919:"d5810c2672b6abc7"}[e]+".js",a.miniCssF=e=>({2305:"css/portfolio",2540:"css/landing",3364:"css/admin",6952:"css/appdark",8252:"css/app",8759:"css/spa"}[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={},n="pixelfed:",a.l=(e,o,t,d)=>{if(r[e])r[e].push(o);else{var i,c;if(void 0!==t)for(var s=document.getElementsByTagName("script"),l=0;l{i.onerror=i.onload=null,clearTimeout(b);var t=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),t&&t.forEach((e=>e(o))),n)return n(o)},b=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),c&&document.head.appendChild(i)}},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={461:0,6952:0,8252:0,2305:0,3364:0,2540:0,8759:0};a.f.j=(r,n)=>{var o=a.o(e,r)?e[r]:void 0;if(0!==o)if(o)n.push(o[2]);else if(/^((69|82)52|2305|2540|3364|461|8759)$/.test(r))e[r]=0;else{var t=new Promise(((n,t)=>o=e[r]=[n,t]));n.push(o[2]=t);var d=a.p+a.u(r),i=new Error;a.l(d,(n=>{if(a.o(e,r)&&(0!==(o=e[r])&&(e[r]=void 0),o)){var t=n&&("load"===n.type?"missing":n.type),d=n&&n.target&&n.target.src;i.message="Loading chunk "+r+" failed.\n("+t+": "+d+")",i.name="ChunkLoadError",i.type=t,i.request=d,o[1](i)}}),"chunk-"+r,r)}},a.O.j=r=>0===e[r];var r=(r,n)=>{var o,t,[d,i,c]=n,s=0;if(d.some((r=>0!==e[r]))){for(o in i)a.o(i,o)&&(a.m[o]=i[o]);if(c)var l=c(a)}for(r&&r(n);s{"use strict";var e,r,o,a={},t={};function n(e){var r=t[e];if(void 0!==r)return r.exports;var o=t[e]={id:e,loaded:!1,exports:{}};return a[e].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.m=a,e=[],n.O=(r,o,a,t)=>{if(!o){var c=1/0;for(f=0;f=t)&&Object.keys(n.O).every((e=>n.O[e](o[i])))?o.splice(i--,1):(d=!1,t0&&e[f-1][2]>t;f--)e[f]=e[f-1];e[f]=[o,a,t]},n.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return n.d(r,{a:r}),r},n.d=(e,r)=>{for(var o in r)n.o(r,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((r,o)=>(n.f[o](e,r),r)),[])),n.u=e=>"js/"+{529:"groups-page",1179:"daci.chunk",1240:"discover~myhashtags.chunk",1645:"profile~following.bundle",2156:"dms.chunk",2822:"group.create",2966:"discover~hashtag.bundle",3688:"discover~serverfeed.chunk",4951:"home.chunk",6250:"discover~settings.chunk",6438:"groups-page-media",6535:"discover.chunk",6740:"discover~memories.chunk",6791:"groups-page-members",7206:"groups-page-topics",7342:"groups-post",7399:"dms~message.chunk",7413:"error404.bundle",7521:"discover~findfriends.chunk",7744:"notifications.chunk",8087:"profile.chunk",8119:"i18n.bundle",8257:"groups-page-about",8408:"post.chunk",8977:"profile~followers.bundle",9124:"compose.chunk",9231:"groups-profile",9919:"changelog.bundle"}[e]+"."+{529:"6c5fbadccf05f783",1179:"8a381f0a227e6ed5",1240:"4db4fe0961b3c34f",1645:"9294aa1b560387c7",2156:"8e8464594fef81e5",2822:"9836b689acf0fc1b",2966:"909ff7b3dab67bde",3688:"b6ace26463e28a19",4951:"db29292541125db4",6250:"31f5865465e89899",6438:"a57186ce36fd8972",6535:"fbb3e76aabb32be2",6740:"0c1a79e4c57c4ed8",6791:"20f9217256d06bf3",7206:"c856bf15dc42b2fb",7342:"c9083f5a20000208",7399:"c831de515447ca8a",7413:"54601f9cdd0f7719",7521:"37adc9959baa51ea",7744:"19a0d29f7823c313",8087:"f18d6551c434b139",8119:"11814756f6bbd153",8257:"150f2f899988e65c",8408:"857e52af9dd166ea",8977:"50a39058d98e16eb",9124:"28539d85e4c112c4",9231:"9049d02d06606680",9919:"72c44e46a0cc74f9"}[e]+".js",n.miniCssF=e=>({2305:"css/portfolio",2540:"css/landing",3364:"css/admin",6952:"css/appdark",8252:"css/app",8759:"css/spa"}[e]+".css"),n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r={},o="pixelfed:",n.l=(e,a,t,c)=>{if(r[e])r[e].push(a);else{var d,i;if(void 0!==t)for(var s=document.getElementsByTagName("script"),f=0;f{d.onerror=d.onload=null,clearTimeout(p);var t=r[e];if(delete r[e],d.parentNode&&d.parentNode.removeChild(d),t&&t.forEach((e=>e(a))),o)return o(a)},p=setTimeout(l.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=l.bind(null,d.onerror),d.onload=l.bind(null,d.onload),i&&document.head.appendChild(d)}},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),n.p="/",(()=>{var e={461:0,6952:0,8252:0,2305:0,3364:0,2540:0,8759:0};n.f.j=(r,o)=>{var a=n.o(e,r)?e[r]:void 0;if(0!==a)if(a)o.push(a[2]);else if(/^((69|82)52|2305|2540|3364|461|8759)$/.test(r))e[r]=0;else{var t=new Promise(((o,t)=>a=e[r]=[o,t]));o.push(a[2]=t);var c=n.p+n.u(r),d=new Error;n.l(c,(o=>{if(n.o(e,r)&&(0!==(a=e[r])&&(e[r]=void 0),a)){var t=o&&("load"===o.type?"missing":o.type),c=o&&o.target&&o.target.src;d.message="Loading chunk "+r+" failed.\n("+t+": "+c+")",d.name="ChunkLoadError",d.type=t,d.request=c,a[1](d)}}),"chunk-"+r,r)}},n.O.j=r=>0===e[r];var r=(r,o)=>{var a,t,[c,d,i]=o,s=0;if(c.some((r=>0!==e[r]))){for(a in d)n.o(d,a)&&(n.m[a]=d[a]);if(i)var f=i(n)}for(r&&r(o);s{a.r(e),a.d(e,{default:()=>d});var i=a(5787),n=a(28772),s=a(50085),r=a(71687),o=a(25100);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 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 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 a=0,i=new Array(e);a10?0==this.filteredFeed.length&&(this.filteredEmpty=!0,this.canLoadMoreFiltered=!1):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 a,i=e.data.map((function(t){return t.id})),n=Math.min.apply(Math,l(i));n1&&void 0!==arguments[1]?arguments[1]:40;return _.truncate(t,{length:e})}}}},50371:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={data:function(){return{user:window._sharedData.user}}}},84154:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={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{a.r(e),a.d(e,{default:()=>i});const i={props:{small:{type:Boolean,default:!1}}}},79318:(t,e,a)=>{a.r(e),a.d(e,{default:()=>l});var i=a(95353),n=a(90414);function s(t){return s="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},s(t)}function r(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 o(t,e,a){var i;return i=function(t,e){if("object"!=s(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var i=a.call(t,e||"default");if("object"!=s(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==s(i)?i:i+"")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:{UpdateAvatar:n.default},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},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()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},42815:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={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),a=Math.floor((new Date-e)/1e3),i=Math.floor(a/31536e3);return i>=1?i+"y":(i=Math.floor(a/604800))>=1?i+"w":(i=Math.floor(a/86400))>=1?i+"d":(i=Math.floor(a/3600))>=1?i+"h":(i=Math.floor(a/60))>=1?i+"m":Math.floor(a)+"s"},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},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}})}}}},54668:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"web-wrapper notification-metro-component"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-3 d-md-block"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-9 col-lg-9 col-xl-5 offset-xl-1"},[0===t.tabIndex?[e("h1",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tNotifications\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small mt-n2"},[t._v(" ")])]:10===t.tabIndex?[e("div",{staticClass:"d-flex align-items-center mb-3"},[e("a",{staticClass:"text-muted",staticStyle:{opacity:"0.3"},attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.tabIndex=0}}},[e("i",{staticClass:"far fa-chevron-circle-left fa-2x mr-3",attrs:{title:"Go back to notifications"}})]),t._v(" "),e("h1",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\t\tFollow Requests\n\t\t\t\t\t\t")])])]:[e("h1",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\t"+t._s(t.tabs[t.tabIndex].name)+"\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-lighter mt-n2"},[t._v(t._s(t.tabs[t.tabIndex].description))])],t._v(" "),t.notificationsLoaded?[10!=t.tabIndex&&t.notificationsLoaded&&t.notifications&&t.notifications.length?e("ul",{staticClass:"notification-filters nav nav-tabs nav-fill mb-3"},t._l(t.tabs,(function(a,i){return e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:t.tabIndex===i},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab(i)}}},[e("i",{staticClass:"mr-1 nav-link-icon",class:[a.icon]}),t._v(" "),e("span",{staticClass:"d-none d-xl-inline-block"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(a.name)+"\n\t\t\t\t\t\t\t\t")])])])})),0):t._e(),t._v(" "),t.notificationsEmpty&&t.followRequestsChecked&&!t.followRequests.accounts.length&&t.notificationRetries<2?e("div",[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10 text-center"},[e("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("notifications.noneFound")))])])])]):!t.notificationsLoaded||t.tabSwitching||t.notificationsEmpty&&t.notificationRetries<2||!t.notifications&&!t.followRequests&&!t.followRequests.accounts&&!t.followRequests.accounts.length?e("div",[e("placeholder")],1):e("div",[0===t.tabIndex?e("div",[t.followRequests&&t.followRequests.hasOwnProperty("accounts")&&t.followRequests.accounts.length?e("div",{staticClass:"card card-body shadow-none border border-warning rounded-pill mb-3 py-2"},[e("div",{staticClass:"media align-items-center"},[e("i",{staticClass:"far fa-exclamation-circle mr-3 text-warning"}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0"},[e("strong",[t._v(t._s(t.followRequests.count)+" follow "+t._s(t.followRequests.count>1?"requests":"request"))])])]),t._v(" "),e("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\t\tView"),e("span",{staticClass:"d-none d-md-block"},[t._v(" Follow Requests")])])])]):t._e(),t._v(" "),t.notificationsLoaded?e("div",[t._l(t.notifications,(function(t,a){return e("notification",{key:"notification:".concat(a,":").concat(t.id),attrs:{n:t}})})),t._v(" "),t.notifications&&t.notificationsLoaded&&!t.notifications.length&&t.notificationRetries<=2?e("div",[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10 text-center"},[e("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("notifications.noneFound")))])])])]):t._e(),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder")],1)],1):t._e()],2):t._e()]):10===t.tabIndex?e("div",[t.followRequests&&t.followRequests.accounts&&t.followRequests.accounts.length?e("div",{staticClass:"list-group"},t._l(t.followRequests.accounts,(function(a,i){return e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"media align-items-center"},[e("router-link",{staticClass:"primary",attrs:{to:"/i/web/profile/".concat(a.account.id)}},[e("img",{staticClass:"rounded-lg shadow mr-3",attrs:{src:a.avatar,width:"80",height:"80",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body mr-3"},[e("p",{staticClass:"font-weight-bold mb-0 text-break",staticStyle:{"font-size":"17px"}},[e("router-link",{staticClass:"primary",attrs:{to:"/i/web/profile/".concat(a.account.id)}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(a.username)+"\n\t\t\t\t\t\t\t\t\t\t\t\t")])],1),t._v(" "),e("p",{staticClass:"mb-1 text-muted text-break",staticStyle:{"font-size":"11px"}},[t._v(t._s(t.truncate(a.account.note_text,100)))]),t._v(" "),e("div",{staticClass:"d-flex text-lighter",staticStyle:{"font-size":"11px"}},[e("span",{staticClass:"mr-3"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(a.account.statuses_count))]),t._v(" "),e("span",[t._v("Posts")])]),t._v(" "),e("span",[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(a.account.followers_count))]),t._v(" "),e("span",[t._v("Followers")])])])]),t._v(" "),e("div",{staticClass:"d-flex flex-column d-md-block"},[e("button",{staticClass:"btn btn-outline-success py-1 btn-sm font-weight-bold rounded-pill mr-2 mb-1",on:{click:function(e){return e.preventDefault(),t.handleFollowRequest("accept",i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tAccept\n\t\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter py-1 btn-sm font-weight-bold rounded-pill mb-1",on:{click:function(e){return e.preventDefault(),t.handleFollowRequest("reject",i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tReject\n\t\t\t\t\t\t\t\t\t\t\t")])])],1)])})),0):t._e()]):e("div",[t.filteredLoaded?e("div",[t._m(0),t._v(" "),t.filteredFeed.length?e("div",t._l(t.filteredFeed,(function(t,a){return e("notification",{key:"notification:filtered:".concat(a,":").concat(t.id),attrs:{n:t}})})),1):e("div",[t.filteredEmpty&&t.notificationRetries<=2?e("div",[e("div",{staticClass:"card card-body shadow-sm border-0 d-flex flex-row align-items-center",staticStyle:{"border-radius":"20px",gap:"1rem"}},[e("i",{staticClass:"far fa-inbox fa-2x text-muted"}),t._v(" "),e("div",{staticClass:"font-weight-bold"},[t._v("No recent "+t._s(t.tabs[t.tabIndex].name)+"!")])])]):e("placeholder")],1),t._v(" "),t.canLoadMoreFiltered?e("div",[e("intersect",{on:{enter:t.enterFilteredIntersect}},[e("placeholder")],1)],1):t._e()]):e("div",[e("placeholder")],1)])])]:e("div",[e("placeholder")],1)],2)]),t._v(" "),e("drawer")],1):t._e()])},n=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body bg-transparent shadow-none border p-2 mb-3 rounded-pill text-lighter"},[e("div",{staticClass:"media align-items-center small"},[e("i",{staticClass:"far fa-exclamation-triangle mx-2"}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v("Filtering results may not include older notifications")])])])])}]},69831:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},n=[]},67153:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},n=[]},11526:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t._self._c;return t.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},n=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},67725:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},n=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},38050:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>n});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"media mb-2 align-items-center px-3 shadow-sm py-2 bg-white",staticStyle:{"border-radius":"15px"}},[e("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)}}},[e("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(" "),e("div",{staticClass:"media-body font-weight-light"},["favourite"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("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"))+" "),e("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?e("div",[e("p",{staticClass:"my-0"},[e("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"))+" "),e("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?e("div",[e("p",{staticClass:"my-0"},[e("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"))+" "),e("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?e("div",[e("p",{staticClass:"my-0"},[e("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"))+" "),e("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?e("div",[e("p",{staticClass:"my-0"},[e("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(" "),e("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?e("div",[e("p",{staticClass:"my-0"},[e("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?e("div",[e("p",{staticClass:"my-0"},[e("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"))+" "),e("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?e("div",[e("p",{staticClass:"my-0"},[e("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"))+" "),e("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?e("div",[e("p",{staticClass:"my-0"},[e("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"))+" "),e("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?e("div",[e("p",{staticClass:"my-0"},[e("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"))+" "),e("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?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t"+t._s(t.$t("notifications.yourApplication"))+" "),e("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?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t"+t._s(t.$t("notifications.yourApplication"))+" "),e("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")])]):e("div",[e("p",{staticClass:"my-0 d-flex justify-content-between align-items-center"},[e("span",{staticClass:"font-weight-bold"},[t._v("Notification")]),t._v(" "),e("span",{staticStyle:{"font-size":"8px"}},[t._v("e_"+t._s(t.n.type)+"::"+t._s(t.n.id))])])]),t._v(" "),e("div",{staticClass:"align-items-center"},[e("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(" "),e("div",[t.n.status&&t.n.status&&t.n.status.media_attachments&&t.n.status.media_attachments.length?e("div",[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[e("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?e("div",[e("a",{attrs:{href:t.n.status.parent.url}},[e("img",{attrs:{src:t.n.status.parent.media_attachments[0].preview_url,width:"32px",height:"32px"}})])]):t._e()])])},n=[]},7721:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(76798),n=a.n(i)()((function(t){return t[1]}));n.push([t.id,".notification-metro-component .notification-filters .nav-link[data-v-5e8035f6]{font-size:12px}.notification-metro-component .notification-filters .nav-link.active[data-v-5e8035f6]{font-weight:700}.notification-metro-component .notification-filters .nav-link-icon[data-v-5e8035f6]:not(.active){opacity:.5}.notification-metro-component .notification-filters .nav-link[data-v-5e8035f6]:not(.active){color:#9ca3af}",""]);const s=n},35518:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(76798),n=a.n(i)()((function(t){return t[1]}));n.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const s=n},54788:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(76798),n=a.n(i)()((function(t){return t[1]}));n.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const s=n},77524:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(85072),n=a.n(i),s=a(7721),r={insert:"head",singleton:!1};n()(s.default,r);const o=s.default.locals||{}},96259:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(85072),n=a.n(i),s=a(35518),r={insert:"head",singleton:!1};n()(s.default,r);const o=s.default.locals||{}},5323:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(85072),n=a.n(i),s=a(54788),r={insert:"head",singleton:!1};n()(s.default,r);const o=s.default.locals||{}},55297:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(46677),n=a(31410),s={};for(const t in n)"default"!==t&&(s[t]=()=>n[t]);a.d(e,s);a(24907);const r=(0,a(14486).default)(n.default,i.render,i.staticRenderFns,!1,null,"5e8035f6",null).exports},5787:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(16286),n=a(80260),s={};for(const t in n)"default"!==t&&(s[t]=()=>n[t]);a.d(e,s);a(68840);const r=(0,a(14486).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},90414:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(82704),n=a(55597),s={};for(const t in n)"default"!==t&&(s[t]=()=>n[t]);a.d(e,s);const r=(0,a(14486).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},71687:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(24871),n=a(11308),s={};for(const t in n)"default"!==t&&(s[t]=()=>n[t]);a.d(e,s);const r=(0,a(14486).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},28772:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(75754),n=a(75223),s={};for(const t in n)"default"!==t&&(s[t]=()=>n[t]);a.d(e,s);a(68338);const r=(0,a(14486).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},50085:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(95769),n=a(46010),s={};for(const t in n)"default"!==t&&(s[t]=()=>n[t]);a.d(e,s);const r=(0,a(14486).default)(n.default,i.render,i.staticRenderFns,!1,null,null,null).exports},31410:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(14329),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const s=i.default},80260:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(50371),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const s=i.default},55597:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(84154),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const s=i.default},11308:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(51651),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const s=i.default},75223:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(79318),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const s=i.default},46010:(t,e,a)=>{a.r(e),a.d(e,{default:()=>s});var i=a(42815),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n);const s=i.default},46677:(t,e,a)=>{a.r(e);var i=a(54668),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n)},16286:(t,e,a)=>{a.r(e);var i=a(69831),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n)},82704:(t,e,a)=>{a.r(e);var i=a(67153),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n)},24871:(t,e,a)=>{a.r(e);var i=a(11526),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n)},75754:(t,e,a)=>{a.r(e);var i=a(67725),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n)},95769:(t,e,a)=>{a.r(e);var i=a(38050),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n)},24907:(t,e,a)=>{a.r(e);var i=a(77524),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n)},68840:(t,e,a)=>{a.r(e);var i=a(96259),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n)},68338:(t,e,a)=>{a.r(e);var i=a(5323),n={};for(const t in i)"default"!==t&&(n[t]=()=>i[t]);a.d(e,n)}}]); \ No newline at end of file +"use strict";(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[7744],{14329:(t,e,a)=>{a.r(e),a.d(e,{default:()=>d});var i=a(5787),s=a(28772),n=a(50085),r=a(71687),o=a(25100);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 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 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 a=0,i=new Array(e);a10?0==this.filteredFeed.length&&(this.filteredEmpty=!0,this.canLoadMoreFiltered=!1):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 a,i=e.data.map((function(t){return t.id})),s=Math.min.apply(Math,l(i));s1&&void 0!==arguments[1]?arguments[1]:40;return _.truncate(t,{length:e})}}}},50371:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={data:function(){return{user:window._sharedData.user}}}},84154:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={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{a.r(e),a.d(e,{default:()=>i});const i={props:{small:{type:Boolean,default:!1}}}},79318:(t,e,a)=>{a.r(e),a.d(e,{default:()=>l});var i=a(95353),s=a(90414);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function r(t,e){var 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 o(t,e,a){var i;return i=function(t,e){if("object"!=n(t)||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var i=a.call(t,e||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(i)?i:i+"")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:{UpdateAvatar:s.default},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},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()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},42815:(t,e,a)=>{a.r(e),a.d(e,{default:()=>i});const i={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),a=Math.floor((new Date-e)/1e3),i=Math.floor(a/31536e3);return i>=1?i+"y":(i=Math.floor(a/604800))>=1?i+"w":(i=Math.floor(a/86400))>=1?i+"d":(i=Math.floor(a/3600))>=1?i+"h":(i=Math.floor(a/60))>=1?i+"m":Math.floor(a)+"s"},mentionUrl:function(t){return"/p/"+t.account.username+"/"+t.id},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}})}}}},54668:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"web-wrapper notification-metro-component"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-3 d-md-block"},[e("sidebar",{attrs:{user:t.profile}})],1),t._v(" "),e("div",{staticClass:"col-md-9 col-lg-9 col-xl-5 offset-xl-1"},[0===t.tabIndex?[e("h1",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\tNotifications\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small mt-n2"},[t._v(" ")])]:10===t.tabIndex?[e("div",{staticClass:"d-flex align-items-center mb-3"},[e("a",{staticClass:"text-muted",staticStyle:{opacity:"0.3"},attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.tabIndex=0}}},[e("i",{staticClass:"far fa-chevron-circle-left fa-2x mr-3",attrs:{title:"Go back to notifications"}})]),t._v(" "),e("h1",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\t\tFollow Requests\n\t\t\t\t\t\t")])])]:[e("h1",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t\t\t"+t._s(t.tabs[t.tabIndex].name)+"\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-lighter mt-n2"},[t._v(t._s(t.tabs[t.tabIndex].description))])],t._v(" "),t.notificationsLoaded?[10!=t.tabIndex&&t.notificationsLoaded&&t.notifications&&t.notifications.length?e("ul",{staticClass:"notification-filters nav nav-tabs nav-fill mb-3"},t._l(t.tabs,(function(a,i){return e("li",{staticClass:"nav-item"},[e("a",{staticClass:"nav-link",class:{active:t.tabIndex===i},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.toggleTab(i)}}},[e("i",{staticClass:"mr-1 nav-link-icon",class:[a.icon]}),t._v(" "),e("span",{staticClass:"d-none d-xl-inline-block"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(a.name)+"\n\t\t\t\t\t\t\t\t")])])])})),0):t._e(),t._v(" "),t.notificationsEmpty&&t.followRequestsChecked&&!t.followRequests.accounts.length&&t.notificationRetries<2?e("div",[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10 text-center"},[e("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("notifications.noneFound")))])])])]):!t.notificationsLoaded||t.tabSwitching||t.notificationsEmpty&&t.notificationRetries<2||!t.notifications&&!t.followRequests&&!t.followRequests.accounts&&!t.followRequests.accounts.length?e("div",[e("placeholder")],1):e("div",[0===t.tabIndex?e("div",[t.followRequests&&t.followRequests.hasOwnProperty("accounts")&&t.followRequests.accounts.length?e("div",{staticClass:"card card-body shadow-none border border-warning rounded-pill mb-3 py-2"},[e("div",{staticClass:"media align-items-center"},[e("i",{staticClass:"far fa-exclamation-circle mr-3 text-warning"}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0"},[e("strong",[t._v(t._s(t.followRequests.count)+" follow "+t._s(t.followRequests.count>1?"requests":"request"))])])]),t._v(" "),e("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\t\tView"),e("span",{staticClass:"d-none d-md-block"},[t._v(" Follow Requests")])])])]):t._e(),t._v(" "),t.notificationsLoaded?e("div",[t._l(t.notifications,(function(t,a){return e("notification",{key:"notification:".concat(a,":").concat(t.id),attrs:{n:t}})})),t._v(" "),t.notifications&&t.notificationsLoaded&&!t.notifications.length&&t.notificationRetries<=2?e("div",[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10 text-center"},[e("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("notifications.noneFound")))])])])]):t._e(),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder")],1)],1):t._e()],2):t._e()]):10===t.tabIndex?e("div",[t.followRequests&&t.followRequests.accounts&&t.followRequests.accounts.length?e("div",{staticClass:"list-group"},t._l(t.followRequests.accounts,(function(a,i){return e("div",{staticClass:"list-group-item"},[e("div",{staticClass:"media align-items-center"},[e("router-link",{staticClass:"primary",attrs:{to:"/i/web/profile/".concat(a.account.id)}},[e("img",{staticClass:"rounded-lg shadow mr-3",attrs:{src:a.avatar,width:"80",height:"80",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body mr-3"},[e("p",{staticClass:"font-weight-bold mb-0 text-break",staticStyle:{"font-size":"17px"}},[e("router-link",{staticClass:"primary",attrs:{to:"/i/web/profile/".concat(a.account.id)}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(a.username)+"\n\t\t\t\t\t\t\t\t\t\t\t\t")])],1),t._v(" "),e("p",{staticClass:"mb-1 text-muted text-break",staticStyle:{"font-size":"11px"}},[t._v(t._s(t.truncate(a.account.note_text,100)))]),t._v(" "),e("div",{staticClass:"d-flex text-lighter",staticStyle:{"font-size":"11px"}},[e("span",{staticClass:"mr-3"},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(a.account.statuses_count))]),t._v(" "),e("span",[t._v("Posts")])]),t._v(" "),e("span",[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(a.account.followers_count))]),t._v(" "),e("span",[t._v("Followers")])])])]),t._v(" "),e("div",{staticClass:"d-flex flex-column d-md-block"},[e("button",{staticClass:"btn btn-outline-success py-1 btn-sm font-weight-bold rounded-pill mr-2 mb-1",on:{click:function(e){return e.preventDefault(),t.handleFollowRequest("accept",i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tAccept\n\t\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter py-1 btn-sm font-weight-bold rounded-pill mb-1",on:{click:function(e){return e.preventDefault(),t.handleFollowRequest("reject",i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tReject\n\t\t\t\t\t\t\t\t\t\t\t")])])],1)])})),0):t._e()]):e("div",[t.filteredLoaded?e("div",[t._m(0),t._v(" "),t.filteredFeed.length?e("div",t._l(t.filteredFeed,(function(t,a){return e("notification",{key:"notification:filtered:".concat(a,":").concat(t.id),attrs:{n:t}})})),1):e("div",[t.filteredEmpty&&t.notificationRetries<=2?e("div",[e("div",{staticClass:"card card-body shadow-sm border-0 d-flex flex-row align-items-center",staticStyle:{"border-radius":"20px",gap:"1rem"}},[e("i",{staticClass:"far fa-inbox fa-2x text-muted"}),t._v(" "),e("div",{staticClass:"font-weight-bold"},[t._v("No recent "+t._s(t.tabs[t.tabIndex].name)+"!")])])]):e("placeholder")],1),t._v(" "),t.canLoadMoreFiltered?e("div",[e("intersect",{on:{enter:t.enterFilteredIntersect}},[e("placeholder")],1)],1):t._e()]):e("div",[e("placeholder")],1)])])]:e("div",[e("placeholder")],1)],2)]),t._v(" "),e("drawer")],1):t._e()])},s=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"card card-body bg-transparent shadow-none border p-2 mb-3 rounded-pill text-lighter"},[e("div",{staticClass:"media align-items-center small"},[e("i",{staticClass:"far fa-exclamation-triangle mx-2"}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v("Filtering results may not include older notifications")])])])])}]},69831:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},s=[]},67153:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},s=[]},11526:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return t.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},s=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},75274:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/groups/feed"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-layer-group"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.groups"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},s=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},38050:(t,e,a)=>{a.r(e),a.d(e,{render:()=>i,staticRenderFns:()=>s});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"media mb-2 align-items-center px-3 shadow-sm py-2 bg-white",staticStyle:{"border-radius":"15px"}},[e("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)}}},[e("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(" "),e("div",{staticClass:"media-body font-weight-light"},["favourite"==t.n.type?e("div",[e("p",{staticClass:"my-0"},[e("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"))+" "),e("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?e("div",[e("p",{staticClass:"my-0"},[e("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"))+" "),e("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?e("div",[e("p",{staticClass:"my-0"},[e("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"))+" "),e("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?e("div",[e("p",{staticClass:"my-0"},[e("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"))+" "),e("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?e("div",[e("p",{staticClass:"my-0"},[e("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(" "),e("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?e("div",[e("p",{staticClass:"my-0"},[e("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?e("div",[e("p",{staticClass:"my-0"},[e("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"))+" "),e("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?e("div",[e("p",{staticClass:"my-0"},[e("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"))+" "),e("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?e("div",[e("p",{staticClass:"my-0"},[e("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"))+" "),e("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?e("div",[e("p",{staticClass:"my-0"},[e("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"))+" "),e("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?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t"+t._s(t.$t("notifications.yourApplication"))+" "),e("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?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t"+t._s(t.$t("notifications.yourApplication"))+" "),e("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")])]):e("div",[e("p",{staticClass:"my-0 d-flex justify-content-between align-items-center"},[e("span",{staticClass:"font-weight-bold"},[t._v("Notification")]),t._v(" "),e("span",{staticStyle:{"font-size":"8px"}},[t._v("e_"+t._s(t.n.type)+"::"+t._s(t.n.id))])])]),t._v(" "),e("div",{staticClass:"align-items-center"},[e("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(" "),e("div",[t.n.status&&t.n.status&&t.n.status.media_attachments&&t.n.status.media_attachments.length?e("div",[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.getPostUrl(t.n.status)}}},[e("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?e("div",[e("a",{attrs:{href:t.n.status.parent.url}},[e("img",{attrs:{src:t.n.status.parent.media_attachments[0].preview_url,width:"32px",height:"32px"}})])]):t._e()])])},s=[]},7721:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(76798),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".notification-metro-component .notification-filters .nav-link[data-v-5e8035f6]{font-size:12px}.notification-metro-component .notification-filters .nav-link.active[data-v-5e8035f6]{font-weight:700}.notification-metro-component .notification-filters .nav-link-icon[data-v-5e8035f6]:not(.active){opacity:.5}.notification-metro-component .notification-filters .nav-link[data-v-5e8035f6]:not(.active){color:#9ca3af}",""]);const n=s},35518:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(76798),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=s},14185:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(76798),s=a.n(i)()((function(t){return t[1]}));s.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const n=s},77524:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(85072),s=a.n(i),n=a(7721),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},96259:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(85072),s=a.n(i),n=a(35518),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},89598:(t,e,a)=>{a.r(e),a.d(e,{default:()=>o});var i=a(85072),s=a.n(i),n=a(14185),r={insert:"head",singleton:!1};s()(n.default,r);const o=n.default.locals||{}},55297:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(46677),s=a(31410),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(24907);const r=(0,a(14486).default)(s.default,i.render,i.staticRenderFns,!1,null,"5e8035f6",null).exports},5787:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(16286),s=a(80260),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(68840);const r=(0,a(14486).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},90414:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(82704),s=a(55597),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);const r=(0,a(14486).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},71687:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(24871),s=a(11308),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);const r=(0,a(14486).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},28772:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(54017),s=a(75223),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);a(99387);const r=(0,a(14486).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},50085:(t,e,a)=>{a.r(e),a.d(e,{default:()=>r});var i=a(95769),s=a(46010),n={};for(const t in s)"default"!==t&&(n[t]=()=>s[t]);a.d(e,n);const r=(0,a(14486).default)(s.default,i.render,i.staticRenderFns,!1,null,null,null).exports},31410:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(14329),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},80260:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(50371),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},55597:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(84154),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},11308:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(51651),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},75223:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(79318),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},46010:(t,e,a)=>{a.r(e),a.d(e,{default:()=>n});var i=a(42815),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s);const n=i.default},46677:(t,e,a)=>{a.r(e);var i=a(54668),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},16286:(t,e,a)=>{a.r(e);var i=a(69831),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},82704:(t,e,a)=>{a.r(e);var i=a(67153),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},24871:(t,e,a)=>{a.r(e);var i=a(11526),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},54017:(t,e,a)=>{a.r(e);var i=a(75274),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},95769:(t,e,a)=>{a.r(e);var i=a(38050),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},24907:(t,e,a)=>{a.r(e);var i=a(77524),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},68840:(t,e,a)=>{a.r(e);var i=a(96259),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)},99387:(t,e,a)=>{a.r(e);var i=a(89598),s={};for(const t in i)"default"!==t&&(s[t]=()=>i[t]);a.d(e,s)}}]); \ No newline at end of file diff --git a/public/js/post.chunk.803d8c9f68415936.js b/public/js/post.chunk.857e52af9dd166ea.js similarity index 78% rename from public/js/post.chunk.803d8c9f68415936.js rename to public/js/post.chunk.857e52af9dd166ea.js index d024217ac..7d5b651f8 100644 --- a/public/js/post.chunk.803d8c9f68415936.js +++ b/public/js/post.chunk.857e52af9dd166ea.js @@ -1,2 +1,2 @@ -/*! For license information please see post.chunk.803d8c9f68415936.js.LICENSE.txt */ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[8408],{22151:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>f});var i=s(5787),a=s(59993),n=s(28772),o=s(35547),r=s(57103),l=s(28768),c=s(59515),d=s(99681),u=s(13090),p=s(67578);const f={props:{cachedStatus:{type:Object},cachedProfile:{type:Object}},components:{drawer:i.default,sidebar:n.default,status:o.default,"context-menu":r.default,"media-container":l.default,"likes-modal":c.default,"shares-modal":d.default,rightbar:a.default,"report-modal":u.default,"post-edit-modal":p.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,postStateError:!1,forceUpdateIdx:0}},created:function(){this.init()},watch:{$route:"init"},methods:{init:function(){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"),e.data.hasOwnProperty("account")&&e.data.account?(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()):t.postStateError=!0})).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,t.postStateError=!0}))},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}))},follow:function(){var t=this;axios.post("/api/v1/accounts/"+this.post.account.id+"/follow").then((function(e){t.$store.commit("updateRelationship",[e.data]),t.user.following_count++,t.post.account.followers_count++})).catch((function(e){swal("Oops!","An error occurred when attempting to follow this account.","error"),t.post.relationship.following=!1}))},unfollow:function(){var t=this;axios.post("/api/v1/accounts/"+this.post.account.id+"/unfollow").then((function(e){t.$store.commit("updateRelationship",[e.data]),t.user.following_count--,t.post.account.followers_count--})).catch((function(e){swal("Oops!","An error occurred when attempting to unfollow this account.","error"),t.post.relationship.following=!0}))},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}},handleEdit:function(t){this.$refs.editModal.show(t)},mergeUpdatedPost:function(t){var e=this;this.post=t,this.$nextTick((function(){e.forceUpdateIdx++}))}}}},56987:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(20243),a=s(84800),n=s(79110),o=s(27821);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.shadowStatus.media_attachments||!this.shadowStatus.media_attachments.length)&&this.shadowStatus.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.shadowStatus.account.id==window._sharedData.user.id,this.shadowStatus.reply_count&&this.autoloadComments&&!1===this.shadowStatus.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},isReblog:{get:function(){return null!=this.status.reblog}},reblogAccount:{get:function(){return this.status.reblog?this.status.account:null}},shadowStatus:{get:function(){return this.status.reblog?this.status.reblog:this.status}}},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")}}}},50371:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={data:function(){return{user:window._sharedData.user}}}},25054:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={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}))}}}},84154:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:{small:{type:Boolean,default:!1}}}},3211:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var i=s(79288),a=s(50294),n=s(34719),o=s(72028),r=s(19138);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,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,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",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},24758:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(50294);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("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,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}}}},85100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},49415:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:["status","profile"],data:function(){return{config:window.App.config,ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1,isDeleting:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){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/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;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(i){i?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 i=this,a=(t.account.username,t.id,""),n=this;switch(e){case"addcw":a=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:a,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(i.$t("common.success"),i.$t("menu.modCWSuccess"),"success"),i.$emit("moderate","addcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"remcw":a=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:a,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(i.$t("common.success"),i.$t("menu.modRemoveCWSuccess"),"success"),i.$emit("moderate","remcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"unlist":a=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:a,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){i.$emit("moderate","unlist"),swal(i.$t("common.success"),i.$t("menu.modUnlistSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"spammer":a=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:a,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){i.$emit("moderate","spammer"),swal(i.$t("common.success"),i.$t("menu.modMarkAsSpammerSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}))}},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;this.isDeleting=!0,0!=this.ownerOrAdmin(t)&&swal({title:"Confirm Delete",text:"Are you sure you want to delete this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s?axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals(),e.isDeleting=!1})).catch((function(t){e.closeModals(),e.isDeleting=!1,swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")})):(e.closeModals(),e.isDeleting=!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()},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("delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))},editPost:function(t){this.closeModals(),this.$emit("edit",t)},handleMute:function(){var t=this;if(this.ctxMenuRelationship){var e=this.ctxMenuRelationship.muting;swal({title:e?"Confirm Unmute":"Confirm Mute",text:e?"Are you sure you want to unmute this account?":"Are you sure you want to mute this account?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){if(s){var i="/api/v1/accounts/".concat(t.status.account.id,e?"/unmute":"/mute");axios.post(i).then((function(e){t.closeModals(),t.$emit("muted",t.status),t.$store.commit("updateRelationship",[e.data])})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")}))}else t.closeModals()}))}},handleBlock:function(){var t=this;if(this.ctxMenuRelationship){var e=this.ctxMenuRelationship.blocking;swal({title:e?"Confirm Unblock":"Confirm Block",text:e?"Are you sure you want to unblock this account?":"Are you sure you want to block this account?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){if(s){var i="/api/v1/accounts/".concat(t.status.account.id,e?"/unblock":"/block");axios.post(i).then((function(e){t.closeModals(),t.$store.commit("updateRelationship",[e.data]),t.$emit("muted",t.status)})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")}))}else t.closeModals()}))}},handleUnfollow:function(){var t=this;this.ctxMenuRelationship&&swal({title:"Unfollow",text:"Are you sure you want to unfollow "+this.status.account.username+"?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(e){e?axios.post("/api/v1/accounts/".concat(t.status.account.id,"/unfollow")).then((function(e){t.closeModals(),t.$store.commit("updateRelationship",[e.data]),t.$emit("unfollow",t.status)})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")})):t.closeModals()}))}}}},37844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},getDiff:function(t){if(t==this.allHistory.length-1)return this.allHistory[this.allHistory.length-1].content;var e=document.createElement("div");return r.forEach((function(t){var s=t.added?"green":t.removed?"red":"grey",i=document.createElement("span");(i.style.color=s,console.log(t.value,t.value.length),t.added)?t.value.trim().length?i.appendChild(document.createTextNode(t.value)):i.appendChild(document.createTextNode("·")):i.appendChild(document.createTextNode(t.value));e.appendChild(i)})),e.innerHTML},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),i=Math.floor(s/63072e3);return i<0?"0s":i>=1?i+(1==i?" year":" years")+" ago":(i=Math.floor(s/604800))>=1?i+(1==i?" week":" weeks")+" ago":(i=Math.floor(s/86400))>=1?i+(1==i?" day":" days")+" ago":(i=Math.floor(s/3600))>=1?i+(1==i?" hour":" hours")+" ago":(i=Math.floor(s/60))>=1?i+(1==i?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},67975:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(25100),a=s(29787),n=s(24848);const o={props:{status:{type:Object},profile:{type:Object}},components:{intersect:i.default,"like-placeholder":a.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},65754:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={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()}))}}}},61746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(18634),a=s(50294),n=s(75938);const o={props:["status"],components:{"read-more":a.default,"video-player":n.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},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},26030:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>u});var i=s(2e4),a=s(18634);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t){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,i=new Array(e);s=0;--n){var o=this.tryEntries[n],r=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--s){var a=this.tryEntries[s];if(a.tryLoc<=this.prev&&i.call(a,"finallyLoc")&&this.prev=0;--e){var s=this.tryEntries[e];if(s.finallyLoc===t)return this.complete(s.completion,s.afterLoc),L(s),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var s=this.tryEntries[e];if(s.tryLoc===t){var i=s.completion;if("throw"===i.type){var a=i.arg;L(s)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,s,i){return this.delegate={iterator:O(e),resultName:s,nextLoc:i},"next"===this.method&&(this.arg=t),b}},e}function c(t,e,s,i,a,n,o){try{var r=t[n](o),l=r.value}catch(t){return void s(t)}r.done?e(l):Promise.resolve(l).then(i,a)}function d(t){return function(){var e=this,s=arguments;return new Promise((function(i,a){var n=t.apply(e,s);function o(t){c(n,i,a,o,r,"next",t)}function r(t){c(n,i,a,o,r,"throw",t)}o(void 0)}))}}const u={components:{Autocomplete:i.default},data:function(){return{config:window.App.config,status:void 0,isLoading:!0,isOpen:!1,isSubmitting:!1,tabIndex:0,canEdit:!1,composeTextLength:0,canSave:!1,originalFields:{caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},fields:{caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},medias:void 0,altTextEditIndex:void 0,tributeSettings:{noMatchTemplate:function(){return null},collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){console.log(t)}))}}]}}},watch:{fields:{deep:!0,immediate:!0,handler:function(t,e){this.canEdit&&(this.canSave=this.originalFields!==JSON.stringify(this.fields))}}},methods:{reset:function(){this.status=void 0,this.tabIndex=0,this.isOpen=!1,this.canEdit=!1,this.composeTextLength=0,this.canSave=!1,this.originalFields={caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},this.fields={caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},this.medias=void 0,this.altTextEditIndex=void 0,this.isSubmitting=!1},show:function(t){var e=this;return d(l().mark((function s(){return l().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,axios.get("/api/v1/statuses/"+t.id,{params:{_pe:1}}).then((function(t){e.reset(),e.init(t.data)})).finally((function(){setTimeout((function(){e.isLoading=!1}),500)}));case 2:case"end":return s.stop()}}),s)})))()},init:function(t){var e=this;this.reset(),this.originalFields=JSON.stringify({caption:t.content_text,visibility:t.visibility,sensitive:t.sensitive,location:t.place,spoiler_text:t.spoiler_text,media:t.media_attachments}),this.fields={caption:t.content_text,visibility:t.visibility,sensitive:t.sensitive,location:t.place,spoiler_text:t.spoiler_text,media:t.media_attachments},this.status=t,this.medias=t.media_attachments,this.composeTextLength=t.content_text?t.content_text.length:0,this.isOpen=!0,setTimeout((function(){e.canEdit=!0}),1e3)},toggleTab:function(t){this.tabIndex=t,this.altTextEditIndex=void 0},toggleVisibility:function(t){this.fields.visibility=t},locationSearch:function(t){if(t.length<1)return[];return axios.get("/api/compose/v0/search/location",{params:{q:t}}).then((function(t){return t.data}))},getResultValue:function(t){return t.name+", "+t.country},onSubmitLocation:function(t){this.fields.location=t,this.tabIndex=0},clearLocation:function(){event.currentTarget.blur(),this.fields.location=null,this.tabIndex=0},handleAltTextUpdate:function(t){0==this.fields.media[t].description.length&&(this.fields.media[t].description=null)},moveMedia:function(t,e,s){var i=o(s),a=i.splice(t,1)[0];return i.splice(e,0,a),i},toggleMediaOrder:function(t,e){"prev"===t&&(this.fields.media=this.moveMedia(e,e-1,this.fields.media)),"next"===t&&(this.fields.media=this.moveMedia(e,e+1,this.fields.media))},toggleLightbox:function(t){(0,a.default)({el:t.target})},handleAddAltText:function(t){event.currentTarget.blur(),this.altTextEditIndex=t},removeMedia:function(t){var e=this;swal({title:"Confirm",text:"Are you sure you want to remove this media from your post?",buttons:{cancel:"Cancel",confirm:{text:"Confirm Removal",value:"remove",className:"swal-button--danger"}}}).then((function(s){"remove"===s&&e.fields.media.splice(t,1)}))},handleSave:function(){var t=this;return d(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return event.currentTarget.blur(),t.canSave=!1,t.isSubmitting=!0,e.next=5,t.checkMediaUpdates();case 5:axios.put("/api/v1/statuses/"+t.status.id,{status:t.fields.caption,spoiler_text:t.fields.spoiler_text,sensitive:t.fields.sensitive,media_ids:t.fields.media.map((function(t){return t.id})),location:t.fields.location}).then((function(e){t.isOpen=!1,t.$emit("update",e.data),swal({title:"Post Updated",text:"You have successfully updated this post!",icon:"success",buttons:{close:{text:"Close",value:"close",close:!0,className:"swal-button--cancel"},view:{text:"View Post",value:"view",className:"btn-primary"}}}).then((function(e){"view"===e&&("post"===t.$router.currentRoute.name?window.location.reload():t.$router.push("/i/web/post/"+t.status.id))}))})).catch((function(e){t.isSubmitting=!1,e.response.data.hasOwnProperty("error")?swal("Error",e.response.data.error,"error"):swal("Error","An error occured, please try again later","error"),console.log(e)}));case 6:case"end":return e.stop()}}),e)})))()},checkMediaUpdates:function(){var t=this;return d(l().mark((function e(){var s;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=JSON.parse(t.originalFields),JSON.stringify(s.media)===JSON.stringify(t.fields.media)){e.next=5;break}return e.next=5,axios.all(t.fields.media.map((function(e){return t.updateAltText(e)})));case 5:case"end":return e.stop()}}),e)})))()},updateAltText:function(t){return d(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.put("/api/v1/media/"+t.id,{description:t.description});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))()}}}},22434:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(34719),a=s(49986);const n={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1},isReblog:{type:Boolean,default:!1},reblogAccount:{type:Object}},components:{"profile-hover-card":i.default,"edit-history-modal":a.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfileById:function(t){var e=this;this.$nextTick((function(){e.$router.push({name:"profile",path:"/i/web/profile/".concat(t),params:{id:t,cachedUser:e.profile}})}))},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")},openEditModal:function(){this.$refs.editModal.open()}}}},99397:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(20243),a=s(34719);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}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},6140:(t,e,s)=>{"use strict";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=e.getAttribute("href"),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)}))}}}},85679:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(25100),a=s(29787),n=s(24848);const o={props:{status:{type:Object},profile:{type:Object}},components:{intersect:i.default,"like-placeholder":a.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchShares:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchShares(),this.$refs.sharesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},3223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var i=s(50294),a=s(95353);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,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 r(t,e,s){var i;return i=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(i)?i:i+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore: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)}}}},28413:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={components:{notifications:s(76830).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},79318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var i=s(95353),a=s(90414);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,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 r(t,e,s){var i;return i=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(i)?i:i+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,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:{UpdateAvatar:a.default},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},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},68910:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(64945),a=(s(34076),s(34330)),n=s.n(a),o=(s(10706),s(71241));const r={props:["status","fixedHeight"],data:function(){return{shouldPlay:!1,hasHls:void 0,hlsConfig:window.App.config.features.hls,liveSyncDurationCount:7,isHlsSupported:!1,isP2PSupported:!1,engine:void 0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{handleShouldPlay:function(){var t=this;this.shouldPlay=!0,this.isHlsSupported=this.hlsConfig.enabled&&i.default.isSupported(),this.isP2PSupported=this.hlsConfig.enabled&&this.hlsConfig.p2p&&o.Engine.isSupported(),this.$nextTick((function(){t.init()}))},init:function(){var t,e=this;!this.status.sensitive&&null!==(t=this.status.media_attachments[0])&&void 0!==t&&t.hls_manifest&&this.isHlsSupported?(this.hasHls=!0,this.$nextTick((function(){e.initHls()}))):this.hasHls=!1},initHls:function(){var t;if(this.isP2PSupported){var e={loader:{trackerAnnounce:[this.hlsConfig.tracker],rtcConfig:{iceServers:[{urls:[this.hlsConfig.ice]}]}}},s=new o.Engine(e);this.hlsConfig.p2p_debug&&(s.on("peer_connect",(function(t){return console.log("peer_connect",t.id,t.remoteAddress)})),s.on("peer_close",(function(t){return console.log("peer_close",t)})),s.on("segment_loaded",(function(t,e){return console.log("segment_loaded from",e?"peer ".concat(e):"HTTP",t.url)}))),t=s.createLoaderClass()}else t=i.default.DefaultConfig.loader;var a=this.$refs.video,r=this.status.media_attachments[0].hls_manifest,l=(new(n())(a,{captions:{active:!0,update:!0}}),new i.default({liveSyncDurationCount:this.liveSyncDurationCount,loader:t})),c=this;(0,o.initHlsJsPlayer)(l),l.loadSource(r),l.attachMedia(a),l.on(i.default.Events.MANIFEST_PARSED,(function(t,e){this.hlsConfig.debug&&(console.log(t),console.log(e));var s={},o=l.levels.map((function(t){return t.height}));this.hlsConfig.debug&&console.log(o),o.unshift(0),s.quality={default:0,options:o,forced:!0,onChange:function(t){return c.updateQuality(t)}},s.i18n={qualityLabel:{0:"Auto"}},l.on(i.default.Events.LEVEL_SWITCHED,(function(t,e){var s=document.querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");l.autoLevelEnabled?s.innerHTML="Auto (".concat(l.levels[e.level].height,"p)"):s.innerHTML="Auto"}));new(n())(a,s)}))},updateQuality:function(t){var e=this;0===t?window.hls.currentLevel=-1:window.hls.levels.forEach((function(s,i){s.height===t&&(e.hlsConfig.debug&&console.log("Found quality match with "+t),window.hls.currentLevel=i)}))},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},91360:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(71687),a=s(25100);function n(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);sWe use automated systems to help detect potential abuse and spam. Your recent post was flagged for review.

Don\'t worry! Your post will be reviewed by a human, and they will restore your post if they determine it appropriate.

Once a human approves your post, any posts you create after will not be marked as unlisted. If you delete this post and share more posts before a human can approve any of them, you will need to wait for at least one unlisted post to be reviewed by a human.';var s=document.createElement("div");s.appendChild(e),swal({title:"Why was my post unlisted?",content:s,icon:"warning"})}}}},48918:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-timeline-component web-wrapper"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3 d-md-block"},[e("sidebar",{attrs:{user:t.user}})],1),t._v(" "),e("div",{staticClass:"col-md-8 col-lg-6"},[t.isReply?e("div",{staticClass:"p-3 rounded-top mb-n3",staticStyle:{"background-color":"var(--card-header-accent)"}},[e("p",[e("i",{staticClass:"fal fa-reply mr-1"}),t._v(" In reply to\n\n\t\t\t\t\t\t"),e("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(" "),e("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(" "),e("status",{key:t.post.id+":fui:"+t.forceUpdateIdx,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()},follow:function(e){return t.follow()},unfollow:function(e){return t.unfollow()},"counter-change":t.counterChange}})],1),t._v(" "),e("div",{staticClass:"d-none d-lg-block col-lg-3"},[e("rightbar")],1)])]):t._e(),t._v(" "),t.postStateError?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3 d-md-block"},[e("sidebar",{attrs:{user:t.user}})],1),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"d-none d-lg-block col-lg-3"},[e("rightbar")],1)])]):t._e(),t._v(" "),t.isLoaded?e("context-menu",{ref:"contextMenu",attrs:{status:t.post,profile:t.user},on:{"report-modal":function(e){return t.handleReport()},delete:function(e){return t.deletePost()},edit:t.handleEdit}}):t._e(),t._v(" "),t.showLikesModal?e("likes-modal",{ref:"likesModal",attrs:{status:t.post,profile:t.user}}):t._e(),t._v(" "),t.showSharesModal?e("shares-modal",{ref:"sharesModal",attrs:{status:t.post,profile:t.profile}}):t._e(),t._v(" "),t.post?e("report-modal",{ref:"reportModal",attrs:{status:t.post}}):t._e(),t._v(" "),e("post-edit-modal",{ref:"editModal",on:{update:t.mergeUpdatedPost}}),t._v(" "),e("drawer")],1)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-md-8 col-lg-6"},[e("div",{staticClass:"card card-body shadow-none border"},[e("div",{staticClass:"d-flex align-self-center flex-column",staticStyle:{"max-width":"500px"}},[e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-exclamation-triangle fa-3x text-lighter"})]),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold"},[t._v("Error displaying post")]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v("This can happen for a few reasons:")]),t._v(" "),e("ul",{staticClass:"text-lighter"},[e("li",[t._v("The url is invalid or has a typo")]),t._v(" "),e("li",[t._v("The page has been flagged for review by our automated abuse detection systems")]),t._v(" "),e("li",[t._v("The content may have been deleted")]),t._v(" "),e("li",[t._v("You do not have permission to view this content")])])])])])}]},70201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.shadowStatus,"is-reblog":t.isReblog,"reblog-account":t.reblogAccount},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.shadowStatus}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.shadowStatus,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.shadowStatus,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=[]},69831:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},a=[]},82960:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?e("div",{staticClass:"card shadow-none rounded-lg border my-4"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?e("div",[t.status.content_text.length<=140?e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?e("div",[e("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[e("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?e("p",{staticClass:"mt-3 mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),e("p",{staticClass:"text-right mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?e("div",[e("div",{staticClass:"my-4 text-center"},[e("b-spinner"),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-4x text-success"},[e("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-3x text-danger"},[e("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},a=[]},67153:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},a=[]},11526:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return t.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},a=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},55318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,i){return e("div",{key:"cd:"+s.id+":"+i,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===i?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(i,a){return e("div",{on:{click:function(e){return t.lightbox(s,a)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[a].blurhash,src:t.getMediaSource(s,a)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+i),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===i?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===i?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===i?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(i)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(i)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[i].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[i].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[i].replies},on:{"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==i&&t.feed[i].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==i?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(i,e)},"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},a=[]},54309:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,i){return e("div",{key:"cd:"+s.id+":"+i},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+i),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(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._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},82285:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},a=[]},4215:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item d-flex p-0 m-0"},[e("div",{staticClass:"border-right p-2 w-50"},[t.status?e("a",{staticClass:"menu-option",attrs:{href:t.status.url},on:{click:function(e){return e.preventDefault(),t.ctxMenuGoToPost()}}},[e("div",{staticClass:"action-icon-link"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"fal fa-images fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v(t._s(t.$t("menu.viewPost")))])])]):t._e()]),t._v(" "),e("div",{staticClass:"p-2 flex-grow-1"},[t.status?e("a",{staticClass:"menu-option",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.ctxMenuGoToProfile()}}},[e("div",{staticClass:"action-icon-link"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"fal fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v(t._s(t.$t("menu.viewProfile")))])])]):t._e()])]):t._e(),t._v(" "),t.ctxMenuRelationship?[t.ctxMenuRelationship.following?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleUnfollow.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("profile.unfollow"))+"\n ")]):e("div",{staticClass:"d-flex"},[e("div",{staticClass:"p-3 border-right w-50 text-center"},[e("a",{staticClass:"small menu-option text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleMute.apply(null,arguments)}}},[e("div",{staticClass:"action-icon-link-inline"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"far",class:[t.ctxMenuRelationship.muting?"fa-eye":"fa-eye-slash"]})]),t._v(" "),e("p",{staticClass:"text-muted mb-0"},[t._v(t._s(t.ctxMenuRelationship.muting?"Unmute":"Mute"))])])])]),t._v(" "),e("div",{staticClass:"p-3 w-50"},[e("a",{staticClass:"small menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleBlock.apply(null,arguments)}}},[e("div",{staticClass:"action-icon-link-inline"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"far fa-shield-alt"})]),t._v(" "),e("p",{staticClass:"text-danger mb-0"},[t._v("Block")])])])])])]:t._e(),t._v(" "),"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuShare()}}},[t._v("\n "+t._s(t.$t("common.share"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxModMenuShow()}}},[t._v("\n "+t._s(t.$t("menu.moderationTools"))+"\n ")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuReportPost()}}},[t._v("\n "+t._s(t.$t("menu.report"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.archivePost(t.status)}}},[t._v("\n "+t._s(t.$t("menu.archive"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.unarchivePost(t.status)}}},[t._v("\n "+t._s(t.$t("menu.unarchive"))+"\n ")]):t._e(),t._v(" "),t.config.ab.pue&&t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.editPost(t.status)}}},[t._v("\n Edit\n ")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deletePost(t.status)}}},[t.isDeleting?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("div",[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e(),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeCtxMenu()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])],2)]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center menu-option text-danger"},[t._v("\n "+t._s(t.$t("menu.moderationTools"))+"\n ")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("\n "+t._s(t.$t("menu.selectOneOption"))+"\n ")]),t._v(" "),e("p"),t._v(" "),e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"unlist")}}},[t._v("\n "+t._s(t.$t("menu.unlistFromTimelines"))+"\n ")]),t._v(" "),t.status.sensitive?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"remcw")}}},[t._v("\n "+t._s(t.$t("menu.removeCW"))+"\n ")]):e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"addcw")}}},[t._v("\n "+t._s(t.$t("menu.addCW"))+"\n ")]),t._v(" "),e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"spammer")}}},[t._v("\n "+t._s(t.$t("menu.markAsSpammer"))),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxModMenuClose()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuCopyLink()}}},[t._v("\n "+t._s(t.$t("common.copyLink"))+"\n ")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("a",{staticClass:"list-group-item menu-option",on:{click:function(e){return e.preventDefault(),t.ctxMenuEmbed()}}},[t._v("\n "+t._s(t.$t("menu.embed"))+"\n ")]):t._e(),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeCtxShareMenu()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,i=e.target,a=!!i.checked;if(Array.isArray(s)){var n=t._i(s,null);i.checked?n<0&&(t.ctxEmbedShowCaption=s.concat([null])):n>-1&&(t.ctxEmbedShowCaption=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowCaption=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.showCaption"))+"\n ")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,i=e.target,a=!!i.checked;if(Array.isArray(s)){var n=t._i(s,null);i.checked?n<0&&(t.ctxEmbedShowLikes=s.concat([null])):n>-1&&(t.ctxEmbedShowLikes=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowLikes=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.showLikes"))+"\n ")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,i=e.target,a=!!i.checked;if(Array.isArray(s)){var n=t._i(s,null);i.checked?n<0&&(t.ctxEmbedCompactMode=s.concat([null])):n>-1&&(t.ctxEmbedCompactMode=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedCompactMode=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.compactMode"))+"\n ")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},a=[]},27934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var i=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,i){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(i==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=i}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},a=[]},7971:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){this._self._c;return this._m(0)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}]},92162:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,i){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===i?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[null==s.follows||s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},a=[]},55766:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"feed-media-container bg-black"},[e("div",{staticClass:"text-muted",staticStyle:{"max-height":"400px"}},[e("div",["photo"===t.post.pf_type?e("div",[1==t.post.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.post.spoiler_text?t.post.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.post.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper"},[e("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?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.post.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):t._e()])])])},a=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},79911:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight}}):"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div",[t.status.sensitive?e("div",{staticClass:"border m-3 p-5 rounded-lg"},[t._m(1),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold mb-0"},[t._v("Sensitive Content")]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.status.spoiler_text&&t.status.spoiler_text.length?t.status.spoiler_text:"This post may contain sensitive content"))]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See post")])])]):t._e()]):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],1):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},a=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},12191:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("b-modal",{attrs:{centered:"","body-class":"p-0","footer-class":"d-flex justify-content-between align-items-center"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var i=s.close;return[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Edit Post")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]}},{key:"modal-footer",fn:function(s){s.ok;var i=s.cancel;s.hide;return[e("b-button",{staticClass:"rounded-pill px-3 font-weight-bold",attrs:{variant:"outline-muted"},on:{click:function(t){return i()}}},[t._v("\n\t\t\tCancel\n\t\t")]),t._v(" "),e("b-button",{staticClass:"rounded-pill font-weight-bold",staticStyle:{"min-width":"195px"},attrs:{variant:"primary",disabled:!t.canSave},on:{click:t.handleSave}},[t.isSubmitting?[e("b-spinner",{attrs:{small:""}})]:[t._v("\n\t\t\t\tSave Updates\n\t\t\t")]],2)]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("b-card",{staticClass:"shadow-none p-0",attrs:{"no-body":"",flush:""}},[e("b-card-body",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"300px"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center flex-column",staticStyle:{gap:"0.4rem"}},[e("b-spinner",{attrs:{variant:"primary"}}),t._v(" "),e("p",{staticClass:"small mb-0 font-weight-lighter"},[t._v("Loading Post...")])],1)])],1):!t.isLoading&&t.isOpen&&t.status&&t.status.id?e("b-card",{staticClass:"shadow-none p-0",attrs:{"no-body":"",flush:""}},[e("b-card-header",{attrs:{"header-tag":"nav"}},[e("b-nav",{attrs:{tabs:"",fill:"","card-header":""}},[e("b-nav-item",{attrs:{active:0===t.tabIndex},on:{click:function(e){return t.toggleTab(0)}}},[t._v("Caption")]),t._v(" "),e("b-nav-item",{attrs:{active:1===t.tabIndex},on:{click:function(e){return t.toggleTab(1)}}},[t._v("Media")]),t._v(" "),e("b-nav-item",{attrs:{active:4===t.tabIndex},on:{click:function(e){return t.toggleTab(3)}}},[t._v("Other")])],1)],1),t._v(" "),e("b-card-body",{staticStyle:{"min-height":"300px"}},[0===t.tabIndex?[e("p",{staticClass:"font-weight-bold small"},[t._v("Caption")]),t._v(" "),e("div",{staticClass:"media mb-0"},[e("div",{staticClass:"media-body"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.fields.caption,expression:"fields.caption"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"4",placeholder:"Write a caption...",maxlength:t.config.uploader.max_caption_length},domProps:{value:t.fields.caption},on:{keyup:function(e){t.composeTextLength=t.fields.caption.length},input:function(e){e.target.composing||t.$set(t.fields,"caption",e.target.value)}}})]),t._v(" "),e("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"font-weight-bold small"},[t._v("Sensitive/NSFW")]),t._v(" "),e("div",{staticClass:"border py-2 px-3 bg-light rounded"},[e("b-form-checkbox",{staticStyle:{"font-weight":"300"},attrs:{name:"check-button",switch:""},model:{value:t.fields.sensitive,callback:function(e){t.$set(t.fields,"sensitive",e)},expression:"fields.sensitive"}},[e("span",{staticClass:"ml-1 small"},[t._v("Contains spoilers, sensitive or nsfw content")])])],1),t._v(" "),e("transition",{attrs:{name:"slide-fade"}},[t.fields.sensitive?e("div",{staticClass:"form-group mt-3"},[e("label",{staticClass:"font-weight-bold small"},[t._v("Content Warning")]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.fields.spoiler_text,expression:"fields.spoiler_text"}],staticClass:"form-control",attrs:{rows:"2",placeholder:"Add an optional spoiler/content warning...",maxlength:140},domProps:{value:t.fields.spoiler_text},on:{input:function(e){e.target.composing||t.$set(t.fields,"spoiler_text",e.target.value)}}}),t._v(" "),e("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.fields.spoiler_text?t.fields.spoiler_text.length:0)+"/140")])]):t._e()])]:1===t.tabIndex?[e("div",{staticClass:"list-group"},t._l(t.fields.media,(function(s,i){return e("div",{key:"edm:"+s.id+":"+i,staticClass:"list-group-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},["image"===s.type?[e("img",{staticClass:"bg-light rounded cursor-pointer",staticStyle:{"object-fit":"cover"},attrs:{src:s.url,width:"40",height:"40"},on:{click:t.toggleLightbox}})]:t._e(),t._v(" "),e("p",{staticClass:"d-none d-lg-block mb-0"},[e("span",{staticClass:"small font-weight-light"},[t._v(t._s(s.mime))])]),t._v(" "),e("button",{staticClass:"btn btn-sm font-weight-bold rounded-pill px-4",class:[s.description&&s.description.length?"btn-success":"btn-outline-muted"],staticStyle:{"font-size":"13px"},on:{click:function(e){return e.preventDefault(),t.handleAddAltText(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.description&&s.description.length?"Edit Alt Text":"Add Alt Text")+"\n\t\t\t\t\t\t\t")]),t._v(" "),t.fields.media&&t.fields.media.length>1?e("div",{staticClass:"btn-group"},[e("a",{staticClass:"btn btn-outline-secondary btn-sm",class:{disabled:0===i},attrs:{href:"#",disabled:0===i},on:{click:function(e){return e.preventDefault(),t.toggleMediaOrder("prev",i)}}},[e("i",{staticClass:"fas fa-arrow-alt-up"})]),t._v(" "),e("a",{staticClass:"btn btn-outline-secondary btn-sm",class:{disabled:i===t.fields.media.length-1},attrs:{href:"#",disabled:i===t.fields.media.length-1},on:{click:function(e){return e.preventDefault(),t.toggleMediaOrder("next",i)}}},[e("i",{staticClass:"fas fa-arrow-alt-down"})])]):t._e(),t._v(" "),t.fields.media&&t.fields.media.length&&t.fields.media.length>1?e("button",{staticClass:"btn btn-outline-danger btn-sm",on:{click:function(e){return e.preventDefault(),t.removeMedia(i)}}},[e("i",{staticClass:"far fa-trash-alt"})]):t._e()],2),t._v(" "),e("transition",{attrs:{name:"slide-fade"}},[t.altTextEditIndex===i?[e("div",{staticClass:"form-group mt-1"},[e("label",{staticClass:"font-weight-bold small"},[t._v("Alt Text")]),t._v(" "),e("b-form-textarea",{attrs:{placeholder:"Describe your image for the visually impaired...",rows:"3","max-rows":"6"},on:{input:function(e){return t.handleAltTextUpdate(i)}},model:{value:s.description,callback:function(e){t.$set(s,"description",e)},expression:"media.description"}}),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("a",{staticClass:"font-weight-bold small text-muted",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.altTextEditIndex=void 0}}},[t._v("Close")]),t._v(" "),e("p",{staticClass:"help-text small mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.fields.media[i].description?t.fields.media[i].description.length:0)+"/"+t._s(t.config.uploader.max_altext_length)+"\n\t\t\t\t\t\t\t\t\t\t")])])],1)]:t._e()],2)],1)})),0)]:3===t.tabIndex?[e("p",{staticClass:"font-weight-bold small"},[t._v("Location")]),t._v(" "),e("autocomplete",{attrs:{search:t.locationSearch,placeholder:"Search locations ...","aria-label":"Search locations ...","get-result-value":t.getResultValue},on:{submit:t.onSubmitLocation}}),t._v(" "),t.fields.location&&t.fields.location.hasOwnProperty("id")?e("div",{staticClass:"mt-3 border rounded p-3 d-flex justify-content-between"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.fields.location.name)+", "+t._s(t.fields.location.country)+"\n\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link text-danger m-0 p-0",on:{click:function(e){return e.preventDefault(),t.clearLocation.apply(null,arguments)}}},[e("i",{staticClass:"far fa-trash"})])]):t._e()]:t._e()],2)],1):t._e()],1)},a=[]},44516:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[t.isReblog?e("div",{staticClass:"card-header bg-light border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center",staticStyle:{height:"10px"}},[e("a",{staticClass:"mx-2",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[e("img",{staticStyle:{"border-radius":"10px"},attrs:{src:t.reblogAccount.avatar,width:"24",height:"24",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticStyle:{"font-size":"12px","font-weight":"bold"}},[e("i",{staticClass:"far fa-retweet text-warning mr-1"}),t._v(" Reblogged by "),e("a",{staticClass:"text-dark",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[t._v("@"+t._s(t.reblogAccount.acct))])])])]):t._e(),t._v(" "),e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n "+t._s(t.status.account.acct)+"\n ")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n "+t._s(t.timeago(t.status.created_at))+"\n ")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)])},a=[]},51992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},a=[]},16331:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},a=[]},66295:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"sharesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,i){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===i?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},a=[]},53577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}})]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},a=[]},55201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},a=[]},67725:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},a=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},21146:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n Sensitive Content\n ")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n "+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n ")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):[t.shouldPlay?[t.hasHls?e("video",{ref:"video",class:{fixedHeight:t.fixedHeight},staticStyle:{margin:"0"},attrs:{playsinline:"","webkit-playsinline":"",controls:"",autoplay:"false",poster:t.getPoster(t.status)}}):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{autoplay:"false",playsinline:"","webkit-playsinline":"",controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:e("div",{staticClass:"content-label-wrapper",style:{background:"linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.8)),url(".concat(t.getPoster(t.status),")"),backgroundSize:"cover"}},[e("div",{staticClass:"text-light content-label"},[e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-link btn-block btn-sm font-weight-bold",on:{click:function(e){return e.preventDefault(),t.handleShouldPlay.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-play fa-5x text-white"})])])])])]],2)},a=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},18865:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"notifications-component"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[e("div",{staticClass:"card-body pb-0"},[e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?e("div",[e("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[e("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?e("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[e("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?e("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),e("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(s,i){return e("div",{staticClass:"mb-2"},[e("div",{staticClass:"media align-items-center"},["autospam.warning"===s.type?e("img",{staticClass:"mr-2 rounded-circle shadow-sm p-1",staticStyle:{border:"2px solid var(--danger)"},attrs:{src:"/img/pixelfed-icon-color.svg",width:"32",height:"32"}}):e("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:s.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),e("div",{staticClass:"media-body font-weight-light small"},["favourite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),s.status&&s.status.hasOwnProperty("media_attachments")?e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status),id:"fvn-"+s.id},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),e("b-popover",{attrs:{target:"fvn-"+s.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(s),width:"100px",height:"100px"}})])],1):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"autospam.warning"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour recent "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(" has been unlisted.\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mt-n1 mb-0"},[e("span",{staticClass:"small text-muted"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showAutospamInfo(s.status)}}},[t._v("Click here")]),t._v(" for more info.")])])]):"comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" reacted to your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/i/web/direct/thread/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/i/web/direct/thread/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" shared your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(t.truncate(s.account.username)))]),t._v(" updated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" tagged you in a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" sent a "),e("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+s.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" invited you to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url+"/invite/claim",title:s.group.name}},[t._v(t._s(s.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:s.created_at}},[t._v(t._s(t.timeAgo(s.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?e("div",[e("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):e("div",[t.hasLoaded&&t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}})],1):e("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):e("div",{staticClass:"notifications-component-feed"},[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},a=[]},35296:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),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 .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=a},35518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=a},34857:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),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;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=a},26689:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".menu-option[data-v-be1fd05a]{color:var(--dark);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;text-decoration:none}.list-group-item[data-v-be1fd05a]{border-color:var(--border-color)}.action-icon-link[data-v-be1fd05a]{display:flex;flex-direction:column}.action-icon-link .icon[data-v-be1fd05a]{margin-bottom:5px;opacity:.5}.action-icon-link p[data-v-be1fd05a]{font-size:11px;font-weight:600}.action-icon-link-inline[data-v-be1fd05a]{align-items:center;display:flex;flex-direction:row;gap:8px;justify-content:center}.action-icon-link-inline p[data-v-be1fd05a]{font-weight:700}",""]);const n=a},49777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const n=a},42141:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.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=a},11366:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,"div[data-v-1be4e9aa],p[data-v-1be4e9aa]{font-family:var(--font-family-sans-serif)}.nav-link[data-v-1be4e9aa]{color:var(--text-lighter);font-size:13px;font-weight:600}.nav-link.active[data-v-1be4e9aa]{color:var(--primary);font-weight:800}.slide-fade-enter-active[data-v-1be4e9aa]{transition:all .5s ease}.slide-fade-leave-active[data-v-1be4e9aa]{transition:all .2s cubic-bezier(.5,1,.6,1)}.slide-fade-enter[data-v-1be4e9aa],.slide-fade-leave-to[data-v-1be4e9aa]{opacity:0;transform:translateY(20px)}",""]);const n=a},93100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),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:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=a},15822:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const n=a},54788:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const n=a},91748:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const n=a},209:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(35296),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},96259:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(35518),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},48432:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(34857),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},54328:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(26689),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},22626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(49777),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},15502:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(42141),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},37339:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(11366),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},67621:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(93100),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},82851:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(15822),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},5323:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(54788),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},53639:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(91748),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},19833:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(93857),a=s(99866),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},35547:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(59028),a=s(52548),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(86546);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},5787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(16286),a=s(80260),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(68840);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},13090:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(54229),a=s(13514),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},90414:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(82704),a=s(55597),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},71687:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(24871),a=s(11308),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},20243:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(34727),a=s(88012),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(21883);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},72028:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(46098),a=s(93843),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},19138:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(44982),a=s(43509),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},57103:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(56765),a=s(64672),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(74811);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,"be1fd05a",null).exports},49986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(32785),a=s(79577),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(67011);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},29787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(68329);const a=(0,s(14486).default)({},i.render,i.staticRenderFns,!1,null,null,null).exports},59515:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(4607),a=s(38972),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},28768:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(56713),a=s(32887),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(30179);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},79110:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(5458),a=s(99369),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},67578:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(9918),a=s(97105),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(79040);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,"1be4e9aa",null).exports},84800:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(43047),a=s(6119),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},27821:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(99421),a=s(28934),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},50294:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(95728),a=s(33417),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},99681:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(9836),a=s(22350),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},34719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(38888),a=s(42260),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(88814);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},59993:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(60848),a=s(88626),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(74148);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,"c5fe4fd2",null).exports},28772:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(75754),a=s(75223),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(68338);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},75938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(86943),a=s(42909),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},76830:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(65358),a=s(93953),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(85082);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},99866:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(22151),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},52548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(56987),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},80260:(t,e,s)=>{"use strict";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},13514:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(25054),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},55597:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(84154),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},11308:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(51651),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},88012:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(3211),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},93843:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(24758),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},43509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(85100),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},64672:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(49415),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},79577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(37844),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},38972:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(67975),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},32887:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(65754),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},99369:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(61746),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},97105:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(26030),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},6119:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(22434),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},28934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(99397),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},33417:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(6140),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},22350:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(85679),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},42260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(3223),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},88626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(28413),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},75223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(79318),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},42909:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(68910),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},93953:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(91360),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},93857:(t,e,s)=>{"use strict";s.r(e);var i=s(48918),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},59028:(t,e,s)=>{"use strict";s.r(e);var i=s(70201),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},16286:(t,e,s)=>{"use strict";s.r(e);var i=s(69831),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},54229:(t,e,s)=>{"use strict";s.r(e);var i=s(82960),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},82704:(t,e,s)=>{"use strict";s.r(e);var i=s(67153),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},24871:(t,e,s)=>{"use strict";s.r(e);var i=s(11526),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},34727:(t,e,s)=>{"use strict";s.r(e);var i=s(55318),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},46098:(t,e,s)=>{"use strict";s.r(e);var i=s(54309),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},44982:(t,e,s)=>{"use strict";s.r(e);var i=s(82285),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},56765:(t,e,s)=>{"use strict";s.r(e);var i=s(4215),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},32785:(t,e,s)=>{"use strict";s.r(e);var i=s(27934),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},68329:(t,e,s)=>{"use strict";s.r(e);var i=s(7971),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},4607:(t,e,s)=>{"use strict";s.r(e);var i=s(92162),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},56713:(t,e,s)=>{"use strict";s.r(e);var i=s(55766),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},5458:(t,e,s)=>{"use strict";s.r(e);var i=s(79911),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},9918:(t,e,s)=>{"use strict";s.r(e);var i=s(12191),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},43047:(t,e,s)=>{"use strict";s.r(e);var i=s(44516),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},99421:(t,e,s)=>{"use strict";s.r(e);var i=s(51992),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},95728:(t,e,s)=>{"use strict";s.r(e);var i=s(16331),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},9836:(t,e,s)=>{"use strict";s.r(e);var i=s(66295),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},38888:(t,e,s)=>{"use strict";s.r(e);var i=s(53577),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},60848:(t,e,s)=>{"use strict";s.r(e);var i=s(55201),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},75754:(t,e,s)=>{"use strict";s.r(e);var i=s(67725),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},86943:(t,e,s)=>{"use strict";s.r(e);var i=s(21146),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},65358:(t,e,s)=>{"use strict";s.r(e);var i=s(18865),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},86546:(t,e,s)=>{"use strict";s.r(e);var i=s(209),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},68840:(t,e,s)=>{"use strict";s.r(e);var i=s(96259),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},21883:(t,e,s)=>{"use strict";s.r(e);var i=s(48432),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},74811:(t,e,s)=>{"use strict";s.r(e);var i=s(54328),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},67011:(t,e,s)=>{"use strict";s.r(e);var i=s(22626),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},30179:(t,e,s)=>{"use strict";s.r(e);var i=s(15502),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},79040:(t,e,s)=>{"use strict";s.r(e);var i=s(37339),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},88814:(t,e,s)=>{"use strict";s.r(e);var i=s(67621),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},74148:(t,e,s)=>{"use strict";s.r(e);var i=s(82851),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},68338:(t,e,s)=>{"use strict";s.r(e);var i=s(5323),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},85082:(t,e,s)=>{"use strict";s.r(e);var i=s(53639),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},11220:()=>{},16052:()=>{},40295:()=>{},89858:()=>{},45187:()=>{},87919:()=>{},40264:()=>{},80434:()=>{},18053:()=>{}}]); \ No newline at end of file +/*! For license information please see post.chunk.857e52af9dd166ea.js.LICENSE.txt */ +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[8408],{22151:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>f});var i=s(5787),a=s(59993),n=s(28772),o=s(35547),r=s(57103),l=s(28768),c=s(59515),d=s(99681),u=s(13090),p=s(67578);const f={props:{cachedStatus:{type:Object},cachedProfile:{type:Object}},components:{drawer:i.default,sidebar:n.default,status:o.default,"context-menu":r.default,"media-container":l.default,"likes-modal":c.default,"shares-modal":d.default,rightbar:a.default,"report-modal":u.default,"post-edit-modal":p.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,postStateError:!1,forceUpdateIdx:0}},created:function(){this.init()},watch:{$route:"init"},methods:{init:function(){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"),e.data.hasOwnProperty("account")&&e.data.account?(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()):t.postStateError=!0})).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,t.postStateError=!0}))},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}))},follow:function(){var t=this;axios.post("/api/v1/accounts/"+this.post.account.id+"/follow").then((function(e){t.$store.commit("updateRelationship",[e.data]),t.user.following_count++,t.post.account.followers_count++})).catch((function(e){swal("Oops!","An error occurred when attempting to follow this account.","error"),t.post.relationship.following=!1}))},unfollow:function(){var t=this;axios.post("/api/v1/accounts/"+this.post.account.id+"/unfollow").then((function(e){t.$store.commit("updateRelationship",[e.data]),t.user.following_count--,t.post.account.followers_count--})).catch((function(e){swal("Oops!","An error occurred when attempting to unfollow this account.","error"),t.post.relationship.following=!0}))},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}},handleEdit:function(t){this.$refs.editModal.show(t)},mergeUpdatedPost:function(t){var e=this;this.post=t,this.$nextTick((function(){e.forceUpdateIdx++}))}}}},56987:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(20243),a=s(84800),n=s(79110),o=s(27821);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.shadowStatus.media_attachments||!this.shadowStatus.media_attachments.length)&&this.shadowStatus.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.shadowStatus.account.id==window._sharedData.user.id,this.shadowStatus.reply_count&&this.autoloadComments&&!1===this.shadowStatus.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},isReblog:{get:function(){return null!=this.status.reblog}},reblogAccount:{get:function(){return this.status.reblog?this.status.account:null}},shadowStatus:{get:function(){return this.status.reblog?this.status.reblog:this.status}}},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")}}}},50371:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={data:function(){return{user:window._sharedData.user}}}},25054:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={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}))}}}},84154:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:["user"],data:function(){return{loaded:!1,avatarUpdateIndex:0,avatarUpdateFile:void 0,avatarUpdatePreview:void 0}},methods:{open:function(){this.$refs.avatarUpdateModal.show()},avatarUpdateClose:function(){this.$refs.avatarUpdateModal.hide(),this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateClear:function(){this.avatarUpdateIndex=0,this.avatarUpdateFile=void 0},avatarUpdateStep:function(t){this.$refs.avatarUpdateRef.click(),this.avatarUpdateIndex=t},handleAvatarUpdate:function(){var t=this,e=event.target.files;Array.prototype.forEach.call(e,(function(e,s){t.avatarUpdateFile=e,t.avatarUpdatePreview=URL.createObjectURL(e),t.avatarUpdateIndex=1}))},handleDrop:function(t){t.preventDefault();var e=this;if(t.dataTransfer.items){for(var s=0;s{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:{small:{type:Boolean,default:!1}}}},3211:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var i=s(79288),a=s(50294),n=s(34719),o=s(72028),r=s(19138);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,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,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",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},24758:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(50294);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("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,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}}}},85100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},49415:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:["status","profile"],data:function(){return{config:window.App.config,ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1,isDeleting:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){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/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;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(i){i?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 i=this,a=(t.account.username,t.id,""),n=this;switch(e){case"addcw":a=this.$t("menu.modAddCWConfirm"),swal({title:"Confirm",text:a,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(i.$t("common.success"),i.$t("menu.modCWSuccess"),"success"),i.$emit("moderate","addcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"remcw":a=this.$t("menu.modRemoveCWConfirm"),swal({title:"Confirm",text:a,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(i.$t("common.success"),i.$t("menu.modRemoveCWSuccess"),"success"),i.$emit("moderate","remcw"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"unlist":a=this.$t("menu.modUnlistConfirm"),swal({title:"Confirm",text:a,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){i.$emit("moderate","unlist"),swal(i.$t("common.success"),i.$t("menu.modUnlistSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"spammer":a=this.$t("menu.modMarkAsSpammerConfirm"),swal({title:"Confirm",text:a,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){i.$emit("moderate","spammer"),swal(i.$t("common.success"),i.$t("menu.modMarkAsSpammerSuccess"),"success"),n.closeModals(),n.ctxModMenuClose()})).catch((function(t){n.closeModals(),n.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}))}},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;this.isDeleting=!0,0!=this.ownerOrAdmin(t)&&swal({title:"Confirm Delete",text:"Are you sure you want to delete this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s?axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals(),e.isDeleting=!1})).catch((function(t){e.closeModals(),e.isDeleting=!1,swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")})):(e.closeModals(),e.isDeleting=!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()},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("delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))},editPost:function(t){this.closeModals(),this.$emit("edit",t)},handleMute:function(){var t=this;if(this.ctxMenuRelationship){var e=this.ctxMenuRelationship.muting;swal({title:e?"Confirm Unmute":"Confirm Mute",text:e?"Are you sure you want to unmute this account?":"Are you sure you want to mute this account?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){if(s){var i="/api/v1/accounts/".concat(t.status.account.id,e?"/unmute":"/mute");axios.post(i).then((function(e){t.closeModals(),t.$emit("muted",t.status),t.$store.commit("updateRelationship",[e.data])})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")}))}else t.closeModals()}))}},handleBlock:function(){var t=this;if(this.ctxMenuRelationship){var e=this.ctxMenuRelationship.blocking;swal({title:e?"Confirm Unblock":"Confirm Block",text:e?"Are you sure you want to unblock this account?":"Are you sure you want to block this account?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){if(s){var i="/api/v1/accounts/".concat(t.status.account.id,e?"/unblock":"/block");axios.post(i).then((function(e){t.closeModals(),t.$store.commit("updateRelationship",[e.data]),t.$emit("muted",t.status)})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")}))}else t.closeModals()}))}},handleUnfollow:function(){var t=this;this.ctxMenuRelationship&&swal({title:"Unfollow",text:"Are you sure you want to unfollow "+this.status.account.username+"?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(e){e?axios.post("/api/v1/accounts/".concat(t.status.account.id,"/unfollow")).then((function(e){t.closeModals(),t.$store.commit("updateRelationship",[e.data]),t.$emit("unfollow",t.status)})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")})):t.closeModals()}))}}}},37844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},getDiff:function(t){if(t==this.allHistory.length-1)return this.allHistory[this.allHistory.length-1].content;var e=document.createElement("div");return r.forEach((function(t){var s=t.added?"green":t.removed?"red":"grey",i=document.createElement("span");(i.style.color=s,console.log(t.value,t.value.length),t.added)?t.value.trim().length?i.appendChild(document.createTextNode(t.value)):i.appendChild(document.createTextNode("·")):i.appendChild(document.createTextNode(t.value));e.appendChild(i)})),e.innerHTML},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),i=Math.floor(s/63072e3);return i<0?"0s":i>=1?i+(1==i?" year":" years")+" ago":(i=Math.floor(s/604800))>=1?i+(1==i?" week":" weeks")+" ago":(i=Math.floor(s/86400))>=1?i+(1==i?" day":" days")+" ago":(i=Math.floor(s/3600))>=1?i+(1==i?" hour":" hours")+" ago":(i=Math.floor(s/60))>=1?i+(1==i?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},67975:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(25100),a=s(29787),n=s(24848);const o={props:{status:{type:Object},profile:{type:Object}},components:{intersect:i.default,"like-placeholder":a.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},65754:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={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()}))}}}},61746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(18634),a=s(50294),n=s(75938);const o={props:["status"],components:{"read-more":a.default,"video-player":n.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},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},26030:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>u});var i=s(2e4),a=s(18634);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t){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,i=new Array(e);s=0;--n){var o=this.tryEntries[n],r=o.completion;if("root"===o.tryLoc)return a("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--s){var a=this.tryEntries[s];if(a.tryLoc<=this.prev&&i.call(a,"finallyLoc")&&this.prev=0;--e){var s=this.tryEntries[e];if(s.finallyLoc===t)return this.complete(s.completion,s.afterLoc),L(s),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var s=this.tryEntries[e];if(s.tryLoc===t){var i=s.completion;if("throw"===i.type){var a=i.arg;L(s)}return a}}throw Error("illegal catch attempt")},delegateYield:function(e,s,i){return this.delegate={iterator:O(e),resultName:s,nextLoc:i},"next"===this.method&&(this.arg=t),b}},e}function c(t,e,s,i,a,n,o){try{var r=t[n](o),l=r.value}catch(t){return void s(t)}r.done?e(l):Promise.resolve(l).then(i,a)}function d(t){return function(){var e=this,s=arguments;return new Promise((function(i,a){var n=t.apply(e,s);function o(t){c(n,i,a,o,r,"next",t)}function r(t){c(n,i,a,o,r,"throw",t)}o(void 0)}))}}const u={components:{Autocomplete:i.default},data:function(){return{config:window.App.config,status:void 0,isLoading:!0,isOpen:!1,isSubmitting:!1,tabIndex:0,canEdit:!1,composeTextLength:0,canSave:!1,originalFields:{caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},fields:{caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},medias:void 0,altTextEditIndex:void 0,tributeSettings:{noMatchTemplate:function(){return null},collection:[{trigger:"@",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/mention",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){console.log(t)}))}},{trigger:"#",menuShowMinLength:2,values:function(t,e){axios.get("/api/compose/v0/search/hashtag",{params:{q:t}}).then((function(t){e(t.data)})).catch((function(t){console.log(t)}))}}]}}},watch:{fields:{deep:!0,immediate:!0,handler:function(t,e){this.canEdit&&(this.canSave=this.originalFields!==JSON.stringify(this.fields))}}},methods:{reset:function(){this.status=void 0,this.tabIndex=0,this.isOpen=!1,this.canEdit=!1,this.composeTextLength=0,this.canSave=!1,this.originalFields={caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},this.fields={caption:void 0,visibility:void 0,sensitive:void 0,location:void 0,spoiler_text:void 0,media:[]},this.medias=void 0,this.altTextEditIndex=void 0,this.isSubmitting=!1},show:function(t){var e=this;return d(l().mark((function s(){return l().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:return s.next=2,axios.get("/api/v1/statuses/"+t.id,{params:{_pe:1}}).then((function(t){e.reset(),e.init(t.data)})).finally((function(){setTimeout((function(){e.isLoading=!1}),500)}));case 2:case"end":return s.stop()}}),s)})))()},init:function(t){var e=this;this.reset(),this.originalFields=JSON.stringify({caption:t.content_text,visibility:t.visibility,sensitive:t.sensitive,location:t.place,spoiler_text:t.spoiler_text,media:t.media_attachments}),this.fields={caption:t.content_text,visibility:t.visibility,sensitive:t.sensitive,location:t.place,spoiler_text:t.spoiler_text,media:t.media_attachments},this.status=t,this.medias=t.media_attachments,this.composeTextLength=t.content_text?t.content_text.length:0,this.isOpen=!0,setTimeout((function(){e.canEdit=!0}),1e3)},toggleTab:function(t){this.tabIndex=t,this.altTextEditIndex=void 0},toggleVisibility:function(t){this.fields.visibility=t},locationSearch:function(t){if(t.length<1)return[];return axios.get("/api/compose/v0/search/location",{params:{q:t}}).then((function(t){return t.data}))},getResultValue:function(t){return t.name+", "+t.country},onSubmitLocation:function(t){this.fields.location=t,this.tabIndex=0},clearLocation:function(){event.currentTarget.blur(),this.fields.location=null,this.tabIndex=0},handleAltTextUpdate:function(t){0==this.fields.media[t].description.length&&(this.fields.media[t].description=null)},moveMedia:function(t,e,s){var i=o(s),a=i.splice(t,1)[0];return i.splice(e,0,a),i},toggleMediaOrder:function(t,e){"prev"===t&&(this.fields.media=this.moveMedia(e,e-1,this.fields.media)),"next"===t&&(this.fields.media=this.moveMedia(e,e+1,this.fields.media))},toggleLightbox:function(t){(0,a.default)({el:t.target})},handleAddAltText:function(t){event.currentTarget.blur(),this.altTextEditIndex=t},removeMedia:function(t){var e=this;swal({title:"Confirm",text:"Are you sure you want to remove this media from your post?",buttons:{cancel:"Cancel",confirm:{text:"Confirm Removal",value:"remove",className:"swal-button--danger"}}}).then((function(s){"remove"===s&&e.fields.media.splice(t,1)}))},handleSave:function(){var t=this;return d(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return event.currentTarget.blur(),t.canSave=!1,t.isSubmitting=!0,e.next=5,t.checkMediaUpdates();case 5:axios.put("/api/v1/statuses/"+t.status.id,{status:t.fields.caption,spoiler_text:t.fields.spoiler_text,sensitive:t.fields.sensitive,media_ids:t.fields.media.map((function(t){return t.id})),location:t.fields.location}).then((function(e){t.isOpen=!1,t.$emit("update",e.data),swal({title:"Post Updated",text:"You have successfully updated this post!",icon:"success",buttons:{close:{text:"Close",value:"close",close:!0,className:"swal-button--cancel"},view:{text:"View Post",value:"view",className:"btn-primary"}}}).then((function(e){"view"===e&&("post"===t.$router.currentRoute.name?window.location.reload():t.$router.push("/i/web/post/"+t.status.id))}))})).catch((function(e){t.isSubmitting=!1,e.response.data.hasOwnProperty("error")?swal("Error",e.response.data.error,"error"):swal("Error","An error occured, please try again later","error"),console.log(e)}));case 6:case"end":return e.stop()}}),e)})))()},checkMediaUpdates:function(){var t=this;return d(l().mark((function e(){var s;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=JSON.parse(t.originalFields),JSON.stringify(s.media)===JSON.stringify(t.fields.media)){e.next=5;break}return e.next=5,axios.all(t.fields.media.map((function(e){return t.updateAltText(e)})));case 5:case"end":return e.stop()}}),e)})))()},updateAltText:function(t){return d(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.put("/api/v1/media/"+t.id,{description:t.description});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))()}}}},22434:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(34719),a=s(49986);const n={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1},isReblog:{type:Boolean,default:!1},reblogAccount:{type:Object}},components:{"profile-hover-card":i.default,"edit-history-modal":a.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfileById:function(t){var e=this;this.$nextTick((function(){e.$router.push({name:"profile",path:"/i/web/profile/".concat(t),params:{id:t,cachedUser:e.profile}})}))},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")},openEditModal:function(){this.$refs.editModal.open()}}}},99397:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(20243),a=s(34719);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}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},6140:(t,e,s)=>{"use strict";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=e.getAttribute("href"),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)}))}}}},85679:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(25100),a=s(29787),n=s(24848);const o={props:{status:{type:Object},profile:{type:Object}},components:{intersect:i.default,"like-placeholder":a.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchShares:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchShares(),this.$refs.sharesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,n.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},3223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var i=s(50294),a=s(95353);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,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 r(t,e,s){var i;return i=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(i)?i:i+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore: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)}}}},28413:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={components:{notifications:s(76830).default},data:function(){return{profile:{}}},mounted:function(){this.profile=window._sharedData.user}}},79318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var i=s(95353),a=s(90414);function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,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 r(t,e,s){var i;return i=function(t,e){if("object"!=n(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==n(i)?i:i+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,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:{UpdateAvatar:a.default},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},gotoMyProfile:function(){var t=this.user;this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:t}})},formatCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return new Intl.NumberFormat(e,{notation:s,compactDisplay:"short"}).format(t)},updateAvatar:function(){event.currentTarget.blur(),this.$refs.avatarUpdate.open()},createNewPost:function(){this.$refs.createPostModal.show()},goToFeed:function(t){var e=this.$route.path;switch(t){case"home":"/i/web"==e?this.$emit("refresh"):this.$router.push("/i/web");break;case"local":"/i/web/timeline/local"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"local"}});break;case"global":"/i/web/timeline/global"==e?this.$emit("refresh"):this.$router.push({name:"timeline",params:{scope:"global"}})}}}}},68910:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(64945),a=(s(34076),s(34330)),n=s.n(a),o=(s(10706),s(71241));const r={props:["status","fixedHeight"],data:function(){return{shouldPlay:!1,hasHls:void 0,hlsConfig:window.App.config.features.hls,liveSyncDurationCount:7,isHlsSupported:!1,isP2PSupported:!1,engine:void 0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{handleShouldPlay:function(){var t=this;this.shouldPlay=!0,this.isHlsSupported=this.hlsConfig.enabled&&i.default.isSupported(),this.isP2PSupported=this.hlsConfig.enabled&&this.hlsConfig.p2p&&o.Engine.isSupported(),this.$nextTick((function(){t.init()}))},init:function(){var t,e=this;!this.status.sensitive&&null!==(t=this.status.media_attachments[0])&&void 0!==t&&t.hls_manifest&&this.isHlsSupported?(this.hasHls=!0,this.$nextTick((function(){e.initHls()}))):this.hasHls=!1},initHls:function(){var t;if(this.isP2PSupported){var e={loader:{trackerAnnounce:[this.hlsConfig.tracker],rtcConfig:{iceServers:[{urls:[this.hlsConfig.ice]}]}}},s=new o.Engine(e);this.hlsConfig.p2p_debug&&(s.on("peer_connect",(function(t){return console.log("peer_connect",t.id,t.remoteAddress)})),s.on("peer_close",(function(t){return console.log("peer_close",t)})),s.on("segment_loaded",(function(t,e){return console.log("segment_loaded from",e?"peer ".concat(e):"HTTP",t.url)}))),t=s.createLoaderClass()}else t=i.default.DefaultConfig.loader;var a=this.$refs.video,r=this.status.media_attachments[0].hls_manifest,l=(new(n())(a,{captions:{active:!0,update:!0}}),new i.default({liveSyncDurationCount:this.liveSyncDurationCount,loader:t})),c=this;(0,o.initHlsJsPlayer)(l),l.loadSource(r),l.attachMedia(a),l.on(i.default.Events.MANIFEST_PARSED,(function(t,e){this.hlsConfig.debug&&(console.log(t),console.log(e));var s={},o=l.levels.map((function(t){return t.height}));this.hlsConfig.debug&&console.log(o),o.unshift(0),s.quality={default:0,options:o,forced:!0,onChange:function(t){return c.updateQuality(t)}},s.i18n={qualityLabel:{0:"Auto"}},l.on(i.default.Events.LEVEL_SWITCHED,(function(t,e){var s=document.querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");l.autoLevelEnabled?s.innerHTML="Auto (".concat(l.levels[e.level].height,"p)"):s.innerHTML="Auto"}));new(n())(a,s)}))},updateQuality:function(t){var e=this;0===t?window.hls.currentLevel=-1:window.hls.levels.forEach((function(s,i){s.height===t&&(e.hlsConfig.debug&&console.log("Found quality match with "+t),window.hls.currentLevel=i)}))},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},91360:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(71687),a=s(25100);function n(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);sWe use automated systems to help detect potential abuse and spam. Your recent post was flagged for review.

Don\'t worry! Your post will be reviewed by a human, and they will restore your post if they determine it appropriate.

Once a human approves your post, any posts you create after will not be marked as unlisted. If you delete this post and share more posts before a human can approve any of them, you will need to wait for at least one unlisted post to be reviewed by a human.';var s=document.createElement("div");s.appendChild(e),swal({title:"Why was my post unlisted?",content:s,icon:"warning"})}}}},48918:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-timeline-component web-wrapper"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3 d-md-block"},[e("sidebar",{attrs:{user:t.user}})],1),t._v(" "),e("div",{staticClass:"col-md-8 col-lg-6"},[t.isReply?e("div",{staticClass:"p-3 rounded-top mb-n3",staticStyle:{"background-color":"var(--card-header-accent)"}},[e("p",[e("i",{staticClass:"fal fa-reply mr-1"}),t._v(" In reply to\n\n\t\t\t\t\t\t"),e("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(" "),e("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(" "),e("status",{key:t.post.id+":fui:"+t.forceUpdateIdx,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()},follow:function(e){return t.follow()},unfollow:function(e){return t.unfollow()},"counter-change":t.counterChange}})],1),t._v(" "),e("div",{staticClass:"d-none d-lg-block col-lg-3"},[e("rightbar")],1)])]):t._e(),t._v(" "),t.postStateError?e("div",{staticClass:"container-fluid mt-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-4 col-lg-3 d-md-block"},[e("sidebar",{attrs:{user:t.user}})],1),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"d-none d-lg-block col-lg-3"},[e("rightbar")],1)])]):t._e(),t._v(" "),t.isLoaded?e("context-menu",{ref:"contextMenu",attrs:{status:t.post,profile:t.user},on:{"report-modal":function(e){return t.handleReport()},delete:function(e){return t.deletePost()},edit:t.handleEdit}}):t._e(),t._v(" "),t.showLikesModal?e("likes-modal",{ref:"likesModal",attrs:{status:t.post,profile:t.user}}):t._e(),t._v(" "),t.showSharesModal?e("shares-modal",{ref:"sharesModal",attrs:{status:t.post,profile:t.profile}}):t._e(),t._v(" "),t.post?e("report-modal",{ref:"reportModal",attrs:{status:t.post}}):t._e(),t._v(" "),e("post-edit-modal",{ref:"editModal",on:{update:t.mergeUpdatedPost}}),t._v(" "),e("drawer")],1)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-md-8 col-lg-6"},[e("div",{staticClass:"card card-body shadow-none border"},[e("div",{staticClass:"d-flex align-self-center flex-column",staticStyle:{"max-width":"500px"}},[e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-exclamation-triangle fa-3x text-lighter"})]),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold"},[t._v("Error displaying post")]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v("This can happen for a few reasons:")]),t._v(" "),e("ul",{staticClass:"text-lighter"},[e("li",[t._v("The url is invalid or has a typo")]),t._v(" "),e("li",[t._v("The page has been flagged for review by our automated abuse detection systems")]),t._v(" "),e("li",[t._v("The content may have been deleted")]),t._v(" "),e("li",[t._v("You do not have permission to view this content")])])])])])}]},70201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.shadowStatus,"is-reblog":t.isReblog,"reblog-account":t.reblogAccount},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.shadowStatus}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.shadowStatus,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.shadowStatus,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=[]},69831:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},a=[]},82960:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?e("div",{staticClass:"card shadow-none rounded-lg border my-4"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?e("div",[t.status.content_text.length<=140?e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?e("div",[e("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[e("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?e("p",{staticClass:"mt-3 mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),e("p",{staticClass:"text-right mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?e("div",[e("div",{staticClass:"my-4 text-center"},[e("b-spinner"),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-4x text-success"},[e("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-3x text-danger"},[e("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},a=[]},67153:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"avatarUpdateModal",attrs:{centered:"","hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Upload Avatar"}},[e("input",{ref:"avatarUpdateRef",staticClass:"d-none",attrs:{type:"file",accept:"image/jpg,image/png"},on:{change:function(e){return t.handleAvatarUpdate()}}}),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center"},[0===t.avatarUpdateIndex?e("div",{staticClass:"py-5 user-select-none cursor-pointer",on:{drop:t.handleDrop,dragover:t.handleDrop,click:function(e){return t.avatarUpdateStep(0)}}},[e("p",{staticClass:"text-center primary"},[e("i",{staticClass:"fal fa-cloud-upload fa-3x"})]),t._v(" "),e("p",{staticClass:"text-center lead"},[t._v("Drag photo here or click here")]),t._v(" "),e("p",{staticClass:"text-center small text-muted mb-0"},[t._v("Must be a "),e("strong",[t._v("png")]),t._v(" or "),e("strong",[t._v("jpg")]),t._v(" image up to 2MB")])]):1===t.avatarUpdateIndex?e("div",{staticClass:"w-100 p-5"},[e("div",{staticClass:"d-md-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"small font-weight-bold",staticStyle:{opacity:"0.7"}},[t._v("Current")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"150px",height:"150px","object-fit":"cover","border-radius":"18px",opacity:"0.7"},attrs:{src:t.user.avatar}})]),t._v(" "),e("div",{staticClass:"text-center mb-4"},[e("p",{staticClass:"font-weight-bold"},[t._v("New")]),t._v(" "),e("img",{staticClass:"shadow",staticStyle:{width:"220px",height:"220px","object-fit":"cover","border-radius":"18px"},attrs:{src:t.avatarUpdatePreview}})])]),t._v(" "),e("hr"),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-light font-weight-bold btn-block mr-3",on:{click:function(e){return t.avatarUpdateClear()}}},[t._v("Clear")]),t._v(" "),e("button",{staticClass:"btn btn-primary primary font-weight-bold btn-block mt-0",on:{click:function(e){return t.confirmUpload()}}},[t._v("Upload")])])]):t._e()])])},a=[]},11526:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return t.small?e("div",{staticClass:"ph-item border-0 mb-0 p-0",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t._m(0)]):e("div",{staticClass:"ph-item border-0 shadow-sm p-1",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[t._m(1)])},a=[function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-2 d-flex",staticStyle:{"min-width":"32px",width:"32px!important",height:"32px!important","border-radius":"40px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])},function(){var t=this._self._c;return t("div",{staticClass:"ph-col-12"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"15px"}}),this._v(" "),t("div",{staticClass:"ph-col-6 big"})])])}]},55318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,i){return e("div",{key:"cd:"+s.id+":"+i,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===i?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(i,a){return e("div",{on:{click:function(e){return t.lightbox(s,a)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[a].blurhash,src:t.getMediaSource(s,a)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+i),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===i?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===i?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===i?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(i)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(i)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[i].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[i].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[i].replies},on:{"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==i&&t.feed[i].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==i?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(i,e)},"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},a=[]},54309:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,i){return e("div",{key:"cd:"+s.id+":"+i},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+i),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(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._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},82285:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},a=[]},4215:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item d-flex p-0 m-0"},[e("div",{staticClass:"border-right p-2 w-50"},[t.status?e("a",{staticClass:"menu-option",attrs:{href:t.status.url},on:{click:function(e){return e.preventDefault(),t.ctxMenuGoToPost()}}},[e("div",{staticClass:"action-icon-link"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"fal fa-images fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v(t._s(t.$t("menu.viewPost")))])])]):t._e()]),t._v(" "),e("div",{staticClass:"p-2 flex-grow-1"},[t.status?e("a",{staticClass:"menu-option",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.ctxMenuGoToProfile()}}},[e("div",{staticClass:"action-icon-link"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"fal fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v(t._s(t.$t("menu.viewProfile")))])])]):t._e()])]):t._e(),t._v(" "),t.ctxMenuRelationship?[t.ctxMenuRelationship.following?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleUnfollow.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("profile.unfollow"))+"\n ")]):e("div",{staticClass:"d-flex"},[e("div",{staticClass:"p-3 border-right w-50 text-center"},[e("a",{staticClass:"small menu-option text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleMute.apply(null,arguments)}}},[e("div",{staticClass:"action-icon-link-inline"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"far",class:[t.ctxMenuRelationship.muting?"fa-eye":"fa-eye-slash"]})]),t._v(" "),e("p",{staticClass:"text-muted mb-0"},[t._v(t._s(t.ctxMenuRelationship.muting?"Unmute":"Mute"))])])])]),t._v(" "),e("div",{staticClass:"p-3 w-50"},[e("a",{staticClass:"small menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleBlock.apply(null,arguments)}}},[e("div",{staticClass:"action-icon-link-inline"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"far fa-shield-alt"})]),t._v(" "),e("p",{staticClass:"text-danger mb-0"},[t._v("Block")])])])])])]:t._e(),t._v(" "),"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuShare()}}},[t._v("\n "+t._s(t.$t("common.share"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxModMenuShow()}}},[t._v("\n "+t._s(t.$t("menu.moderationTools"))+"\n ")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuReportPost()}}},[t._v("\n "+t._s(t.$t("menu.report"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.archivePost(t.status)}}},[t._v("\n "+t._s(t.$t("menu.archive"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.unarchivePost(t.status)}}},[t._v("\n "+t._s(t.$t("menu.unarchive"))+"\n ")]):t._e(),t._v(" "),t.config.ab.pue&&t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.editPost(t.status)}}},[t._v("\n Edit\n ")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deletePost(t.status)}}},[t.isDeleting?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("div",[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e(),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeCtxMenu()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])],2)]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center menu-option text-danger"},[t._v("\n "+t._s(t.$t("menu.moderationTools"))+"\n ")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("\n "+t._s(t.$t("menu.selectOneOption"))+"\n ")]),t._v(" "),e("p"),t._v(" "),e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"unlist")}}},[t._v("\n "+t._s(t.$t("menu.unlistFromTimelines"))+"\n ")]),t._v(" "),t.status.sensitive?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"remcw")}}},[t._v("\n "+t._s(t.$t("menu.removeCW"))+"\n ")]):e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"addcw")}}},[t._v("\n "+t._s(t.$t("menu.addCW"))+"\n ")]),t._v(" "),e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"spammer")}}},[t._v("\n "+t._s(t.$t("menu.markAsSpammer"))),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxModMenuClose()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuCopyLink()}}},[t._v("\n "+t._s(t.$t("common.copyLink"))+"\n ")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("a",{staticClass:"list-group-item menu-option",on:{click:function(e){return e.preventDefault(),t.ctxMenuEmbed()}}},[t._v("\n "+t._s(t.$t("menu.embed"))+"\n ")]):t._e(),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeCtxShareMenu()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,i=e.target,a=!!i.checked;if(Array.isArray(s)){var n=t._i(s,null);i.checked?n<0&&(t.ctxEmbedShowCaption=s.concat([null])):n>-1&&(t.ctxEmbedShowCaption=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowCaption=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.showCaption"))+"\n ")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,i=e.target,a=!!i.checked;if(Array.isArray(s)){var n=t._i(s,null);i.checked?n<0&&(t.ctxEmbedShowLikes=s.concat([null])):n>-1&&(t.ctxEmbedShowLikes=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedShowLikes=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.showLikes"))+"\n ")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,i=e.target,a=!!i.checked;if(Array.isArray(s)){var n=t._i(s,null);i.checked?n<0&&(t.ctxEmbedCompactMode=s.concat([null])):n>-1&&(t.ctxEmbedCompactMode=s.slice(0,n).concat(s.slice(n+1)))}else t.ctxEmbedCompactMode=a}}}),t._v(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.compactMode"))+"\n ")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},a=[]},27934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var i=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,i){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(i==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=i}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},a=[]},7971:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){this._self._c;return this._m(0)},a=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}]},92162:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,i){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===i?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[null==s.follows||s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},a=[]},55766:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"feed-media-container bg-black"},[e("div",{staticClass:"text-muted",staticStyle:{"max-height":"400px"}},[e("div",["photo"===t.post.pf_type?e("div",[1==t.post.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.post.spoiler_text?t.post.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.post.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper"},[e("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?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.post.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):t._e()])])])},a=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},64394:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight}}):"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div",[t.status.sensitive?e("div",{staticClass:"border m-3 p-5 rounded-lg"},[t._m(1),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold mb-0"},[t._v("Sensitive Content")]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.status.spoiler_text&&t.status.spoiler_text.length?t.status.spoiler_text:"This post may contain sensitive content"))]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See post")])])]):t._e()]):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],1):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},a=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},12191:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("b-modal",{attrs:{centered:"","body-class":"p-0","footer-class":"d-flex justify-content-between align-items-center"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var i=s.close;return[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Edit Post")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]}},{key:"modal-footer",fn:function(s){s.ok;var i=s.cancel;s.hide;return[e("b-button",{staticClass:"rounded-pill px-3 font-weight-bold",attrs:{variant:"outline-muted"},on:{click:function(t){return i()}}},[t._v("\n\t\t\tCancel\n\t\t")]),t._v(" "),e("b-button",{staticClass:"rounded-pill font-weight-bold",staticStyle:{"min-width":"195px"},attrs:{variant:"primary",disabled:!t.canSave},on:{click:t.handleSave}},[t.isSubmitting?[e("b-spinner",{attrs:{small:""}})]:[t._v("\n\t\t\t\tSave Updates\n\t\t\t")]],2)]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("b-card",{staticClass:"shadow-none p-0",attrs:{"no-body":"",flush:""}},[e("b-card-body",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"300px"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center flex-column",staticStyle:{gap:"0.4rem"}},[e("b-spinner",{attrs:{variant:"primary"}}),t._v(" "),e("p",{staticClass:"small mb-0 font-weight-lighter"},[t._v("Loading Post...")])],1)])],1):!t.isLoading&&t.isOpen&&t.status&&t.status.id?e("b-card",{staticClass:"shadow-none p-0",attrs:{"no-body":"",flush:""}},[e("b-card-header",{attrs:{"header-tag":"nav"}},[e("b-nav",{attrs:{tabs:"",fill:"","card-header":""}},[e("b-nav-item",{attrs:{active:0===t.tabIndex},on:{click:function(e){return t.toggleTab(0)}}},[t._v("Caption")]),t._v(" "),e("b-nav-item",{attrs:{active:1===t.tabIndex},on:{click:function(e){return t.toggleTab(1)}}},[t._v("Media")]),t._v(" "),e("b-nav-item",{attrs:{active:4===t.tabIndex},on:{click:function(e){return t.toggleTab(3)}}},[t._v("Other")])],1)],1),t._v(" "),e("b-card-body",{staticStyle:{"min-height":"300px"}},[0===t.tabIndex?[e("p",{staticClass:"font-weight-bold small"},[t._v("Caption")]),t._v(" "),e("div",{staticClass:"media mb-0"},[e("div",{staticClass:"media-body"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"font-weight-bold text-muted small d-none"},[t._v("Caption")]),t._v(" "),e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.fields.caption,expression:"fields.caption"}],staticClass:"form-control border-0 rounded-0 no-focus",attrs:{rows:"4",placeholder:"Write a caption...",maxlength:t.config.uploader.max_caption_length},domProps:{value:t.fields.caption},on:{keyup:function(e){t.composeTextLength=t.fields.caption.length},input:function(e){e.target.composing||t.$set(t.fields,"caption",e.target.value)}}})]),t._v(" "),e("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.composeTextLength)+"/"+t._s(t.config.uploader.max_caption_length))])],1)])]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"font-weight-bold small"},[t._v("Sensitive/NSFW")]),t._v(" "),e("div",{staticClass:"border py-2 px-3 bg-light rounded"},[e("b-form-checkbox",{staticStyle:{"font-weight":"300"},attrs:{name:"check-button",switch:""},model:{value:t.fields.sensitive,callback:function(e){t.$set(t.fields,"sensitive",e)},expression:"fields.sensitive"}},[e("span",{staticClass:"ml-1 small"},[t._v("Contains spoilers, sensitive or nsfw content")])])],1),t._v(" "),e("transition",{attrs:{name:"slide-fade"}},[t.fields.sensitive?e("div",{staticClass:"form-group mt-3"},[e("label",{staticClass:"font-weight-bold small"},[t._v("Content Warning")]),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.fields.spoiler_text,expression:"fields.spoiler_text"}],staticClass:"form-control",attrs:{rows:"2",placeholder:"Add an optional spoiler/content warning...",maxlength:140},domProps:{value:t.fields.spoiler_text},on:{input:function(e){e.target.composing||t.$set(t.fields,"spoiler_text",e.target.value)}}}),t._v(" "),e("p",{staticClass:"help-text small text-right text-muted mb-0"},[t._v(t._s(t.fields.spoiler_text?t.fields.spoiler_text.length:0)+"/140")])]):t._e()])]:1===t.tabIndex?[e("div",{staticClass:"list-group"},t._l(t.fields.media,(function(s,i){return e("div",{key:"edm:"+s.id+":"+i,staticClass:"list-group-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},["image"===s.type?[e("img",{staticClass:"bg-light rounded cursor-pointer",staticStyle:{"object-fit":"cover"},attrs:{src:s.url,width:"40",height:"40"},on:{click:t.toggleLightbox}})]:t._e(),t._v(" "),e("p",{staticClass:"d-none d-lg-block mb-0"},[e("span",{staticClass:"small font-weight-light"},[t._v(t._s(s.mime))])]),t._v(" "),e("button",{staticClass:"btn btn-sm font-weight-bold rounded-pill px-4",class:[s.description&&s.description.length?"btn-success":"btn-outline-muted"],staticStyle:{"font-size":"13px"},on:{click:function(e){return e.preventDefault(),t.handleAddAltText(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.description&&s.description.length?"Edit Alt Text":"Add Alt Text")+"\n\t\t\t\t\t\t\t")]),t._v(" "),t.fields.media&&t.fields.media.length>1?e("div",{staticClass:"btn-group"},[e("a",{staticClass:"btn btn-outline-secondary btn-sm",class:{disabled:0===i},attrs:{href:"#",disabled:0===i},on:{click:function(e){return e.preventDefault(),t.toggleMediaOrder("prev",i)}}},[e("i",{staticClass:"fas fa-arrow-alt-up"})]),t._v(" "),e("a",{staticClass:"btn btn-outline-secondary btn-sm",class:{disabled:i===t.fields.media.length-1},attrs:{href:"#",disabled:i===t.fields.media.length-1},on:{click:function(e){return e.preventDefault(),t.toggleMediaOrder("next",i)}}},[e("i",{staticClass:"fas fa-arrow-alt-down"})])]):t._e(),t._v(" "),t.fields.media&&t.fields.media.length&&t.fields.media.length>1?e("button",{staticClass:"btn btn-outline-danger btn-sm",on:{click:function(e){return e.preventDefault(),t.removeMedia(i)}}},[e("i",{staticClass:"far fa-trash-alt"})]):t._e()],2),t._v(" "),e("transition",{attrs:{name:"slide-fade"}},[t.altTextEditIndex===i?[e("div",{staticClass:"form-group mt-1"},[e("label",{staticClass:"font-weight-bold small"},[t._v("Alt Text")]),t._v(" "),e("b-form-textarea",{attrs:{placeholder:"Describe your image for the visually impaired...",rows:"3","max-rows":"6"},on:{input:function(e){return t.handleAltTextUpdate(i)}},model:{value:s.description,callback:function(e){t.$set(s,"description",e)},expression:"media.description"}}),t._v(" "),e("div",{staticClass:"d-flex justify-content-between"},[e("a",{staticClass:"font-weight-bold small text-muted",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.altTextEditIndex=void 0}}},[t._v("Close")]),t._v(" "),e("p",{staticClass:"help-text small mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.fields.media[i].description?t.fields.media[i].description.length:0)+"/"+t._s(t.config.uploader.max_altext_length)+"\n\t\t\t\t\t\t\t\t\t\t")])])],1)]:t._e()],2)],1)})),0)]:3===t.tabIndex?[e("p",{staticClass:"font-weight-bold small"},[t._v("Location")]),t._v(" "),e("autocomplete",{attrs:{search:t.locationSearch,placeholder:"Search locations ...","aria-label":"Search locations ...","get-result-value":t.getResultValue},on:{submit:t.onSubmitLocation}}),t._v(" "),t.fields.location&&t.fields.location.hasOwnProperty("id")?e("div",{staticClass:"mt-3 border rounded p-3 d-flex justify-content-between"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.fields.location.name)+", "+t._s(t.fields.location.country)+"\n\t\t\t\t\t")]),t._v(" "),e("button",{staticClass:"btn btn-link text-danger m-0 p-0",on:{click:function(e){return e.preventDefault(),t.clearLocation.apply(null,arguments)}}},[e("i",{staticClass:"far fa-trash"})])]):t._e()]:t._e()],2)],1):t._e()],1)},a=[]},44516:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[t.isReblog?e("div",{staticClass:"card-header bg-light border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center",staticStyle:{height:"10px"}},[e("a",{staticClass:"mx-2",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[e("img",{staticStyle:{"border-radius":"10px"},attrs:{src:t.reblogAccount.avatar,width:"24",height:"24",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticStyle:{"font-size":"12px","font-weight":"bold"}},[e("i",{staticClass:"far fa-retweet text-warning mr-1"}),t._v(" Reblogged by "),e("a",{staticClass:"text-dark",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[t._v("@"+t._s(t.reblogAccount.acct))])])])]):t._e(),t._v(" "),e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n "+t._s(t.status.account.acct)+"\n ")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n "+t._s(t.timeago(t.status.created_at))+"\n ")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)])},a=[]},51992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},a=[]},16331:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},a=[]},66295:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"sharesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,i){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===i?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},a=[]},53577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}})]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},a=[]},55201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this._self._c;return t("div",[t("notifications",{attrs:{profile:this.profile}})],1)},a=[]},75274:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sidebar-component sticky-top d-none d-md-block"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{"border-radius":"15px"}},[e("div",{staticClass:"card-body p-2"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("img",{staticClass:"avatar shadow cursor-pointer",attrs:{src:t.user.avatar,draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"},on:{click:function(e){return t.gotoMyProfile()}}}),t._v(" "),e("button",{staticClass:"btn btn-light btn-sm avatar-update-btn",on:{click:function(e){return t.updateAvatar()}}},[e("span",{staticClass:"avatar-update-btn-icon"})])]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username primary"},[t._v("@"+t._s(t.user.username))]),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.user.following_count)))]),t._v(" Following\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.user.followers_count)))]),t._v(" Followers\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"btn-group btn-group-lg btn-block mb-4"},[e("router-link",{staticClass:"btn btn-primary btn-block font-weight-bold",attrs:{to:"/i/web/compose"}},[e("i",{staticClass:"fal fa-arrow-circle-up mr-1"}),t._v(" "+t._s(t.$t("navmenu.compose"))+" Post\n\t\t\t")]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/collections/create"}},[t._v("Create Collection")]),t._v(" "),t.hasStories?e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/i/stories/new"}},[t._v("Create Story")]):t._e(),t._v(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:"/settings/home"}},[t._v("Account Settings")])])],1),t._v(" "),e("div",{staticClass:"sidebar-sticky shadow-sm"},[e("ul",{staticClass:"nav flex-column"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("a",{staticClass:"nav-link text-center",class:["/i/web"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web"},on:{click:function(e){return e.preventDefault(),t.goToFeed("home")}}},[t._m(1),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.homeFeed")))])]),t._v(" "),t.hasLocalTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/local"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/local"},on:{click:function(e){return e.preventDefault(),t.goToFeed("local")}}},[t._m(2),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.localFeed")))])]):t._e(),t._v(" "),t.hasNetworkTimeline?e("a",{staticClass:"nav-link text-center",class:["/i/web/timeline/global"==t.$route.path?"router-link-exact-active active":""],attrs:{href:"/i/web/timeline/global"},on:{click:function(e){return e.preventDefault(),t.goToFeed("global")}}},[t._m(3),t._v(" "),e("div",{staticClass:"small"},[t._v(t._s(t.$t("navmenu.globalFeed")))])]):t._e()]),t._v(" "),e("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/discover"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-compass"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.discover"))+"\n\t\t\t\t\t")])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-envelope"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link",attrs:{to:"/groups/feed"}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-layer-group"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.groups"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.hasLiveStreams?e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/livestreams"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-record-vinyl"})]),t._v("\n\t\t\t\t\t\t\tLivestreams\n\t\t\t\t\t\t")])])],1):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/notifications"}},[e("span",[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-bell"})]),t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t")])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/profile/"+t.user.id}},[e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-user"})]),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.profile"))+"\n\t\t\t\t\t")])],1),t._v(" "),t.user.is_admin?e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[t._m(4),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.admin"))+"\n\t\t\t\t\t")])]):t._e(),t._v(" "),e("li",{staticClass:"nav-item"},[e("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),t._v(" "),e("a",{staticClass:"nav-link",attrs:{href:"/?force_old_ui=1"}},[t._m(5),t._v("\n\t\t\t\t\t\t"+t._s(t.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t")])])])]),t._v(" "),e("div",{staticClass:"sidebar-attribution pr-3 d-flex justify-content-between align-items-center"},[e("router-link",{attrs:{to:"/i/web/language"}},[e("i",{staticClass:"fal fa-language fa-2x",attrs:{alt:"Select a language"}})]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/privacy"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))]),t._v(" "),e("a",{staticClass:"font-weight-bold powered-by",attrs:{href:"https://pixelfed.org"}},[t._v("Powered by Pixelfed")])],1),t._v(" "),e("update-avatar",{ref:"avatarUpdate",attrs:{user:t.user}})],1)},a=[function(){var t=this._self._c;return t("button",{staticClass:"btn btn-outline-primary dropdown-toggle dropdown-toggle-split",attrs:{type:"button","data-toggle":"dropdown","aria-expanded":"false"}},[t("span",{staticClass:"sr-only"},[this._v("Toggle Dropdown")])])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-tools"})])},function(){var t=this._self._c;return t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-chevron-left"})])}]},21146:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n Sensitive Content\n ")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n "+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n ")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):[t.shouldPlay?[t.hasHls?e("video",{ref:"video",class:{fixedHeight:t.fixedHeight},staticStyle:{margin:"0"},attrs:{playsinline:"","webkit-playsinline":"",controls:"",autoplay:"false",poster:t.getPoster(t.status)}}):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{autoplay:"false",playsinline:"","webkit-playsinline":"",controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:e("div",{staticClass:"content-label-wrapper",style:{background:"linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.8)),url(".concat(t.getPoster(t.status),")"),backgroundSize:"cover"}},[e("div",{staticClass:"text-light content-label"},[e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-link btn-block btn-sm font-weight-bold",on:{click:function(e){return e.preventDefault(),t.handleShouldPlay.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-play fa-5x text-white"})])])])])]],2)},a=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},18865:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>a});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"notifications-component"},[e("div",{staticClass:"card shadow-sm mb-3",staticStyle:{overflow:"hidden","border-radius":"15px !important"}},[e("div",{staticClass:"card-body pb-0"},[e("div",{staticClass:"d-flex justify-content-between align-items-center mb-3"},[e("span",{staticClass:"text-muted font-weight-bold"},[t._v("Notifications")]),t._v(" "),t.feed&&t.feed.length?e("div",[e("router-link",{staticClass:"btn btn-outline-light btn-sm mr-2",staticStyle:{color:"#B8C2CC !important"},attrs:{to:"/i/web/notifications"}},[e("i",{staticClass:"far fa-filter"})]),t._v(" "),t.hasLoaded&&t.feed.length?e("button",{staticClass:"btn btn-light btn-sm",class:{"text-lighter":t.isRefreshing},attrs:{disabled:t.isRefreshing},on:{click:t.refreshNotifications}},[e("i",{staticClass:"fal fa-redo"})]):t._e()],1):t._e()]),t._v(" "),t.hasLoaded?e("div",{staticClass:"notifications-component-feed"},[t.isEmpty?[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("i",{staticClass:"fal fa-bell fa-2x text-lighter"}),t._v(" "),e("p",{staticClass:"mt-2 small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])])]:[t._l(t.feed,(function(s,i){return e("div",{staticClass:"mb-2"},[e("div",{staticClass:"media align-items-center"},["autospam.warning"===s.type?e("img",{staticClass:"mr-2 rounded-circle shadow-sm p-1",staticStyle:{border:"2px solid var(--danger)"},attrs:{src:"/img/pixelfed-icon-color.svg",width:"32",height:"32"}}):e("img",{staticClass:"mr-2 rounded-circle shadow-sm",attrs:{src:s.account.avatar,width:"32",height:"32",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),e("div",{staticClass:"media-body font-weight-light small"},["favourite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" liked your\n\t\t\t\t\t\t\t\t\t\t"),s.status&&s.status.hasOwnProperty("media_attachments")?e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status),id:"fvn-"+s.id},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t\t"),e("b-popover",{attrs:{target:"fvn-"+s.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[e("img",{staticStyle:{"object-fit":"cover"},attrs:{src:t.notificationPreview(s),width:"100px",height:"100px"}})])],1):e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t\t")])])]):"autospam.warning"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour recent "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(" has been unlisted.\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mt-n1 mb-0"},[e("span",{staticClass:"small text-muted"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showAutospamInfo(s.status)}}},[t._v("Click here")]),t._v(" for more info.")])])]):"comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"group:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.group_post_url}},[t._v("group post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:react"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" reacted to your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/i/web/direct/thread/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"story:comment"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" commented on your "),e("a",{staticClass:"font-weight-bold",attrs:{href:"/i/web/direct/thread/"+s.account.id}},[t._v("story")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"mention"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.mentionUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("mentioned")]),t._v(" you.\n\t\t\t\t\t\t\t\t\t")])]):"follow"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" followed you.\n\t\t\t\t\t\t\t\t\t")])]):"share"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" shared your "),e("a",{staticClass:"font-weight-bold",attrs:{href:t.getPostUrl(s.status)},on:{click:function(e){return e.preventDefault(),t.goToPost(s.status)}}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"modlog"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(t.truncate(s.account.username)))]),t._v(" updated a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.modlog.url}},[t._v("modlog")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"tagged"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" tagged you in a "),e("a",{staticClass:"font-weight-bold",attrs:{href:s.tagged.post_url}},[t._v("post")]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):"direct"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" sent a "),e("router-link",{staticClass:"font-weight-bold",attrs:{to:"/i/web/direct/thread/"+s.account.id}},[t._v("dm")]),t._v(".\n\t\t\t\t\t\t\t\t\t")],1)]):"group.join.approved"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join the "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" group was approved!\n\t\t\t\t\t\t\t\t\t")])]):"group.join.rejected"==s.type?e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tYour application to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url,title:s.group.name}},[t._v(t._s(t.truncate(s.group.name)))]),t._v(" was rejected.\n\t\t\t\t\t\t\t\t\t")])]):"group:invite"==s.type?e("div",[e("p",{staticClass:"my-0"},[e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:t.getProfileUrl(s.account),title:s.account.acct}},[t._v(t._s(0==s.account.local?"@":"")+t._s(t.truncate(s.account.username)))]),t._v(" invited you to join "),e("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:s.group.url+"/invite/claim",title:s.group.name}},[t._v(t._s(s.group.name))]),t._v(".\n\t\t\t\t\t\t\t\t\t")])]):e("div",[e("p",{staticClass:"my-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t\t\t")])])]),t._v(" "),e("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:s.created_at}},[t._v(t._s(t.timeAgo(s.created_at)))])])])})),t._v(" "),t.hasLoaded&&0==t.feed.length?e("div",[e("p",{staticClass:"small font-weight-bold text-center mb-0"},[t._v(t._s(t.$t("notifications.noneFound")))])]):e("div",[t.hasLoaded&&t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder",{staticStyle:{"margin-top":"-6px"},attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}}),t._v(" "),e("placeholder",{attrs:{small:""}})],1):e("div",{staticClass:"d-block",staticStyle:{height:"10px"}})],1)]],2):e("div",{staticClass:"notifications-component-feed"},[e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column bg-light rounded-lg p-3 mb-3",staticStyle:{"min-height":"100px"}},[e("b-spinner",{attrs:{variant:"grow"}})],1)])])])])},a=[]},35296:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),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 .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const n=a},35518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const n=a},34857:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),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;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const n=a},26689:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".menu-option[data-v-be1fd05a]{color:var(--dark);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;text-decoration:none}.list-group-item[data-v-be1fd05a]{border-color:var(--border-color)}.action-icon-link[data-v-be1fd05a]{display:flex;flex-direction:column}.action-icon-link .icon[data-v-be1fd05a]{margin-bottom:5px;opacity:.5}.action-icon-link p[data-v-be1fd05a]{font-size:11px;font-weight:600}.action-icon-link-inline[data-v-be1fd05a]{align-items:center;display:flex;flex-direction:row;gap:8px;justify-content:center}.action-icon-link-inline p[data-v-be1fd05a]{font-weight:700}",""]);const n=a},49777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const n=a},42141:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.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=a},11366:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,"div[data-v-1be4e9aa],p[data-v-1be4e9aa]{font-family:var(--font-family-sans-serif)}.nav-link[data-v-1be4e9aa]{color:var(--text-lighter);font-size:13px;font-weight:600}.nav-link.active[data-v-1be4e9aa]{color:var(--primary);font-weight:800}.slide-fade-enter-active[data-v-1be4e9aa]{transition:all .5s ease}.slide-fade-leave-active[data-v-1be4e9aa]{transition:all .2s cubic-bezier(.5,1,.6,1)}.slide-fade-enter[data-v-1be4e9aa],.slide-fade-leave-to[data-v-1be4e9aa]{opacity:0;transform:translateY(20px)}",""]);const n=a},93100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),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:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const n=a},15822:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".avatar[data-v-c5fe4fd2]{border-radius:15px}.username[data-v-c5fe4fd2]{font-size:15px;margin-bottom:-6px}.display-name[data-v-c5fe4fd2]{font-size:12px}.follow[data-v-c5fe4fd2]{background-color:var(--primary);border-radius:18px;font-weight:600;padding:5px 15px}.btn-white[data-v-c5fe4fd2]{background-color:#fff;border:1px solid #f3f4f6}",""]);const n=a},14185:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,'.sidebar-component .sidebar-sticky{background-color:var(--card-bg);border-radius:15px}.sidebar-component.sticky-top{top:90px}.sidebar-component .nav{overflow:auto}.sidebar-component .nav-item .nav-link{color:#9ca3af;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;margin-bottom:5px;padding-left:14px}.sidebar-component .nav-item .nav-link:hover{background-color:var(--light-hover-bg)}.sidebar-component .nav-item .nav-link .icon{display:inline-block;text-align:center;width:40px}.sidebar-component .nav-item .router-link-exact-active{color:var(--primary);font-weight:700;padding-left:14px}.sidebar-component .nav-item .router-link-exact-active:not(.text-center){border-left:4px solid var(--primary);padding-left:10px}.sidebar-component .nav-item .router-link-exact-active .icon{color:var(--primary)!important}.sidebar-component .nav-item:first-child .nav-link .small{font-weight:700}.sidebar-component .nav-item:first-child .nav-link:first-child{border-top-left-radius:15px}.sidebar-component .nav-item:first-child .nav-link:last-child{border-top-right-radius:15px}.sidebar-component .nav-item:is(:last-child) .nav-link{border-bottom-left-radius:15px;border-bottom-right-radius:15px;margin-bottom:0}.sidebar-component .sidebar-heading{font-size:.75rem;text-transform:uppercase}.sidebar-component .user-card{align-items:center}.sidebar-component .user-card .avatar{border:1px solid var(--border-color);border-radius:15px;height:75px;margin-right:.8rem;width:75px}.sidebar-component .user-card .avatar-update-btn{background:hsla(0,0%,100%,.9);border:1px solid #dee2e6!important;border-radius:50rem;bottom:0;height:20px;padding:0;position:absolute;right:12px;width:20px}.sidebar-component .user-card .avatar-update-btn-icon{-webkit-font-smoothing:antialiased;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.sidebar-component .user-card .username{font-size:13px;font-weight:600;margin-bottom:0}.sidebar-component .user-card .display-name{color:var(--body-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;font-weight:800!important;line-height:.8;margin-bottom:0;-webkit-user-select:all;-moz-user-select:all;user-select:all;word-break:break-all}.sidebar-component .user-card .stats{font-size:12px;margin-bottom:0;margin-top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-component .user-card .stats .stats-following{margin-right:.8rem}.sidebar-component .user-card .stats .followers-count,.sidebar-component .user-card .stats .following-count{font-weight:800}.sidebar-component .btn-primary{background-color:var(--primary)}.sidebar-component .btn-primary.router-link-exact-active{cursor:unset;opacity:.5;pointer-events:none}.sidebar-component .sidebar-sitelinks{display:flex;justify-content:space-between;margin-top:1rem;padding:0 2rem}.sidebar-component .sidebar-sitelinks a{color:#b8c2cc;font-size:12px}.sidebar-component .sidebar-sitelinks .active{color:#212529;font-weight:600}.sidebar-component .sidebar-attribution{color:#b8c2cc;font-size:10px;margin-top:.5rem;padding-left:2rem}.sidebar-component .sidebar-attribution a{color:#b8c2cc!important}.sidebar-component .sidebar-attribution a.powered-by{opacity:.5}',""]);const n=a},91748:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(76798),a=s.n(i)()((function(t){return t[1]}));a.push([t.id,".notifications-component-feed{-ms-overflow-style:none;max-height:300px;min-height:50px;overflow-y:auto;overflow-y:scroll;scrollbar-width:none}.notifications-component-feed::-webkit-scrollbar{display:none}.notifications-component .card{position:relative;width:100%}.notifications-component .card-body{width:100%}",""]);const n=a},209:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(35296),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},96259:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(35518),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},48432:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(34857),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},54328:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(26689),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},22626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(49777),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},15502:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(42141),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},37339:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(11366),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},67621:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(93100),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},82851:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(15822),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},89598:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(14185),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},53639:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),a=s.n(i),n=s(91748),o={insert:"head",singleton:!1};a()(n.default,o);const r=n.default.locals||{}},19833:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(93857),a=s(99866),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},35547:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(59028),a=s(52548),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(86546);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},5787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(16286),a=s(80260),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(68840);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},13090:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(54229),a=s(13514),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},90414:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(82704),a=s(55597),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},71687:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(24871),a=s(11308),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},20243:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(34727),a=s(88012),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(21883);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},72028:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(46098),a=s(93843),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},19138:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(44982),a=s(43509),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},57103:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(56765),a=s(64672),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(74811);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,"be1fd05a",null).exports},49986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(32785),a=s(79577),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(67011);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},29787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(68329);const a=(0,s(14486).default)({},i.render,i.staticRenderFns,!1,null,null,null).exports},59515:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(4607),a=s(38972),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},28768:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(56713),a=s(32887),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(30179);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},79110:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(74259),a=s(99369),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},67578:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(9918),a=s(97105),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(79040);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,"1be4e9aa",null).exports},84800:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(43047),a=s(6119),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},27821:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(99421),a=s(28934),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},50294:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(95728),a=s(33417),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},99681:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(9836),a=s(22350),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},34719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(38888),a=s(42260),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(88814);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},59993:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(60848),a=s(88626),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(74148);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,"c5fe4fd2",null).exports},28772:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(54017),a=s(75223),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(99387);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},75938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(86943),a=s(42909),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},76830:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(65358),a=s(93953),n={};for(const t in a)"default"!==t&&(n[t]=()=>a[t]);s.d(e,n);s(85082);const o=(0,s(14486).default)(a.default,i.render,i.staticRenderFns,!1,null,null,null).exports},99866:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(22151),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},52548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(56987),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},80260:(t,e,s)=>{"use strict";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},13514:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(25054),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},55597:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(84154),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},11308:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(51651),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},88012:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(3211),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},93843:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(24758),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},43509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(85100),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},64672:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(49415),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},79577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(37844),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},38972:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(67975),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},32887:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(65754),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},99369:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(61746),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},97105:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(26030),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},6119:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(22434),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},28934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(99397),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},33417:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(6140),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},22350:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(85679),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},42260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(3223),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},88626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(28413),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},75223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(79318),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},42909:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(68910),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},93953:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(91360),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=i.default},93857:(t,e,s)=>{"use strict";s.r(e);var i=s(48918),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},59028:(t,e,s)=>{"use strict";s.r(e);var i=s(70201),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},16286:(t,e,s)=>{"use strict";s.r(e);var i=s(69831),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},54229:(t,e,s)=>{"use strict";s.r(e);var i=s(82960),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},82704:(t,e,s)=>{"use strict";s.r(e);var i=s(67153),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},24871:(t,e,s)=>{"use strict";s.r(e);var i=s(11526),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},34727:(t,e,s)=>{"use strict";s.r(e);var i=s(55318),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},46098:(t,e,s)=>{"use strict";s.r(e);var i=s(54309),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},44982:(t,e,s)=>{"use strict";s.r(e);var i=s(82285),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},56765:(t,e,s)=>{"use strict";s.r(e);var i=s(4215),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},32785:(t,e,s)=>{"use strict";s.r(e);var i=s(27934),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},68329:(t,e,s)=>{"use strict";s.r(e);var i=s(7971),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},4607:(t,e,s)=>{"use strict";s.r(e);var i=s(92162),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},56713:(t,e,s)=>{"use strict";s.r(e);var i=s(55766),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},74259:(t,e,s)=>{"use strict";s.r(e);var i=s(64394),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},9918:(t,e,s)=>{"use strict";s.r(e);var i=s(12191),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},43047:(t,e,s)=>{"use strict";s.r(e);var i=s(44516),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},99421:(t,e,s)=>{"use strict";s.r(e);var i=s(51992),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},95728:(t,e,s)=>{"use strict";s.r(e);var i=s(16331),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},9836:(t,e,s)=>{"use strict";s.r(e);var i=s(66295),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},38888:(t,e,s)=>{"use strict";s.r(e);var i=s(53577),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},60848:(t,e,s)=>{"use strict";s.r(e);var i=s(55201),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},54017:(t,e,s)=>{"use strict";s.r(e);var i=s(75274),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},86943:(t,e,s)=>{"use strict";s.r(e);var i=s(21146),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},65358:(t,e,s)=>{"use strict";s.r(e);var i=s(18865),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},86546:(t,e,s)=>{"use strict";s.r(e);var i=s(209),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},68840:(t,e,s)=>{"use strict";s.r(e);var i=s(96259),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},21883:(t,e,s)=>{"use strict";s.r(e);var i=s(48432),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},74811:(t,e,s)=>{"use strict";s.r(e);var i=s(54328),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},67011:(t,e,s)=>{"use strict";s.r(e);var i=s(22626),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},30179:(t,e,s)=>{"use strict";s.r(e);var i=s(15502),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},79040:(t,e,s)=>{"use strict";s.r(e);var i=s(37339),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},88814:(t,e,s)=>{"use strict";s.r(e);var i=s(67621),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},74148:(t,e,s)=>{"use strict";s.r(e);var i=s(82851),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},99387:(t,e,s)=>{"use strict";s.r(e);var i=s(89598),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},85082:(t,e,s)=>{"use strict";s.r(e);var i=s(53639),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a)},11220:()=>{},16052:()=>{},40295:()=>{},89858:()=>{},45187:()=>{},87919:()=>{},40264:()=>{},80434:()=>{},18053:()=>{}}]); \ No newline at end of file diff --git a/public/js/post.chunk.803d8c9f68415936.js.LICENSE.txt b/public/js/post.chunk.857e52af9dd166ea.js.LICENSE.txt similarity index 100% rename from public/js/post.chunk.803d8c9f68415936.js.LICENSE.txt rename to public/js/post.chunk.857e52af9dd166ea.js.LICENSE.txt diff --git a/public/js/profile.chunk.33a4b9cb10dbbb6c.js b/public/js/profile.chunk.f18d6551c434b139.js similarity index 95% rename from public/js/profile.chunk.33a4b9cb10dbbb6c.js rename to public/js/profile.chunk.f18d6551c434b139.js index 2869c5cbf..6f37de655 100644 --- a/public/js/profile.chunk.33a4b9cb10dbbb6c.js +++ b/public/js/profile.chunk.f18d6551c434b139.js @@ -1 +1 @@ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[8087],{21801:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var i=s(5787),o=s(62457),a=s(99487),n=s(36470),r=s(99234);const l={props:{id:{type:String},profileId:{type:String},username:{type:String},cachedProfile:{type:Object},cachedUser:{type:Object}},components:{drawer:i.default,"profile-feed":o.default,"profile-sidebar":a.default,"profile-followers":n.default,"profile-following":r.default},data:function(){return{isLoaded:!1,curUser:void 0,tab:"index",profile:void 0,relationship:void 0,showMoved:!1}},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=e.data,t.profile.locked&&location.reload(),t.profile.followers_count--})).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=e.data,t.profile.locked&&(t.relationship.requested=!0),t.profile.followers_count++})).catch((function(e){swal("Oops!","An error occured when attempting to follow this account.","error"),t.relationship.following=!1}))},updateRelationship:function(t){this.relationship=t}}}},66655:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(95341);const o={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(){},beforeDestroy:function(){},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),o=(0,i.decode)(this.hash,t,e,s),a=this.$refs.canvas.getContext("2d"),n=a.createImageData(t,e);n.data.set(o),a.putImageData(n,0,0)}}}},56987:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(20243),o=s(84800),a=s(79110),n=s(27821);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.shadowStatus.media_attachments||!this.shadowStatus.media_attachments.length)&&this.shadowStatus.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.shadowStatus.account.id==window._sharedData.user.id,this.shadowStatus.reply_count&&this.autoloadComments&&!1===this.shadowStatus.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},isReblog:{get:function(){return null!=this.status.reblog}},reblogAccount:{get:function(){return this.status.reblog?this.status.account:null}},shadowStatus:{get:function(){return this.status.reblog?this.status.reblog:this.status}}},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")}}}},50371:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={data:function(){return{user:window._sharedData.user}}}},25054:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={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}))}}}},3211:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var i=s(79288),o=s(50294),a=s(34719),n=s(72028),r=s(19138);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,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,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",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},24758:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(50294);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("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,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}}}},85100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},49415:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:["status","profile"],data:function(){return{config:window.App.config,ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1,isDeleting:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){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/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;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(i){i?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 i=this,o=(t.account.username,t.id,""),a=this;switch(e){case"addcw":o=this.$t("menu.modAddCWConfirm"),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(i.$t("common.success"),i.$t("menu.modCWSuccess"),"success"),i.$emit("moderate","addcw"),a.closeModals(),a.ctxModMenuClose()})).catch((function(t){a.closeModals(),a.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"remcw":o=this.$t("menu.modRemoveCWConfirm"),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(i.$t("common.success"),i.$t("menu.modRemoveCWSuccess"),"success"),i.$emit("moderate","remcw"),a.closeModals(),a.ctxModMenuClose()})).catch((function(t){a.closeModals(),a.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"unlist":o=this.$t("menu.modUnlistConfirm"),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){i.$emit("moderate","unlist"),swal(i.$t("common.success"),i.$t("menu.modUnlistSuccess"),"success"),a.closeModals(),a.ctxModMenuClose()})).catch((function(t){a.closeModals(),a.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"spammer":o=this.$t("menu.modMarkAsSpammerConfirm"),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){i.$emit("moderate","spammer"),swal(i.$t("common.success"),i.$t("menu.modMarkAsSpammerSuccess"),"success"),a.closeModals(),a.ctxModMenuClose()})).catch((function(t){a.closeModals(),a.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}))}},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;this.isDeleting=!0,0!=this.ownerOrAdmin(t)&&swal({title:"Confirm Delete",text:"Are you sure you want to delete this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s?axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals(),e.isDeleting=!1})).catch((function(t){e.closeModals(),e.isDeleting=!1,swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")})):(e.closeModals(),e.isDeleting=!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()},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("delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))},editPost:function(t){this.closeModals(),this.$emit("edit",t)},handleMute:function(){var t=this;if(this.ctxMenuRelationship){var e=this.ctxMenuRelationship.muting;swal({title:e?"Confirm Unmute":"Confirm Mute",text:e?"Are you sure you want to unmute this account?":"Are you sure you want to mute this account?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){if(s){var i="/api/v1/accounts/".concat(t.status.account.id,e?"/unmute":"/mute");axios.post(i).then((function(e){t.closeModals(),t.$emit("muted",t.status),t.$store.commit("updateRelationship",[e.data])})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")}))}else t.closeModals()}))}},handleBlock:function(){var t=this;if(this.ctxMenuRelationship){var e=this.ctxMenuRelationship.blocking;swal({title:e?"Confirm Unblock":"Confirm Block",text:e?"Are you sure you want to unblock this account?":"Are you sure you want to block this account?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){if(s){var i="/api/v1/accounts/".concat(t.status.account.id,e?"/unblock":"/block");axios.post(i).then((function(e){t.closeModals(),t.$store.commit("updateRelationship",[e.data]),t.$emit("muted",t.status)})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")}))}else t.closeModals()}))}},handleUnfollow:function(){var t=this;this.ctxMenuRelationship&&swal({title:"Unfollow",text:"Are you sure you want to unfollow "+this.status.account.username+"?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(e){e?axios.post("/api/v1/accounts/".concat(t.status.account.id,"/unfollow")).then((function(e){t.closeModals(),t.$store.commit("updateRelationship",[e.data]),t.$emit("unfollow",t.status)})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")})):t.closeModals()}))}}}},37844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},getDiff:function(t){if(t==this.allHistory.length-1)return this.allHistory[this.allHistory.length-1].content;var e=document.createElement("div");return r.forEach((function(t){var s=t.added?"green":t.removed?"red":"grey",i=document.createElement("span");(i.style.color=s,console.log(t.value,t.value.length),t.added)?t.value.trim().length?i.appendChild(document.createTextNode(t.value)):i.appendChild(document.createTextNode("·")):i.appendChild(document.createTextNode(t.value));e.appendChild(i)})),e.innerHTML},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),i=Math.floor(s/63072e3);return i<0?"0s":i>=1?i+(1==i?" year":" years")+" ago":(i=Math.floor(s/604800))>=1?i+(1==i?" week":" weeks")+" ago":(i=Math.floor(s/86400))>=1?i+(1==i?" day":" days")+" ago":(i=Math.floor(s/3600))>=1?i+(1==i?" hour":" hours")+" ago":(i=Math.floor(s/60))>=1?i+(1==i?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},67975:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(25100),o=s(29787),a=s(24848);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:i.default,"like-placeholder":o.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,a.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,a.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},61746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(18634),o=s(50294),a=s(75938);const n={props:["status"],components:{"read-more":o.default,"video-player":a.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},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},22434:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(34719),o=s(49986);const a={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1},isReblog:{type:Boolean,default:!1},reblogAccount:{type:Object}},components:{"profile-hover-card":i.default,"edit-history-modal":o.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfileById:function(t){var e=this;this.$nextTick((function(){e.$router.push({name:"profile",path:"/i/web/profile/".concat(t),params:{id:t,cachedUser:e.profile}})}))},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")},openEditModal:function(){this.$refs.editModal.open()}}}},99397:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(20243),o=s(34719);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}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},6140:(t,e,s)=>{"use strict";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=e.getAttribute("href"),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)}))}}}},85679:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(25100),o=s(29787),a=s(24848);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:i.default,"like-placeholder":o.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchShares:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,a.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchShares(),this.$refs.sharesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,a.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},24603:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>h});var i=s(25100),o=s(35547),a=s(58741),n=s(20591),r=s(57103),l=s(59515),c=s(99681),d=s(13090),u=s(24848);function f(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 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 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 s=0,i=new Array(e);s0})),i=s.map((function(t){return t.id}));t.ids=i,t.max_id=Math.min.apply(Math,f(i)),s.forEach((function(e){t.feed.push(e)})),setTimeout((function(){t.canLoadMore=e.data.length>1,t.feedLoaded=!0}),500)}))},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);var s=e.data.filter((function(t){return t.media_attachments.length>0})).filter((function(e){return-1==t.ids.indexOf(e.id)}));if(!s||!s.length)return t.canLoadMore=!1,void(t.isIntersecting=!1);s.forEach((function(e){e.id=1})).catch((function(e){t.canLoadMore=!1})))},toggleLayout:function(t){arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&event.currentTarget.blur(),this.layoutIndex=t,this.isIntersecting=!1},toggleTab:function(t){switch(event.currentTarget.blur(),t){case 1:this.isIntersecting=!1,this.tabIndex=1;break;case 2:this.fetchCollections();break;case 3:this.fetchFavourites();break;case"bookmarks":this.fetchBookmarks();break;case"archives":this.fetchArchives()}},fetchCollections:function(){var t=this;this.collectionsLoaded&&(this.tabIndex=2),axios.get("/api/local/profile/collections/"+this.profile.id).then((function(e){t.collections=e.data,t.collectionsLoaded=!0,t.tabIndex=2,t.collectionsPage++,t.canLoadMoreCollections=9===e.data.length}))},enterCollectionsIntersect:function(){var t=this;this.isCollectionsIntersecting||(this.isCollectionsIntersecting=!0,axios.get("/api/local/profile/collections/"+this.profile.id,{params:{limit:9,page:this.collectionsPage}}).then((function(e){var s;e.data&&e.data.length||(t.canLoadMoreCollections=!1),t.collectionsLoaded=!0,(s=t.collections).push.apply(s,f(e.data)),t.collectionsPage++,t.canLoadMoreCollections=e.data.length>0,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,f(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/v1/bookmarks",{params:{_pe:1}}).then((function(e){if(t.tabIndex="bookmarks",t.bookmarks=e.data,e.headers&&e.headers.link){var s=(0,u.parseLinkHeader)(e.headers.link);s.next?(t.bookmarksPage=s.next.cursor,t.canLoadMoreBookmarks=!0):t.canLoadMoreBookmarks=!1}t.bookmarksLoaded=!0}))},enterBookmarksIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/v1/bookmarks",{params:{_pe:1,cursor:this.bookmarksPage}}).then((function(e){var s;if((s=t.bookmarks).push.apply(s,f(e.data)),e.headers&&e.headers.link){var i=(0,u.parseLinkHeader)(e.headers.link);i.next?(t.bookmarksPage=i.next.cursor,t.canLoadMoreBookmarks=!0):t.canLoadMoreBookmarks=!1}t.isIntersecting=!1})).catch((function(e){t.canLoadMoreBookmarks=!1})))},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],i=(s.favourited,s.favourites_count);this.feed[t].favourites_count=i+1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/favourite").catch((function(s){e.feed[t].favourites_count=i,e.feed[t].favourited=!1}))},unlikeStatus:function(t){var e=this,s=this.feed[t],i=(s.favourited,s.favourites_count);this.feed[t].favourites_count=i-1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/unfavourite").catch((function(s){e.feed[t].favourites_count=i,e.feed[t].favourited=!1}))},openContextMenu:function(t){var e=this;switch(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"feed"){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],i=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=i+1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/reblog").catch((function(s){e.feed[t].reblogs_count=i,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,s=this.feed[t],i=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=i-1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/unreblog").catch((function(s){e.feed[t].reblogs_count=i,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,f(e.data)),t.archivesPage++,t.canLoadMoreArchives=0!=e.data.length,t.isIntersecting=!1})).catch((function(e){t.canLoadMoreArchives=!1})))},handleBookmark:function(t){var e=this;if(window.confirm("Are you sure you want to unbookmark this post?")){var s=this.bookmarks[t];axios.post("/i/bookmark",{item:s.id}).then((function(i){e.bookmarks=e.bookmarks.map((function(t){return t.id==s.id&&(t.bookmarked=!1,delete t.bookmarked_at),t})),e.bookmarks.splice(t,1)})).catch((function(t){e.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))}}}}},19306:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>p});var i=s(25100),o=s(29787),a=s(34719),n=s(95353),r=s(24848);function l(t){return l="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},l(t)}function c(t){return function(t){if(Array.isArray(t))return d(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 d(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 d(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 d(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);s)?/g,(function(t){var s=t.slice(1,t.length-1),i=e.getCustomEmoji.filter((function(t){return t.shortcode==s}));return i.length?''.concat(i[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}})},goBack:function(){this.$emit("back")},setCacheWarmTimeout:function(){var t=this;if(this.cacheWarmInterations>=5)return this.isWarmingCache=!1,void swal("Oops","Its taking longer than expected to collect this account followers. Please try again later","error");this.cacheWarmTimeout=setTimeout((function(){t.cacheWarmInterations++,t.fetchFollowers()}),45e3)}}}},79654:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>p});var i=s(25100),o=s(29787),a=s(34719),n=s(95353),r=s(24848);function l(t){return l="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},l(t)}function c(t){return function(t){if(Array.isArray(t))return d(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 d(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 d(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 d(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);s)?/g,(function(t){var s=t.slice(1,t.length-1),i=e.getCustomEmoji.filter((function(t){return t.shortcode==s}));return i.length?''.concat(i[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}})},goBack:function(){this.$emit("back")},setCacheWarmTimeout:function(){var t=this;if(this.cacheWarmInterations>=5)return this.isWarmingCache=!1,void swal("Oops","Its taking longer than expected to collect following accounts. Please try again later","error");this.cacheWarmTimeout=setTimeout((function(){t.cacheWarmInterations++,t.fetchFollowers()}),45e3)}}}},3223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var i=s(50294),o=s(95353);function a(t){return a="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},a(t)}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 r(t,e,s){var i;return i=function(t,e){if("object"!=a(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!=a(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==a(i)?i:i+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore: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)}}}},82683:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(95353);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function 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){var i;return i=function(t,e){if("object"!=o(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!=o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==o(i)?i:i+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={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),i=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return i.length?''.concat(i[0].shortcode,''):e}))}return s},truncate:function(t){if(t)return t.length>15?t.slice(0,15)+"...":t},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(),["followers","following"].includes(t)?this.$router.push("/i/web/profile/"+this.profile.id+"/"+t):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,i=document.createElement("div");i.innerHTML=s,i.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)})),i.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.renderedBio=i.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.$emit("updateRelationship",s.data),swal("Success","You have successfully "+e+" "+t.profile.acct,"success")})).catch((function(t){var e;422===t.response.status?swal({title:"Error",text:null===(e=t.response)||void 0===e||null===(e=e.data)||void 0===e?void 0:e.error,icon:"error",buttons:{review:{text:"Review muted accounts",value:"review",className:"btn-primary"},cancel:!0}}).then((function(t){t&&"review"==t&&(location.href="/settings/privacy/muted-users")})):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.$emit("updateRelationship",s.data),swal("Success","You have successfully "+e+"ed "+t.profile.acct,"success")})).catch((function(t){var e;422===t.response.status?swal({title:"Error",text:null===(e=t.response)||void 0===e||null===(e=e.data)||void 0===e?void 0:e.error,icon:"error",buttons:{review:{text:"Review blocked accounts",value:"review",className:"btn-primary"},cancel:!0}}).then((function(t){t&&"review"==t&&(location.href="/settings/privacy/blocked-users")})):swal("Error","Something went wrong. Please try again later.","error")}))},cancelFollowRequest:function(){window.confirm("Are you sure you want to cancel your follow request?")&&(event.currentTarget.blur(),this.$emit("unfollow"))}}}},68910:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(64945),o=(s(34076),s(34330)),a=s.n(o),n=(s(10706),s(71241));const r={props:["status","fixedHeight"],data:function(){return{shouldPlay:!1,hasHls:void 0,hlsConfig:window.App.config.features.hls,liveSyncDurationCount:7,isHlsSupported:!1,isP2PSupported:!1,engine:void 0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{handleShouldPlay:function(){var t=this;this.shouldPlay=!0,this.isHlsSupported=this.hlsConfig.enabled&&i.default.isSupported(),this.isP2PSupported=this.hlsConfig.enabled&&this.hlsConfig.p2p&&n.Engine.isSupported(),this.$nextTick((function(){t.init()}))},init:function(){var t,e=this;!this.status.sensitive&&null!==(t=this.status.media_attachments[0])&&void 0!==t&&t.hls_manifest&&this.isHlsSupported?(this.hasHls=!0,this.$nextTick((function(){e.initHls()}))):this.hasHls=!1},initHls:function(){var t;if(this.isP2PSupported){var e={loader:{trackerAnnounce:[this.hlsConfig.tracker],rtcConfig:{iceServers:[{urls:[this.hlsConfig.ice]}]}}},s=new n.Engine(e);this.hlsConfig.p2p_debug&&(s.on("peer_connect",(function(t){return console.log("peer_connect",t.id,t.remoteAddress)})),s.on("peer_close",(function(t){return console.log("peer_close",t)})),s.on("segment_loaded",(function(t,e){return console.log("segment_loaded from",e?"peer ".concat(e):"HTTP",t.url)}))),t=s.createLoaderClass()}else t=i.default.DefaultConfig.loader;var o=this.$refs.video,r=this.status.media_attachments[0].hls_manifest,l=(new(a())(o,{captions:{active:!0,update:!0}}),new i.default({liveSyncDurationCount:this.liveSyncDurationCount,loader:t})),c=this;(0,n.initHlsJsPlayer)(l),l.loadSource(r),l.attachMedia(o),l.on(i.default.Events.MANIFEST_PARSED,(function(t,e){this.hlsConfig.debug&&(console.log(t),console.log(e));var s={},n=l.levels.map((function(t){return t.height}));this.hlsConfig.debug&&console.log(n),n.unshift(0),s.quality={default:0,options:n,forced:!0,onChange:function(t){return c.updateQuality(t)}},s.i18n={qualityLabel:{0:"Auto"}},l.on(i.default.Events.LEVEL_SWITCHED,(function(t,e){var s=document.querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");l.autoLevelEnabled?s.innerHTML="Auto (".concat(l.levels[e.level].height,"p)"):s.innerHTML="Auto"}));new(a())(o,s)}))},updateQuality:function(t){var e=this;0===t?window.hls.currentLevel=-1:window.hls.levels.forEach((function(s,i){s.height===t&&(e.hlsConfig.debug&&console.log("Found quality match with "+t),window.hls.currentLevel=i)}))},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},59300:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-timeline-component"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[t.profile&&t.profile.hasOwnProperty("moved")&&t.profile.moved.hasOwnProperty("id")&&!t.showMoved?e("div",[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-6"},[t._m(0),t._v(" "),e("div",{staticClass:"card shadow-none border",staticStyle:{"border-radius":"20px"}},[e("div",{staticClass:"card-body ft-std"},[e("div",{staticClass:"d-flex justify-content-between align-items-center",staticStyle:{gap:"1rem"}},[e("div",{staticClass:"d-flex align-items-center flex-shrink-1",staticStyle:{gap:"1rem"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.profile.moved.avatar,width:"50",height:"50"}}),t._v(" "),e("p",{staticClass:"h3 font-weight-light mb-0 text-break"},[t._v("@"+t._s(t.profile.moved.acct))])]),t._v(" "),e("div",{staticClass:"d-flex flex-grow-1 justify-content-end",staticStyle:{"min-width":"200px"}},[e("router-link",{staticClass:"btn btn-outline-primary rounded-pill font-weight-bold",attrs:{to:"/i/web/profile/".concat(t.profile.moved.id)}},[t._v("View New Account")])],1)])])]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"lead text-center ft-std"},[e("a",{staticClass:"btn btn-primary btn-lg rounded-pill font-weight-bold px-5",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showMoved=!0}}},[t._v("Proceed")])])])])]):e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-3 d-md-block px-md-3 px-xl-5"},[e("profile-sidebar",{attrs:{profile:t.profile,relationship:t.relationship,user:t.curUser},on:{back:t.goBack,toggletab:t.toggleTab,updateRelationship:t.updateRelationship,follow:t.follow,unfollow:t.unfollow}})],1),t._v(" "),e("div",{staticClass:"col-md-8 px-md-5"},[e(t.getTabComponentName(),{key:t.getTabComponentName()+t.profile.id,tag:"component",attrs:{profile:t.profile,relationship:t.relationship}})],1)]),t._v(" "),e("drawer")],1):t._e()])},o=[function(){var t=this._self._c;return t("div",{staticClass:"card shadow-none border card-body mt-5 mb-3 ft-std",staticStyle:{"border-radius":"20px"}},[t("p",{staticClass:"lead font-weight-bold text-center mb-0"},[t("i",{staticClass:"far fa-exclamation-triangle mr-2"}),this._v("This account has indicated their new account is:")])])}]},98221:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this;return(0,t._self._c)("canvas",{ref:"canvas",attrs:{width:t.parseNumber(t.width),height:t.parseNumber(t.height)}})},o=[]},24853:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){this._self._c;return this._m(0)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"ph-item border-0 shadow-sm",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[e("div",{staticClass:"ph-col-12"},[e("div",{staticClass:"ph-row align-items-center"},[e("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{width:"50px",height:"60px","border-radius":"15px"}}),t._v(" "),e("div",{staticClass:"ph-col-6 big"})]),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"ph-picture"}),t._v(" "),e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12 big"}),t._v(" "),e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])}]},70201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.shadowStatus,"is-reblog":t.isReblog,"reblog-account":t.reblogAccount},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.shadowStatus}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.shadowStatus,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.shadowStatus,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=[]},69831:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},o=[]},82960:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?e("div",{staticClass:"card shadow-none rounded-lg border my-4"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?e("div",[t.status.content_text.length<=140?e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?e("div",[e("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[e("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?e("p",{staticClass:"mt-3 mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),e("p",{staticClass:"text-right mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?e("div",[e("div",{staticClass:"my-4 text-center"},[e("b-spinner"),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-4x text-success"},[e("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-3x text-danger"},[e("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},o=[]},55318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,i){return e("div",{key:"cd:"+s.id+":"+i,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===i?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(i,o){return e("div",{on:{click:function(e){return t.lightbox(s,o)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[o].blurhash,src:t.getMediaSource(s,o)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+i),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===i?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===i?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===i?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(i)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(i)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[i].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[i].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[i].replies},on:{"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==i&&t.feed[i].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==i?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(i,e)},"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},o=[]},54309:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,i){return e("div",{key:"cd:"+s.id+":"+i},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+i),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(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._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},82285:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},o=[]},4215:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item d-flex p-0 m-0"},[e("div",{staticClass:"border-right p-2 w-50"},[t.status?e("a",{staticClass:"menu-option",attrs:{href:t.status.url},on:{click:function(e){return e.preventDefault(),t.ctxMenuGoToPost()}}},[e("div",{staticClass:"action-icon-link"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"fal fa-images fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v(t._s(t.$t("menu.viewPost")))])])]):t._e()]),t._v(" "),e("div",{staticClass:"p-2 flex-grow-1"},[t.status?e("a",{staticClass:"menu-option",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.ctxMenuGoToProfile()}}},[e("div",{staticClass:"action-icon-link"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"fal fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v(t._s(t.$t("menu.viewProfile")))])])]):t._e()])]):t._e(),t._v(" "),t.ctxMenuRelationship?[t.ctxMenuRelationship.following?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleUnfollow.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("profile.unfollow"))+"\n ")]):e("div",{staticClass:"d-flex"},[e("div",{staticClass:"p-3 border-right w-50 text-center"},[e("a",{staticClass:"small menu-option text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleMute.apply(null,arguments)}}},[e("div",{staticClass:"action-icon-link-inline"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"far",class:[t.ctxMenuRelationship.muting?"fa-eye":"fa-eye-slash"]})]),t._v(" "),e("p",{staticClass:"text-muted mb-0"},[t._v(t._s(t.ctxMenuRelationship.muting?"Unmute":"Mute"))])])])]),t._v(" "),e("div",{staticClass:"p-3 w-50"},[e("a",{staticClass:"small menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleBlock.apply(null,arguments)}}},[e("div",{staticClass:"action-icon-link-inline"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"far fa-shield-alt"})]),t._v(" "),e("p",{staticClass:"text-danger mb-0"},[t._v("Block")])])])])])]:t._e(),t._v(" "),"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuShare()}}},[t._v("\n "+t._s(t.$t("common.share"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxModMenuShow()}}},[t._v("\n "+t._s(t.$t("menu.moderationTools"))+"\n ")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuReportPost()}}},[t._v("\n "+t._s(t.$t("menu.report"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.archivePost(t.status)}}},[t._v("\n "+t._s(t.$t("menu.archive"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.unarchivePost(t.status)}}},[t._v("\n "+t._s(t.$t("menu.unarchive"))+"\n ")]):t._e(),t._v(" "),t.config.ab.pue&&t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.editPost(t.status)}}},[t._v("\n Edit\n ")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deletePost(t.status)}}},[t.isDeleting?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("div",[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e(),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeCtxMenu()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])],2)]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center menu-option text-danger"},[t._v("\n "+t._s(t.$t("menu.moderationTools"))+"\n ")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("\n "+t._s(t.$t("menu.selectOneOption"))+"\n ")]),t._v(" "),e("p"),t._v(" "),e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"unlist")}}},[t._v("\n "+t._s(t.$t("menu.unlistFromTimelines"))+"\n ")]),t._v(" "),t.status.sensitive?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"remcw")}}},[t._v("\n "+t._s(t.$t("menu.removeCW"))+"\n ")]):e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"addcw")}}},[t._v("\n "+t._s(t.$t("menu.addCW"))+"\n ")]),t._v(" "),e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"spammer")}}},[t._v("\n "+t._s(t.$t("menu.markAsSpammer"))),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxModMenuClose()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuCopyLink()}}},[t._v("\n "+t._s(t.$t("common.copyLink"))+"\n ")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("a",{staticClass:"list-group-item menu-option",on:{click:function(e){return e.preventDefault(),t.ctxMenuEmbed()}}},[t._v("\n "+t._s(t.$t("menu.embed"))+"\n ")]):t._e(),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeCtxShareMenu()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,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(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.showCaption"))+"\n ")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,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(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.showLikes"))+"\n ")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,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(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.compactMode"))+"\n ")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},o=[]},27934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var i=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,i){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(i==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=i}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},o=[]},7971:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){this._self._c;return this._m(0)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}]},92162:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,i){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===i?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[null==s.follows||s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},o=[]},79911:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight}}):"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div",[t.status.sensitive?e("div",{staticClass:"border m-3 p-5 rounded-lg"},[t._m(1),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold mb-0"},[t._v("Sensitive Content")]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.status.spoiler_text&&t.status.spoiler_text.length?t.status.spoiler_text:"This post may contain sensitive content"))]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See post")])])]):t._e()]):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],1):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},o=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},44516:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",[t.isReblog?e("div",{staticClass:"card-header bg-light border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center",staticStyle:{height:"10px"}},[e("a",{staticClass:"mx-2",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[e("img",{staticStyle:{"border-radius":"10px"},attrs:{src:t.reblogAccount.avatar,width:"24",height:"24",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticStyle:{"font-size":"12px","font-weight":"bold"}},[e("i",{staticClass:"far fa-retweet text-warning mr-1"}),t._v(" Reblogged by "),e("a",{staticClass:"text-dark",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[t._v("@"+t._s(t.reblogAccount.acct))])])])]):t._e(),t._v(" "),e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n "+t._s(t.status.account.acct)+"\n ")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n "+t._s(t.timeago(t.status.created_at))+"\n ")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)])},o=[]},51992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},o=[]},16331:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},o=[]},66295:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"sharesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,i){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===i?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},o=[]},9143:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-feed-component"},[e("div",{staticClass:"profile-feed-component-nav d-flex justify-content-center justify-content-md-between align-items-center mb-4"},[e("div",{staticClass:"d-none d-md-block border-bottom flex-grow-1 profile-nav-btns"},[e("div",{staticClass:"btn-group"},[e("button",{staticClass:"btn btn-link",class:[1===t.tabIndex?"active":""],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?e("button",{staticClass:"btn btn-link",class:["archives"===t.tabIndex?"active":""],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?e("button",{staticClass:"btn btn-link",class:["bookmarks"===t.tabIndex?"active":""],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?e("button",{staticClass:"btn btn-link",class:[2===t.tabIndex?"active":""],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?e("button",{staticClass:"btn btn-link",class:[3===t.tabIndex?"active":""],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?e("div",{staticClass:"btn-group layout-sort-toggle"},[e("button",{staticClass:"btn btn-sm",class:[0===t.layoutIndex?"btn-dark":"btn-light"],on:{click:function(e){return t.toggleLayout(0,!0)}}},[e("i",{staticClass:"far fa-th fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-sm",class:[1===t.layoutIndex?"btn-dark":"btn-light"],on:{click:function(e){return t.toggleLayout(1,!0)}}},[e("i",{staticClass:"fas fa-th-large fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-sm",class:[2===t.layoutIndex?"btn-dark":"btn-light"],on:{click:function(e){return t.toggleLayout(2,!0)}}},[e("i",{staticClass:"far fa-bars fa-lg"})])]):t._e()]),t._v(" "),0==t.tabIndex?e("div",{staticClass:"d-flex justify-content-center mt-5"},[e("b-spinner")],1):1==t.tabIndex?e("div",{staticClass:"px-0 mx-0"},[0===t.layoutIndex?e("div",{staticClass:"row"},[t._l(t.feed,(function(s,i){return e("div",{key:"tlob:"+i+s.id,staticClass:"col-4 p-1"},[s.hasOwnProperty("pf_type")&&"video"==s.pf_type?e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[s.sensitive?e("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),e("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash}})],1):e("div",{staticClass:"square-content"},[e("blur-hash-image",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash,src:s.media_attachments[0].preview_url}})],1),t._v(" "),e("div",{staticClass:"info-overlay-text"},[e("div",{staticClass:"text-white m-auto"},[e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.favourites_count)))])]),t._v(" "),e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.reply_count)))])]),t._v(" "),e("p",{staticClass:"mb-0 info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-sync fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.reblogs_count)))])])])])]),t._v(" "),t._m(1,!0),t._v(" "),e("span",{staticClass:"badge badge-light timestamp-overlay-badge"},[t._v("\n\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t")])]):e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[s.sensitive?e("div",{staticClass:"square-content"},[t._m(2,!0),t._v(" "),e("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash}})],1):e("div",{staticClass:"square-content"},[e("blur-hash-image",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash,src:s.media_attachments[0].url}})],1),t._v(" "),e("div",{staticClass:"info-overlay-text"},[e("div",{staticClass:"text-white m-auto"},[e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.favourites_count)))])]),t._v(" "),e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.reply_count)))])]),t._v(" "),e("p",{staticClass:"mb-0 info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-sync fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.reblogs_count)))])])])])]),t._v(" "),e("span",{staticClass:"badge badge-light timestamp-overlay-badge"},[t._v("\n\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t")])])])})),t._v(" "),t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("div",{staticClass:"col-4 ph-wrapper"},[e("div",{staticClass:"ph-item"},[e("div",{staticClass:"ph-picture big"})])])]):t._e()],2):1===t.layoutIndex?e("div",{staticClass:"row"},[e("masonry",{attrs:{cols:{default:3,800:2},gutter:{default:"5px"}}},[t._l(t.feed,(function(s,i){return e("div",{key:"tlog:"+i+s.id,staticClass:"p-1"},[s.hasOwnProperty("pf_type")&&"video"==s.pf_type?e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[e("div",{staticClass:"square-content"},[e("blur-hash-image",{staticClass:"rounded",attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash,src:s.media_attachments[0].preview_url}})],1)]),t._v(" "),e("span",{staticClass:"badge badge-light video-overlay-badge"},[e("i",{staticClass:"far fa-video fa-2x"})]),t._v(" "),e("span",{staticClass:"badge badge-light timestamp-overlay-badge"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t")])]):s.sensitive?e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[e("div",{staticClass:"square-content"},[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-eye-slash fa-lg p-2 d-flex-inline"})])])]),t._v(" "),e("blur-hash-canvas",{staticClass:"rounded",attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash}})],1)])]):e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("img",{staticClass:"img-fluid w-100 rounded-lg",attrs:{src:t.previewUrl(s),onerror:"this.onerror=null;this.src='/storage/no-preview.png?v=0'"}}),t._v(" "),e("span",{staticClass:"badge badge-light timestamp-overlay-badge"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t")])])])})),t._v(" "),t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("div",{staticClass:"p-1 ph-wrapper"},[e("div",{staticClass:"ph-item"},[e("div",{staticClass:"ph-picture big"})])])]):t._e()],2)],1):2===t.layoutIndex?e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10"},t._l(t.feed,(function(s,i){return e("status-card",{key:"prs"+s.id+":"+i,attrs:{profile:t.user,status:s},on:{like:function(e){return t.likeStatus(i)},unlike:function(e){return t.unlikeStatus(i)},share:function(e){return t.shareStatus(i)},unshare:function(e){return t.unshareStatus(i)},menu:function(e){return t.openContextMenu(i)},"counter-change":function(e){return t.counterChange(i,e)},"likes-modal":function(e){return t.openLikesModal(i)},"shares-modal":function(e){return t.openSharesModal(i)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("div",{staticClass:"col-12 col-md-10"},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)]):t._e()],1):t._e(),t._v(" "),t.feedLoaded&&!t.feed.length?e("div",[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-8 text-center"},[e("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("profile.emptyPosts")))])])])]):t._e()]):"private"===t.tabIndex?e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-8 text-center"},[e("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-secure-feed.svg"}}),t._v(" "),e("p",{staticClass:"h3 text-dark font-weight-bold mt-3 py-3"},[t._v("This profile is private")]),t._v(" "),e("div",{staticClass:"lead text-muted px-3"},[t._v("\n\t\t\t\tOnly approved followers can see "),e("span",{staticClass:"font-weight-bold text-dark text-break"},[t._v("@"+t._s(t.profile.acct))]),t._v("'s "),e("br"),t._v("\n\t\t\t\tposts. To request access, click "),e("span",{staticClass:"font-weight-bold"},[t._v("Follow")]),t._v(".\n\t\t\t")])])]):2==t.tabIndex?e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-8"},[e("div",{staticClass:"list-group"},t._l(t.collections,(function(s,i){return e("a",{staticClass:"list-group-item text-decoration-none text-dark",attrs:{href:s.url}},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-lg border mr-3",staticStyle:{"object-fit":"cover"},attrs:{src:s.thumb,width:"65",height:"65",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),e("div",{staticClass:"media-body text-left"},[e("p",{staticClass:"lead mb-0"},[t._v(t._s(s.title?s.title:"Untitled"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-1"},[t._v(t._s(s.description||"No description available"))]),t._v(" "),e("p",{staticClass:"small text-lighter mb-0 font-weight-bold"},[e("span",[t._v(t._s(s.post_count)+" posts")]),t._v(" "),e("span",[t._v("·")]),t._v(" "),"public"===s.visibility?e("span",{staticClass:"text-dark"},[t._v("Public")]):"private"===s.visibility?e("span",{staticClass:"text-dark"},[e("i",{staticClass:"far fa-lock fa-sm"}),t._v(" Followers Only")]):"draft"===s.visibility?e("span",{staticClass:"primary"},[e("i",{staticClass:"far fa-lock fa-sm"}),t._v(" Draft")]):t._e(),t._v(" "),e("span",[t._v("·")]),t._v(" "),s.published_at?e("span",[t._v("Created "+t._s(t.timeago(s.published_at))+" ago")]):e("span",{staticClass:"text-warning"},[t._v("UNPUBLISHED")])])])])])})),0)]),t._v(" "),t.collectionsLoaded&&!t.collections.length?e("div",{staticClass:"col-12 col-md-8 text-center"},[e("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("profile.emptyCollections")))])]):t._e(),t._v(" "),t.canLoadMoreCollections?e("div",{staticClass:"col-12 col-md-8"},[e("intersect",{on:{enter:t.enterCollectionsIntersect}},[e("div",{staticClass:"d-flex justify-content-center mt-5"},[e("b-spinner",{attrs:{small:""}})],1)])],1):t._e()]):3==t.tabIndex?e("div",{staticClass:"px-0 mx-0"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10"},t._l(t.favourites,(function(s,i){return e("status-card",{key:"prs"+s.id+":"+i,attrs:{profile:t.user,status:s},on:{like:function(e){return t.likeStatus(i)},unlike:function(e){return t.unlikeStatus(i)},share:function(e){return t.shareStatus(i)},unshare:function(e){return t.unshareStatus(i)},"counter-change":function(e){return t.counterChange(i,e)},"likes-modal":function(e){return t.openLikesModal(i)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),t.canLoadMoreFavourites?e("div",{staticClass:"col-12 col-md-10"},[e("intersect",{on:{enter:t.enterFavouritesIntersect}},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e()]),t._v(" "),t.favourites&&t.favourites.length?t._e():e("div",{staticClass:"row justify-content-center"},[t._m(3)])]):"bookmarks"==t.tabIndex?e("div",{staticClass:"px-0 mx-0"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10"},t._l(t.bookmarks,(function(s,i){return e("status-card",{key:"prs"+s.id+":"+i,attrs:{profile:t.user,"new-reactions":!0,status:s},on:{menu:function(e){return t.openContextMenu(i)},"counter-change":function(e){return t.counterChange(i,e)},"likes-modal":function(e){return t.openLikesModal(i)},bookmark:function(e){return t.handleBookmark(i)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),e("div",{staticClass:"col-12 col-md-10"},[t.canLoadMoreBookmarks?e("intersect",{on:{enter:t.enterBookmarksIntersect}},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1):t._e()],1)]),t._v(" "),t.bookmarks&&t.bookmarks.length?t._e():e("div",{staticClass:"row justify-content-center"},[t._m(4)])]):"archives"==t.tabIndex?e("div",{staticClass:"px-0 mx-0"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10"},t._l(t.archives,(function(s,i){return e("status-card",{key:"prarc"+s.id+":"+i,attrs:{profile:t.user,"new-reactions":!0,"reaction-bar":!1,status:s},on:{menu:function(e){return t.openContextMenu(i,"archive")}}})})),1),t._v(" "),t.canLoadMoreArchives?e("div",{staticClass:"col-12 col-md-10"},[e("intersect",{on:{enter:t.enterArchivesIntersect}},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e()]),t._v(" "),t.archives&&t.archives.length?t._e():e("div",{staticClass:"row justify-content-center"},[t._m(5)])]):t._e(),t._v(" "),t.showMenu?e("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?e("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.user}}):t._e(),t._v(" "),t.showSharesModal?e("shares-modal",{ref:"sharesModal",attrs:{status:t.sharesModalPost,profile:t.profile}}):t._e(),t._v(" "),e("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)},o=[function(){var t=this._self._c;return t("div",{staticClass:"info-overlay-text-label"},[t("h5",{staticClass:"text-white m-auto font-weight-bold"},[t("span",[t("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])},function(){var t=this._self._c;return t("span",{staticClass:"badge badge-light video-overlay-badge"},[t("i",{staticClass:"far fa-video fa-2x"})])},function(){var t=this._self._c;return t("div",{staticClass:"info-overlay-text-label"},[t("h5",{staticClass:"text-white m-auto font-weight-bold"},[t("span",[t("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 col-md-8 text-center"},[e("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("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._self._c;return e("div",{staticClass:"col-12 col-md-8 text-center"},[e("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("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._self._c;return e("div",{staticClass:"col-12 col-md-8 text-center"},[e("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("p",{staticClass:"lead text-muted font-weight-bold"},[t._v("We can't seem to find any posts you have bookmarked")])])}]},48281:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-followers-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-8"},[t.isLoaded?e("div",{staticClass:"d-flex justify-content-between align-items-center mb-4"},[e("div",[e("button",{staticClass:"btn btn-outline-dark rounded-pill font-weight-bold",on:{click:function(e){return t.goBack()}}},[t._v("\n Back\n ")])]),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column w-100 overflow-hidden"},[e("p",{staticClass:"small text-muted mb-0 text-uppercase font-weight-light cursor-pointer text-truncate text-center",staticStyle:{width:"70%"},on:{click:function(e){return t.goBack()}}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),e("p",{staticClass:"lead font-weight-bold mt-n1 mb-0"},[t._v(t._s(t.$t("profile.followers")))])]),t._v(" "),t._m(0)]):t._e(),t._v(" "),t.isLoaded?e("div",{staticClass:"list-group scroll-card"},[t._l(t.feed,(function(s,i){return e("div",{staticClass:"list-group-item"},[e("a",{staticClass:"text-decoration-none",attrs:{id:"apop_"+s.id,href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",draggable:"false",loading:"lazy",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("span",{staticClass:"text-dark font-weight-bold text-decoration-none",domProps:{innerHTML:t._s(t.getUsername(s))}})]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-muted small text-break"},[t._v("@"+t._s(s.acct))])])])]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+s.id,triggers:"hover",placement:"left",delay:"1000","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:s}})],1)],1)})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder")],1)],1):t._e(),t._v(" "),t.canLoadMore||t.feed.length?t._e():e("div",[e("div",{staticClass:"list-group-item text-center"},[t.isWarmingCache?e("div",{staticClass:"px-4"},[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v("Loading Followers...")]),t._v(" "),e("div",{staticClass:"py-3"},[e("b-spinner",{staticStyle:{width:"1.5rem",height:"1.5rem"},attrs:{variant:"primary"}})],1),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Please wait while we collect followers of this account, this shouldn't take long!")])]):e("p",{staticClass:"mb-0 font-weight-bold"},[t._v("No followers yet!")])])])],2):e("div",{staticClass:"list-group"},[e("placeholder")],1)])])])},o=[function(){var t=this._self._c;return t("div",[t("a",{staticClass:"btn btn-dark rounded-pill font-weight-bold spacer-btn",attrs:{href:"#"}},[this._v("Back")])])}]},29594:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-following-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-7"},[t.isLoaded?e("div",{staticClass:"d-flex justify-content-between align-items-center mb-4"},[e("div",[e("button",{staticClass:"btn btn-outline-dark rounded-pill font-weight-bold",on:{click:function(e){return t.goBack()}}},[t._v("\n Back\n ")])]),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column w-100 overflow-hidden"},[e("p",{staticClass:"small text-muted mb-0 text-uppercase font-weight-light cursor-pointer text-truncate text-center",staticStyle:{width:"70%"},on:{click:function(e){return t.goBack()}}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),e("p",{staticClass:"lead font-weight-bold mt-n1 mb-0"},[t._v(t._s(t.$t("profile.following")))])]),t._v(" "),t._m(0)]):t._e(),t._v(" "),t.isLoaded?e("div",{staticClass:"list-group scroll-card"},[t._l(t.feed,(function(s,i){return e("div",{staticClass:"list-group-item"},[e("a",{staticClass:"text-decoration-none",attrs:{id:"apop_"+s.id,href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",draggable:"false",loading:"lazy",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("span",{staticClass:"text-dark font-weight-bold text-decoration-none",domProps:{innerHTML:t._s(t.getUsername(s))}})]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-muted small text-break"},[t._v("@"+t._s(s.acct))])])])]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+s.id,triggers:"hover",placement:"left",delay:"1000","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:s}})],1)],1)})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder")],1)],1):t._e(),t._v(" "),t.canLoadMore||t.feed.length?t._e():e("div",[e("div",{staticClass:"list-group-item text-center"},[t.isWarmingCache?e("div",{staticClass:"px-4"},[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v("Loading Following...")]),t._v(" "),e("div",{staticClass:"py-3"},[e("b-spinner",{staticStyle:{width:"1.5rem",height:"1.5rem"},attrs:{variant:"primary"}})],1),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Please wait while we collect following accounts, this shouldn't take long!")])]):e("p",{staticClass:"mb-0 font-weight-bold"},[t._v("No following anyone yet!")])])])],2):e("div",{staticClass:"list-group"},[e("placeholder")],1)])])])},o=[function(){var t=this._self._c;return t("div",[t("a",{staticClass:"btn btn-dark rounded-pill font-weight-bold spacer-btn",attrs:{href:"#"}},[this._v("Back")])])}]},53577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}})]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},o=[]},59100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-sidebar-component"},[e("div",[e("div",{staticClass:"d-block d-md-none"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("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(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username",class:{remote:!t.profile.local}},[t.profile.local?e("span",[t._v("@"+t._s(t.profile.acct))]):e("a",{staticClass:"primary",attrs:{href:t.profile.url}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),t.profile.locked?e("span",[e("i",{staticClass:"fal fa-lock ml-1 fa-sm text-lighter"})]):t._e()]),t._v(" "),e("div",{staticClass:"stats"},[e("div",{staticClass:"stats-posts",on:{click:function(e){return t.toggleTab("index")}}},[e("div",{staticClass:"posts-count"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),e("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.posts"))+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"stats-followers",on:{click:function(e){return t.toggleTab("followers")}}},[e("div",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),e("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.followers"))+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"stats-following",on:{click:function(e){return t.toggleTab("following")}}},[e("div",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),e("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.following"))+"\n\t\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"d-none d-md-flex justify-content-between align-items-center"},[e("button",{staticClass:"btn btn-link",on:{click:function(e){return t.goBack()}}},[e("i",{staticClass:"far fa-chevron-left fa-lg text-lighter"})]),t._v(" "),e("div",[e("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?e("p",{staticClass:"text-right",staticStyle:{"margin-top":"-30px"}},[e("span",{staticClass:"admin-label"},[t._v("Admin")])]):t._e()]),t._v(" "),e("b-dropdown",{attrs:{variant:"link",right:"","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[e("i",{staticClass:"far fa-lg fa-cog text-lighter"})]},proxy:!0}])},[t._v(" "),t.profile.local?e("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(" "),e("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?e("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?e("div",[e("b-dropdown-divider"),t._v(" "),e("b-dropdown-item",{attrs:{href:"/settings/home","link-class":"font-weight-bold"}},[e("i",{staticClass:"far fa-cog mr-1"}),t._v(" Settings\n\t\t\t\t\t\t")])],1):e("div",[t.profile.local?t._e():e("b-dropdown-item",{attrs:{href:t.profile.url,"link-class":"font-weight-bold"}},[t._v("View Remote Profile")]),t._v(" "),e("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?e("div",[e("b-dropdown-divider"),t._v(" "),e("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(" "),e("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(" "),e("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(" "),e("div",{staticClass:"d-none d-md-block text-center"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username",class:{remote:!t.profile.local}},[t.profile.local?e("span",[t._v("@"+t._s(t.profile.acct))]):e("a",{staticClass:"primary",attrs:{href:t.profile.url}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),t.profile.locked?e("span",[e("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)?e("p",{staticClass:"mt-n3 text-center"},[t.relationship.followed_by?e("span",{staticClass:"badge badge-primary p-1"},[t._v("Follows you")]):t._e(),t._v(" "),t.relationship.muting?e("span",{staticClass:"badge badge-dark p-1 ml-1"},[t._v("Muted")]):t._e(),t._v(" "),t.relationship.blocking?e("span",{staticClass:"badge badge-danger p-1 ml-1"},[t._v("Blocked")]):t._e()]):t._e()]),t._v(" "),e("div",{staticClass:"d-none d-md-block stats py-2"},[e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("index")}}},[e("strong",{attrs:{title:t.profile.statuses_count}},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),e("span",[t._v(t._s(t.$t("profile.posts")))])]),t._v(" "),e("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("followers")}}},[e("strong",{attrs:{title:t.profile.followers_count}},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),e("span",[t._v(t._s(t.$t("profile.followers")))])]),t._v(" "),e("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("following")}}},[e("strong",{attrs:{title:t.profile.following_count}},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),e("span",[t._v(t._s(t.$t("profile.following")))])])])]),t._v(" "),e("div",{staticClass:"d-flex align-items-center mb-3 mb-md-0"},[t.user.id===t.profile.id?e("div",{staticStyle:{"flex-grow":"1"}},[e("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._v(" "),t.profile.locked?t._e():e("a",{staticClass:"btn btn-light font-weight-bold btn-block follow-btn mt-md-n4",attrs:{href:"/i/web/my-portfolio"}},[t._v("\n My Portfolio\n "),e("span",{staticClass:"badge badge-success ml-1"},[t._v("NEW")])])]):t.profile.hasOwnProperty("moved")&&t.profile.moved.id?e("div",{staticStyle:{"flex-grow":"1"}},[e("div",{staticClass:"card shadow-none rounded-lg mb-3 bg-danger"},[e("div",{staticClass:"card-body"},[t._m(0),t._v(" "),e("p",{staticClass:"mb-0 lead ft-std text-white text-break"},[e("router-link",{staticClass:"btn btn-outline-light btn-block rounded-pill font-weight-bold",attrs:{to:"/i/web/profile/".concat(t.profile.moved.id)}},[t._v("@"+t._s(t.truncate(t.profile.moved.acct)))])],1)])])]):t.profile.locked?e("div",{staticStyle:{"flex-grow":"1"}},[t.relationship.following||t.relationship.requested?t.relationship.requested?e("div",[e("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("profile.followRequested"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small font-weight-bold text-center mt-n4"},[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.cancelFollowRequest()}}},[t._v("Cancel Follow Request")])])]):t.relationship.following?e("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"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t\t")]):t._e():[e("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",attrs:{disabled:t.relationship.blocking},on:{click:t.follow}},[t._v("\n\t\t\t\t\t\t\tRequest Follow\n\t\t\t\t\t\t")]),t._v(" "),t.relationship.blocking?e("p",{staticClass:"mt-n4 text-lighter",staticStyle:{"font-size":"11px"}},[t._v("You need to unblock this account before you can request to follow.")]):t._e()]],2):e("div",{staticStyle:{"flex-grow":"1"}},[t.relationship.following?e("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"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t\t")]):[e("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",attrs:{disabled:t.relationship.blocking},on:{click:t.follow}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("profile.follow"))+"\n\t\t\t\t\t\t")]),t._v(" "),t.relationship.blocking?e("p",{staticClass:"mt-n4 text-lighter",staticStyle:{"font-size":"11px"}},[t._v("You need to unblock this account before you can follow.")]):t._e()]],2),t._v(" "),e("div",{staticClass:"d-block d-md-none ml-3"},[e("b-dropdown",{attrs:{variant:"link",right:"","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[e("i",{staticClass:"far fa-lg fa-cog text-lighter"})]},proxy:!0}])},[t._v(" "),t.profile.local?e("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(" "),e("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?e("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?e("div",[e("b-dropdown-divider"),t._v(" "),e("b-dropdown-item",{attrs:{href:"/settings/home","link-class":"font-weight-bold"}},[e("i",{staticClass:"far fa-cog mr-1"}),t._v(" Settings\n\t\t\t\t\t\t\t")])],1):e("div",[t.profile.local?t._e():e("b-dropdown-item",{attrs:{href:t.profile.url,"link-class":"font-weight-bold"}},[t._v("View Remote Profile")]),t._v(" "),e("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?e("div",[e("b-dropdown-divider"),t._v(" "),e("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"+t._s(t.relationship.muting?"Unmute":"Mute")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("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"+t._s(t.relationship.blocking?"Unblock":"Block")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("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?e("div",{staticClass:"bio-wrapper card shadow-none"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"bio-body"},[e("div",{domProps:{innerHTML:t._s(t.renderedBio)}})])])]):t._e(),t._v(" "),e("div",{staticClass:"d-none d-md-block card card-body shadow-none py-2"},[t.profile.website?e("p",{staticClass:"small"},[t._m(1),t._v(" "),e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.profile.website}},[t._v(t._s(t.profile.website))])])]):t._e(),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._m(2),t._v(" "),t.profile.local?e("span",[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("profile.joined"))+" "+t._s(t.getJoinedDate())+"\n\t\t\t\t\t")]):e("span",[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("profile.joined"))+" "+t._s(t.getJoinedDate())+"\n\n\t\t\t\t\t\t"),e("span",{staticClass:"float-right primary"},[e("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(" "),e("div",{staticClass:"d-none d-md-flex sidebar-sitelinks"},[e("a",{attrs:{href:"/site/about"}},[t._v(t._s(t.$t("navmenu.about")))]),t._v(" "),e("router-link",{attrs:{to:"/i/web/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("router-link",{attrs:{to:"/i/web/language"}},[t._v(t._s(t.$t("navmenu.language")))]),t._v(" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))])],1),t._v(" "),t._m(3)]),t._v(" "),e("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"}},[e("div",{domProps:{innerHTML:t._s(t.profile.note)}})])],1)},o=[function(){var t=this._self._c;return t("div",{staticClass:"d-flex align-items-center ft-std text-white mb-2"},[t("i",{staticClass:"far fa-exclamation-triangle mr-2 text-white"}),this._v("\n Account has moved to:\n ")])},function(){var t=this._self._c;return t("span",{staticClass:"text-lighter mr-2"},[t("i",{staticClass:"far fa-link"})])},function(){var t=this._self._c;return t("span",{staticClass:"text-lighter mr-2"},[t("i",{staticClass:"far fa-clock"})])},function(){var t=this._self._c;return t("div",{staticClass:"d-none d-md-block sidebar-attribution"},[t("a",{staticClass:"font-weight-bold",attrs:{href:"https://pixelfed.org"}},[this._v("Powered by Pixelfed")])])}]},21146:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n Sensitive Content\n ")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n "+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n ")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):[t.shouldPlay?[t.hasHls?e("video",{ref:"video",class:{fixedHeight:t.fixedHeight},staticStyle:{margin:"0"},attrs:{playsinline:"","webkit-playsinline":"",controls:"",autoplay:"false",poster:t.getPoster(t.status)}}):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{autoplay:"false",playsinline:"","webkit-playsinline":"",controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:e("div",{staticClass:"content-label-wrapper",style:{background:"linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.8)),url(".concat(t.getPoster(t.status),")"),backgroundSize:"cover"}},[e("div",{staticClass:"text-light content-label"},[e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-link btn-block btn-sm font-weight-bold",on:{click:function(e){return e.preventDefault(),t.handleShouldPlay.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-play fa-5x text-white"})])])])])]],2)},o=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},49247:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".profile-timeline-component[data-v-5efd4702]{margin-bottom:10rem}",""]);const a=o},35296:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),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 .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const a=o},35518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const a=o},34857:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),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;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const a=o},26689:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".menu-option[data-v-be1fd05a]{color:var(--dark);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;text-decoration:none}.list-group-item[data-v-be1fd05a]{border-color:var(--border-color)}.action-icon-link[data-v-be1fd05a]{display:flex;flex-direction:column}.action-icon-link .icon[data-v-be1fd05a]{margin-bottom:5px;opacity:.5}.action-icon-link p[data-v-be1fd05a]{font-size:11px;font-weight:600}.action-icon-link-inline[data-v-be1fd05a]{align-items:center;display:flex;flex-direction:row;gap:8px;justify-content:center}.action-icon-link-inline p[data-v-be1fd05a]{font-weight:700}",""]);const a=o},49777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const a=o},88740:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),o=s.n(i)()((function(t){return t[1]}));o.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}}.profile-feed-component .video-overlay-badge{color:var(--dark);opacity:.6;padding-bottom:1px;position:absolute;right:10px;top:10px}.profile-feed-component .timestamp-overlay-badge{bottom:10px;opacity:.6;position:absolute;right:10px}.profile-feed-component .profile-nav-btns{margin-right:1rem}.profile-feed-component .profile-nav-btns .btn-group{min-height:45px}.profile-feed-component .profile-nav-btns .btn-link{border-radius:0;color:var(--text-lighter);font-size:14px;font-weight:700;margin-right:1rem}.profile-feed-component .profile-nav-btns .btn-link:hover{color:var(--text-muted);text-decoration:none}.profile-feed-component .profile-nav-btns .btn-link.active{border-bottom:1px solid var(--dark);color:var(--dark);transition:border-bottom .25s ease-in-out}.profile-feed-component .layout-sort-toggle .btn{border:none}.profile-feed-component .layout-sort-toggle .btn.btn-light{opacity:.4}",""]);const a=o},46058:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),o=s.n(i)()((function(t){return t[1]}));o.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)}.profile-followers-component .scroll-card{-ms-overflow-style:none;max-height:calc(100vh - 250px);overflow-y:auto;scroll-behavior:smooth;scrollbar-width:none}.profile-followers-component .scroll-card::-webkit-scrollbar{display:none}.profile-followers-component .spacer-btn{opacity:0;pointer-events:none}",""]);const a=o},92519:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),o=s.n(i)()((function(t){return t[1]}));o.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)}.profile-following-component .scroll-card{-ms-overflow-style:none;max-height:calc(100vh - 250px);overflow-y:auto;scroll-behavior:smooth;scrollbar-width:none}.profile-following-component .scroll-card::-webkit-scrollbar{display:none}.profile-following-component .spacer-btn{opacity:0;pointer-events:none}",""]);const a=o},93100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),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:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const a=o},34347:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),o=s.n(i)()((function(t){return t[1]}));o.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:var(--input-border)}.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;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.profile-sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.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;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 a=o},16626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(49247),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},209:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(35296),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},96259:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(35518),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},48432:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(34857),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},54328:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(26689),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},22626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(49777),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},99003:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(88740),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},51423:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(46058),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},15134:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(92519),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},67621:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(93100),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},31526:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(34347),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},85566:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(37465),o=s(37253),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(24817);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,"5efd4702",null).exports},20591:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(40296),o=s(62392),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},58741:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(17310);const o=(0,s(14486).default)({},i.render,i.staticRenderFns,!1,null,null,null).exports},35547:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(59028),o=s(52548),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(86546);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},5787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(16286),o=s(80260),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(68840);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},13090:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(54229),o=s(13514),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},20243:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(34727),o=s(88012),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(21883);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},72028:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(46098),o=s(93843),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},19138:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(44982),o=s(43509),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},57103:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(56765),o=s(64672),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(74811);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,"be1fd05a",null).exports},49986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(32785),o=s(79577),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(67011);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},29787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(68329);const o=(0,s(14486).default)({},i.render,i.staticRenderFns,!1,null,null,null).exports},59515:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(4607),o=s(38972),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},79110:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(5458),o=s(99369),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},84800:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(43047),o=s(6119),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},27821:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(99421),o=s(28934),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},50294:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(95728),o=s(33417),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},99681:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(9836),o=s(22350),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},62457:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(15040),o=s(19894),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(42254);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},36470:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(7432),o=s(83593),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(94608);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},99234:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(57783),o=s(54293),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(16201);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},34719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(38888),o=s(42260),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(88814);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},99487:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(75637),o=s(71212),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(18405);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},75938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(86943),o=s(42909),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},37253:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(21801),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},62392:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(66655),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},52548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(56987),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},80260:(t,e,s)=>{"use strict";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},13514:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(25054),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},88012:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(3211),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},93843:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(24758),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},43509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(85100),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},64672:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(49415),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},79577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(37844),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},38972:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(67975),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},99369:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(61746),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},6119:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(22434),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},28934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(99397),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},33417:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(6140),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},22350:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(85679),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},19894:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(24603),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},83593:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(19306),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},54293:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(79654),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},42260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(3223),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},71212:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(82683),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},42909:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(68910),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},37465:(t,e,s)=>{"use strict";s.r(e);var i=s(59300),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},40296:(t,e,s)=>{"use strict";s.r(e);var i=s(98221),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},17310:(t,e,s)=>{"use strict";s.r(e);var i=s(24853),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},59028:(t,e,s)=>{"use strict";s.r(e);var i=s(70201),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},16286:(t,e,s)=>{"use strict";s.r(e);var i=s(69831),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},54229:(t,e,s)=>{"use strict";s.r(e);var i=s(82960),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},34727:(t,e,s)=>{"use strict";s.r(e);var i=s(55318),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},46098:(t,e,s)=>{"use strict";s.r(e);var i=s(54309),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},44982:(t,e,s)=>{"use strict";s.r(e);var i=s(82285),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},56765:(t,e,s)=>{"use strict";s.r(e);var i=s(4215),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},32785:(t,e,s)=>{"use strict";s.r(e);var i=s(27934),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},68329:(t,e,s)=>{"use strict";s.r(e);var i=s(7971),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},4607:(t,e,s)=>{"use strict";s.r(e);var i=s(92162),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},5458:(t,e,s)=>{"use strict";s.r(e);var i=s(79911),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},43047:(t,e,s)=>{"use strict";s.r(e);var i=s(44516),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},99421:(t,e,s)=>{"use strict";s.r(e);var i=s(51992),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},95728:(t,e,s)=>{"use strict";s.r(e);var i=s(16331),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},9836:(t,e,s)=>{"use strict";s.r(e);var i=s(66295),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},15040:(t,e,s)=>{"use strict";s.r(e);var i=s(9143),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},7432:(t,e,s)=>{"use strict";s.r(e);var i=s(48281),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},57783:(t,e,s)=>{"use strict";s.r(e);var i=s(29594),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},38888:(t,e,s)=>{"use strict";s.r(e);var i=s(53577),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},75637:(t,e,s)=>{"use strict";s.r(e);var i=s(59100),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},86943:(t,e,s)=>{"use strict";s.r(e);var i=s(21146),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},24817:(t,e,s)=>{"use strict";s.r(e);var i=s(16626),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},86546:(t,e,s)=>{"use strict";s.r(e);var i=s(209),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},68840:(t,e,s)=>{"use strict";s.r(e);var i=s(96259),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},21883:(t,e,s)=>{"use strict";s.r(e);var i=s(48432),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},74811:(t,e,s)=>{"use strict";s.r(e);var i=s(54328),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},67011:(t,e,s)=>{"use strict";s.r(e);var i=s(22626),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},42254:(t,e,s)=>{"use strict";s.r(e);var i=s(99003),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},94608:(t,e,s)=>{"use strict";s.r(e);var i=s(51423),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},16201:(t,e,s)=>{"use strict";s.r(e);var i=s(15134),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},88814:(t,e,s)=>{"use strict";s.r(e);var i=s(67621),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},18405:(t,e,s)=>{"use strict";s.r(e);var i=s(31526),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},11220:()=>{},16052:()=>{},40295:()=>{},89858:()=>{},45187:()=>{},87919:()=>{},40264:()=>{},80434:()=>{},18053:()=>{}}]); \ No newline at end of file +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[8087],{21801:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var i=s(5787),o=s(62457),a=s(99487),n=s(36470),r=s(99234);const l={props:{id:{type:String},profileId:{type:String},username:{type:String},cachedProfile:{type:Object},cachedUser:{type:Object}},components:{drawer:i.default,"profile-feed":o.default,"profile-sidebar":a.default,"profile-followers":n.default,"profile-following":r.default},data:function(){return{isLoaded:!1,curUser:void 0,tab:"index",profile:void 0,relationship:void 0,showMoved:!1}},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=e.data,t.profile.locked&&location.reload(),t.profile.followers_count--})).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=e.data,t.profile.locked&&(t.relationship.requested=!0),t.profile.followers_count++})).catch((function(e){swal("Oops!","An error occured when attempting to follow this account.","error"),t.relationship.following=!1}))},updateRelationship:function(t){this.relationship=t}}}},66655:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(95341);const o={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(){},beforeDestroy:function(){},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),o=(0,i.decode)(this.hash,t,e,s),a=this.$refs.canvas.getContext("2d"),n=a.createImageData(t,e);n.data.set(o),a.putImageData(n,0,0)}}}},56987:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(20243),o=s(84800),a=s(79110),n=s(27821);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.shadowStatus.media_attachments||!this.shadowStatus.media_attachments.length)&&this.shadowStatus.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.shadowStatus.account.id==window._sharedData.user.id,this.shadowStatus.reply_count&&this.autoloadComments&&!1===this.shadowStatus.comments_disabled&&setTimeout((function(){t.showCommentDrawer=!0}),1e3)},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}},fixedHeight:{get:function(){return 1==this.$store.state.fixedHeight}},autoloadComments:{get:function(){return 1==this.$store.state.autoloadComments}},newReactions:{get:function(){return this.$store.state.newReactions}},isReblog:{get:function(){return null!=this.status.reblog}},reblogAccount:{get:function(){return this.status.reblog?this.status.account:null}},shadowStatus:{get:function(){return this.status.reblog?this.status.reblog:this.status}}},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")}}}},50371:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={data:function(){return{user:window._sharedData.user}}}},25054:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={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}))}}}},3211:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var i=s(79288),o=s(50294),a=s(34719),n=s(72028),r=s(19138);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,deletingIndex:void 0}},mounted:function(){this.fetchContext()},computed:{hideCounts:{get:function(){return 1==this.$store.state.hideCounts}}},methods:{fetchContext:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),e.data&&e.data.data&&(e.data.data.length||!t.status.reply_count)||(t.showEmptyRepliesRefresh=!0)}))},fetchMore:function(){var t,e=this,s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;event&&(null===(t=event.target)||void 0===t||t.blur());this.nextUrl&&axios.get(this.nextUrl,{params:{limit:s,sort:this.sorts[this.sortIndex]}}).then((function(t){e.feedLoading=!1,t.data.next||(e.canLoadMore=!1),e.nextUrl=t.data.next,t.data.data.forEach((function(t){e.ids&&-1==e.ids.indexOf(t.id)&&(e.ids.push(t.id),e.feed.push(t))}))}))},fetchSortedFeed:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,sort:this.sorts[this.sortIndex]}}).then((function(e){t.feed=e.data.data,t.nextUrl=e.data.next,t.feedLoading=!1}))},forceRefresh:function(){var t=this;axios.get("/api/v2/statuses/"+this.status.id+"/replies",{params:{limit:3,refresh_cache:!0}}).then((function(e){e.data.next&&(t.nextUrl=e.data.next,t.canLoadMore=!0),e.data.data.forEach((function(e){t.ids.push(e.id),t.feed.push(e)})),t.showEmptyRepliesRefresh=!1}))},timeago:function(t){return App.util.format.timeAgo(t)},prettyCount:function(t){return App.util.format.count(t)},goToPost:function(t){this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.status.id,sensitive:this.settings.sensitive}).then((function(e){var s=e.data;s.replies=[],t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.feed.push(s),t.$emit("counter-change","comment-increment")}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&(this.deletingIndex=t,axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.ids&&e.ids.length&&e.ids.splice(t,1),e.feed&&e.feed.length&&e.feed.splice(t,1),e.$emit("counter-change","comment-decrement")})).then((function(){e.deletingIndex=void 0,e.fetchMore(1)})))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,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",{status:t.replyContent,media_ids:[e.data.id],in_reply_to_id:t.status.id,sensitive:t.settings.sensitive}).then((function(e){t.feed.push(e.data),t.replyContent=void 0,t.isPostingReply=!1,t.ids.push(e.data.id),t.$emit("counter-change","comment-increment")}))}))}},lightbox:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.lightboxStatus=t.media_attachments[e],this.$refs.lightboxModal.show()},hideLightbox:function(){this.lightboxStatus=null,this.$refs.lightboxModal.hide()},blurhashWidth:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?30:20},blurhashHeight:function(t){if(!t.media_attachments[0].meta)return 25;var e=t.media_attachments[0].meta.original.aspect;return 1==e?25:e>1?20:30},getMediaSource:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=t.media_attachments[e];return s.preview_url.endsWith("storage/no-preview.png")?s.url:s.preview_url},toggleReplyExpand:function(){event.currentTarget.blur(),this.settings.expanded=!this.settings.expanded},toggleCommentReply:function(t){this.commentReplyIndex=t,this.showCommentReplies(t)},showCommentReplies:function(t){if(this.feed[t].hasOwnProperty("replies_show")&&this.feed[t].replies_show)return this.feed[t].replies_show=!1,void(this.commentReplyIndex=void 0);this.feed[t].replies_show=!0,this.commentReplyIndex=t,this.fetchCommentReplies(t)},hideCommentReplies:function(t){this.commentReplyIndex=void 0,this.feed[t].replies_show=!1},fetchCommentReplies:function(t){var e=this;axios.get("/api/v2/statuses/"+this.feed[t].id+"/replies",{params:{limit:3}}).then((function(s){e.feed[t].replies=s.data.data}))},getPostAvatar:function(t){return this.profile.id==t.account.id?window._sharedData.user.avatar:t.account.avatar},follow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/follow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count+1,window._sharedData.user.following_count=window._sharedData.user.following_count+1}))},unfollow:function(t){var e=this;axios.post("/api/v1/accounts/"+this.feed[t].account.id+"/unfollow").then((function(s){e.$store.commit("updateRelationship",[s.data]),e.feed[t].account.followers_count=e.feed[t].account.followers_count-1,window._sharedData.user.following_count=window._sharedData.user.following_count-1}))},handleCounterChange:function(t){this.$emit("counter-change",t)},pushCommentReply:function(t,e){this.feed[t].hasOwnProperty("replies")?this.feed[t].replies.push(e):this.feed[t].replies=[e],this.feed[t].reply_count=this.feed[t].reply_count+1,this.feed[t].replies_show=!0},replyCounterChange:function(t,e){switch(e){case"comment-increment":this.feed[t].reply_count=this.feed[t].reply_count+1;break;case"comment-decrement":this.feed[t].reply_count=this.feed[t].reply_count-1}}}}},24758:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(50294);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("new-comment",e.data)}))},toggleSort:function(t){this.$refs.sortMenu.hide(),this.feedLoading=!0,this.sortIndex=t,this.fetchSortedFeed()},deleteComment:function(t){var e=this;event.currentTarget.blur(),window.confirm(this.$t("menu.deletePostConfirm"))&&axios.post("/i/delete",{type:"status",item:this.feed[t].id}).then((function(s){e.feed.splice(t,1),e.$emit("counter-change","comment-decrement"),e.fetchMore(1)})).catch((function(t){}))},showLikesModal:function(t){this.$emit("show-likes",this.feed[t])},reportComment:function(t){this.$emit("handle-report",this.feed[t])},likeComment:function(t){event.currentTarget.blur();var e=this.feed[t],s=e.favourites_count,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}}}},85100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:{parentId:{type:String}},data:function(){return{config:App.config,isPostingReply:!1,replyContent:"",profile:window._sharedData.user,sensitive:!1}},methods:{storeComment:function(){var t=this;this.isPostingReply=!0,axios.post("/api/v1/statuses",{status:this.replyContent,in_reply_to_id:this.parentId,sensitive:this.sensitive}).then((function(e){t.replyContent=void 0,t.isPostingReply=!1,t.$emit("new-comment",e.data)}))}}}},49415:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:["status","profile"],data:function(){return{config:window.App.config,ctxMenuStatus:!1,ctxMenuRelationship:!1,ctxEmbedPayload:!1,copiedEmbed:!1,replySending:!1,ctxEmbedShowCaption:!0,ctxEmbedShowLikes:!1,ctxEmbedCompactMode:!1,confirmModalTitle:"Are you sure?",confirmModalIdentifer:null,confirmModalType:!1,isDeleting:!1}},watch:{ctxEmbedShowCaption:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedShowLikes:function(t,e){1==t&&(this.ctxEmbedCompactMode=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)},ctxEmbedCompactMode:function(t,e){1==t&&(this.ctxEmbedShowCaption=!1,this.ctxEmbedShowLikes=!1);var s=this.ctxEmbedCompactMode?"compact":"full";this.ctxEmbedPayload=window.App.util.embed.post(this.ctxMenuStatus.url,this.ctxEmbedShowCaption,this.ctxEmbedShowLikes,s)}},methods:{open:function(){this.ctxMenu()},openModMenu:function(){this.$refs.ctxModModal.show()},ctxMenu:function(){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/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;this.statusUrl(t),this.closeCtxMenu()},ctxMenuGoToProfile:function(){var t=this.ctxMenuStatus;this.profileUrl(t),this.closeCtxMenu()},ctxMenuReportPost:function(){this.$refs.ctxModal.hide(),this.$emit("report-modal",this.ctxMenuStatus)},ctxMenuEmbed:function(){this.closeModals(),this.$refs.ctxEmbedModal.show()},ctxMenuShare:function(){this.$refs.ctxModal.hide(),this.$refs.ctxShareModal.show()},closeCtxShareMenu:function(){this.$refs.ctxShareModal.hide(),this.$refs.ctxModal.show()},ctxCopyEmbed:function(){navigator.clipboard.writeText(this.ctxEmbedPayload),this.ctxEmbedShowCaption=!0,this.ctxEmbedShowLikes=!1,this.ctxEmbedCompactMode=!1,this.$refs.ctxEmbedModal.hide()},ctxModMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.show()},ctxModOtherMenuShow:function(){this.$refs.ctxModal.hide(),this.$refs.ctxModModal.hide(),this.$refs.ctxModOtherModal.show()},ctxModMenu:function(){this.$refs.ctxModal.hide()},ctxModMenuClose:function(){this.closeModals()},ctxModOtherMenuClose:function(){this.closeModals(),this.$refs.ctxModModal.show()},formatCount:function(t){return App.util.format.count(t)},openCtxReportOtherMenu:function(){var t=this.ctxMenuStatus;this.closeCtxMenu(),this.ctxMenuStatus=t,this.$refs.ctxReportOther.show()},ctxReportMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxReport.hide(),this.$refs.ctxModal.show()},ctxReportOtherMenuGoBack:function(){this.$refs.ctxReportOther.hide(),this.$refs.ctxModal.hide(),this.$refs.ctxReport.show()},sendReport:function(t){var e=this,s=this.ctxMenuStatus.id;swal({title:this.$t("menu.confirmReport"),text:this.$t("menu.confirmReportText"),icon:"warning",buttons:!0,dangerMode:!0}).then((function(i){i?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 i=this,o=(t.account.username,t.id,""),a=this;switch(e){case"addcw":o=this.$t("menu.modAddCWConfirm"),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(i.$t("common.success"),i.$t("menu.modCWSuccess"),"success"),i.$emit("moderate","addcw"),a.closeModals(),a.ctxModMenuClose()})).catch((function(t){a.closeModals(),a.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"remcw":o=this.$t("menu.modRemoveCWConfirm"),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(i.$t("common.success"),i.$t("menu.modRemoveCWSuccess"),"success"),i.$emit("moderate","remcw"),a.closeModals(),a.ctxModMenuClose()})).catch((function(t){a.closeModals(),a.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"unlist":o=this.$t("menu.modUnlistConfirm"),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){i.$emit("moderate","unlist"),swal(i.$t("common.success"),i.$t("menu.modUnlistSuccess"),"success"),a.closeModals(),a.ctxModMenuClose()})).catch((function(t){a.closeModals(),a.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}));break;case"spammer":o=this.$t("menu.modMarkAsSpammerConfirm"),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){i.$emit("moderate","spammer"),swal(i.$t("common.success"),i.$t("menu.modMarkAsSpammerSuccess"),"success"),a.closeModals(),a.ctxModMenuClose()})).catch((function(t){a.closeModals(),a.ctxModMenuClose(),swal(i.$t("common.error"),i.$t("common.errorMsg"),"error")}))}))}},statusUrl:function(t){if(1!=t.account.local)return this.$route.params.hasOwnProperty("id")?void(location.href=t.url):void this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}});this.$router.push({name:"post",path:"/i/web/post/".concat(t.id),params:{id:t.id,cachedStatus:t,cachedProfile:this.profile}})},profileUrl:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.account.id),params:{id:t.account.id,cachedProfile:t.account,cachedUser:this.profile}})},deletePost:function(t){var e=this;this.isDeleting=!0,0!=this.ownerOrAdmin(t)&&swal({title:"Confirm Delete",text:"Are you sure you want to delete this post?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){s?axios.post("/i/delete",{type:"status",item:t.id}).then((function(t){e.$emit("delete"),e.closeModals(),e.isDeleting=!1})).catch((function(t){e.closeModals(),e.isDeleting=!1,swal(e.$t("common.error"),e.$t("common.errorMsg"),"error")})):(e.closeModals(),e.isDeleting=!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()},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("delete",t.id),e.$emit("archived",t.id),e.closeModals()}))},unarchivePost:function(t){var e=this;0!=window.confirm(this.$t("menu.unarchivePostConfirm"))&&axios.post("/api/pixelfed/v2/status/"+t.id+"/unarchive").then((function(s){e.$emit("unarchived",t.id),e.closeModals()}))},editPost:function(t){this.closeModals(),this.$emit("edit",t)},handleMute:function(){var t=this;if(this.ctxMenuRelationship){var e=this.ctxMenuRelationship.muting;swal({title:e?"Confirm Unmute":"Confirm Mute",text:e?"Are you sure you want to unmute this account?":"Are you sure you want to mute this account?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){if(s){var i="/api/v1/accounts/".concat(t.status.account.id,e?"/unmute":"/mute");axios.post(i).then((function(e){t.closeModals(),t.$emit("muted",t.status),t.$store.commit("updateRelationship",[e.data])})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")}))}else t.closeModals()}))}},handleBlock:function(){var t=this;if(this.ctxMenuRelationship){var e=this.ctxMenuRelationship.blocking;swal({title:e?"Confirm Unblock":"Confirm Block",text:e?"Are you sure you want to unblock this account?":"Are you sure you want to block this account?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(s){if(s){var i="/api/v1/accounts/".concat(t.status.account.id,e?"/unblock":"/block");axios.post(i).then((function(e){t.closeModals(),t.$store.commit("updateRelationship",[e.data]),t.$emit("muted",t.status)})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")}))}else t.closeModals()}))}},handleUnfollow:function(){var t=this;this.ctxMenuRelationship&&swal({title:"Unfollow",text:"Are you sure you want to unfollow "+this.status.account.username+"?",icon:"warning",buttons:!0,dangerMode:!0}).then((function(e){e?axios.post("/api/v1/accounts/".concat(t.status.account.id,"/unfollow")).then((function(e){t.closeModals(),t.$store.commit("updateRelationship",[e.data]),t.$emit("unfollow",t.status)})).catch((function(e){t.closeModals(),e&&e.response&&e.response.data&&e.response.data.error?swal("Error",e.response.data.error,"error"):swal("Oops!","An error occured, please try again later.","error")})):t.closeModals()}))}}}},37844:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});const i={props:{status:{type:Object}},data:function(){return{isOpen:!1,isLoading:!0,allHistory:[],historyIndex:void 0,user:window._sharedData.user}},methods:{open:function(){var t=this;this.isOpen=!0,this.isLoading=!0,this.historyIndex=void 0,this.allHistory=[],setTimeout((function(){t.fetchHistory()}),300)},fetchHistory:function(){var t=this;axios.get("/api/v1/statuses/".concat(this.status.id,"/history")).then((function(e){t.allHistory=e.data})).finally((function(){t.isLoading=!1}))},getDiff:function(t){if(t==this.allHistory.length-1)return this.allHistory[this.allHistory.length-1].content;var e=document.createElement("div");return r.forEach((function(t){var s=t.added?"green":t.removed?"red":"grey",i=document.createElement("span");(i.style.color=s,console.log(t.value,t.value.length),t.added)?t.value.trim().length?i.appendChild(document.createTextNode(t.value)):i.appendChild(document.createTextNode("·")):i.appendChild(document.createTextNode(t.value));e.appendChild(i)})),e.innerHTML},formatTime:function(t){var e=Date.parse(t),s=Math.floor((new Date-e)/1e3),i=Math.floor(s/63072e3);return i<0?"0s":i>=1?i+(1==i?" year":" years")+" ago":(i=Math.floor(s/604800))>=1?i+(1==i?" week":" weeks")+" ago":(i=Math.floor(s/86400))>=1?i+(1==i?" day":" days")+" ago":(i=Math.floor(s/3600))>=1?i+(1==i?" hour":" hours")+" ago":(i=Math.floor(s/60))>=1?i+(1==i?" minute":" minutes")+" ago":Math.floor(s)+" seconds ago"},postType:function(){if(void 0!==this.historyIndex){var t=this.allHistory[this.historyIndex];if(!t)return"text";var e=t.media_attachments;return e&&e.length?1==e.length?e[0].type:"album":"text"}}}}},67975:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(25100),o=s(29787),a=s(24848);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:i.default,"like-placeholder":o.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchLikes:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,a.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchLikes(),this.$refs.likesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/favourited_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,a.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},61746:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(18634),o=s(50294),a=s(75938);const n={props:["status"],components:{"read-more":o.default,"video-player":a.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},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},22434:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(34719),o=s(49986);const a={props:{status:{type:Object},profile:{type:Object},useDropdownMenu:{type:Boolean,default:!1},isReblog:{type:Boolean,default:!1},reblogAccount:{type:Object}},components:{"profile-hover-card":i.default,"edit-history-modal":o.default},data:function(){return{config:window.App.config,menuLoading:!0,owner:!1,admin:!1,license:!1}},methods:{timeago:function(t){var e=App.util.format.timeAgo(t);return e.endsWith("s")||e.endsWith("m")||e.endsWith("h")?e:new Intl.DateTimeFormat(void 0,{year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}).format(new Date(t))},openMenu:function(){this.$emit("menu")},scopeIcon:function(t){switch(t){case"public":default:return"far fa-globe";case"unlisted":return"far fa-lock-open";case"private":return"far fa-lock"}},scopeTitle:function(t){switch(t){case"public":return"Visible to everyone";case"unlisted":return"Hidden from public feeds";case"private":return"Only visible to followers";default:return""}},goToPost:function(){location.pathname.split("/").pop()!=this.status.id?this.$router.push({name:"post",path:"/i/web/post/".concat(this.status.id),params:{id:this.status.id,cachedStatus:this.status,cachedProfile:this.profile}}):location.href=this.status.local?this.status.url+"?fs=1":this.status.url},goToProfileById:function(t){var e=this;this.$nextTick((function(){e.$router.push({name:"profile",path:"/i/web/profile/".concat(t),params:{id:t,cachedUser:e.profile}})}))},goToProfile:function(){var t=this;this.$nextTick((function(){t.$router.push({name:"profile",path:"/i/web/profile/".concat(t.status.account.id),params:{id:t.status.account.id,cachedProfile:t.status.account,cachedUser:t.profile}})}))},toggleContentWarning:function(){this.key++,this.sensitive=!0,this.status.sensitive=!this.status.sensitive},like:function(){event.currentTarget.blur(),this.status.favourited?this.$emit("unlike"):this.$emit("like")},toggleMenu:function(t){var e=this;setTimeout((function(){e.menuLoading=!1}),500)},closeMenu:function(t){setTimeout((function(){t.target.parentNode.firstElementChild.blur()}),100)},showLikes:function(){event.currentTarget.blur(),this.$emit("likes-modal")},showShares:function(){event.currentTarget.blur(),this.$emit("shares-modal")},showComments:function(){event.currentTarget.blur(),this.showCommentDrawer=!this.showCommentDrawer},copyLink:function(){event.currentTarget.blur(),App.util.clipboard(this.status.url)},shareToOther:function(){navigator.canShare?navigator.share({url:this.status.url}).then((function(){return console.log("Share was successful.")})).catch((function(t){return console.log("Sharing failed",t)})):swal("Not supported","Your current device does not support native sharing.","error")},counterChange:function(t){this.$emit("counter-change",t)},showCommentLikes:function(t){this.$emit("comment-likes-modal",t)},shareStatus:function(){this.$emit("share")},unshareStatus:function(){this.$emit("unshare")},handleReport:function(t){this.$emit("handle-report",t)},follow:function(){this.$emit("follow")},unfollow:function(){this.$emit("unfollow")},handleReblog:function(){var t=this;this.isReblogging=!0,this.status.reblogged?this.$emit("unshare"):this.$emit("share"),setTimeout((function(){t.isReblogging=!1}),5e3)},handleBookmark:function(){var t=this;event.currentTarget.blur(),this.isBookmarking=!0,this.$emit("bookmark"),setTimeout((function(){t.isBookmarking=!1}),5e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")},openEditModal:function(){this.$refs.editModal.open()}}}},99397:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(20243),o=s(34719);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}),2e3)},getStatusAvatar:function(){return window._sharedData.user.id==this.status.account.id?window._sharedData.user.avatar:this.status.account.avatar},openModTools:function(){this.$emit("mod-tools")}}}},6140:(t,e,s)=>{"use strict";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=e.getAttribute("href"),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)}))}}}},85679:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(25100),o=s(29787),a=s(24848);const n={props:{status:{type:Object},profile:{type:Object}},components:{intersect:i.default,"like-placeholder":o.default},data:function(){return{isOpen:!1,isLoading:!0,canLoadMore:!1,isFetchingMore:!1,likes:[],ids:[],cursor:void 0,isUpdatingFollowState:!1,followStateIndex:void 0,user:window._sharedData.user}},methods:{clear:function(){this.isOpen=!1,this.isLoading=!0,this.canLoadMore=!1,this.isFetchingMore=!1,this.likes=[],this.ids=[],this.cursor=void 0},fetchShares:function(){var t=this;axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:40,_pe:1}}).then((function(e){if(t.ids=e.data.map((function(t){return t.id})),t.likes=e.data,e.headers&&e.headers.link){var s=(0,a.parseLinkHeader)(e.headers.link);s.prev?(t.cursor=s.prev.cursor,t.canLoadMore=!0):t.canLoadMore=!1}else t.canLoadMore=!1;t.isLoading=!1}))},open:function(){this.cursor&&this.clear(),this.isOpen=!0,this.fetchShares(),this.$refs.sharesModal.show()},enterIntersect:function(){var t=this;this.isFetchingMore||(this.isFetchingMore=!0,axios.get("/api/v1/statuses/"+this.status.id+"/reblogged_by",{params:{limit:10,cursor:this.cursor,_pe:1}}).then((function(e){if(!e.data||!e.data.length)return t.canLoadMore=!1,void(t.isFetchingMore=!1);if(e.data.forEach((function(e){-1==t.ids.indexOf(e.id)&&(t.ids.push(e.id),t.likes.push(e))})),e.headers&&e.headers.link){var s=(0,a.parseLinkHeader)(e.headers.link);s.prev?t.cursor=s.prev.cursor:t.canLoadMore=!1}else t.canLoadMore=!1;t.isFetchingMore=!1})))},getUsername:function(t){return t.display_name?t.display_name:t.username},goToProfile:function(t){this.$router.push({name:"profile",path:"/i/web/profile/".concat(t.id),params:{id:t.id,cachedProfile:t,cachedUser:this.profile}})},handleFollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/follow").then((function(s){e.likes[t].follows=!0,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))},handleUnfollow:function(t){var e=this;event.currentTarget.blur(),this.followStateIndex=t,this.isUpdatingFollowState=!0;var s=this.likes[t];axios.post("/api/v1/accounts/"+s.id+"/unfollow").then((function(s){e.likes[t].follows=!1,e.followStateIndex=void 0,e.isUpdatingFollowState=!1}))}}}},24603:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>h});var i=s(25100),o=s(35547),a=s(58741),n=s(20591),r=s(57103),l=s(59515),c=s(99681),d=s(13090),u=s(24848);function f(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 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 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 s=0,i=new Array(e);s0})),i=s.map((function(t){return t.id}));t.ids=i,t.max_id=Math.min.apply(Math,f(i)),s.forEach((function(e){t.feed.push(e)})),setTimeout((function(){t.canLoadMore=e.data.length>1,t.feedLoaded=!0}),500)}))},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);var s=e.data.filter((function(t){return t.media_attachments.length>0})).filter((function(e){return-1==t.ids.indexOf(e.id)}));if(!s||!s.length)return t.canLoadMore=!1,void(t.isIntersecting=!1);s.forEach((function(e){e.id=1})).catch((function(e){t.canLoadMore=!1})))},toggleLayout:function(t){arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&event.currentTarget.blur(),this.layoutIndex=t,this.isIntersecting=!1},toggleTab:function(t){switch(event.currentTarget.blur(),t){case 1:this.isIntersecting=!1,this.tabIndex=1;break;case 2:this.fetchCollections();break;case 3:this.fetchFavourites();break;case"bookmarks":this.fetchBookmarks();break;case"archives":this.fetchArchives()}},fetchCollections:function(){var t=this;this.collectionsLoaded&&(this.tabIndex=2),axios.get("/api/local/profile/collections/"+this.profile.id).then((function(e){t.collections=e.data,t.collectionsLoaded=!0,t.tabIndex=2,t.collectionsPage++,t.canLoadMoreCollections=9===e.data.length}))},enterCollectionsIntersect:function(){var t=this;this.isCollectionsIntersecting||(this.isCollectionsIntersecting=!0,axios.get("/api/local/profile/collections/"+this.profile.id,{params:{limit:9,page:this.collectionsPage}}).then((function(e){var s;e.data&&e.data.length||(t.canLoadMoreCollections=!1),t.collectionsLoaded=!0,(s=t.collections).push.apply(s,f(e.data)),t.collectionsPage++,t.canLoadMoreCollections=e.data.length>0,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,f(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/v1/bookmarks",{params:{_pe:1}}).then((function(e){if(t.tabIndex="bookmarks",t.bookmarks=e.data,e.headers&&e.headers.link){var s=(0,u.parseLinkHeader)(e.headers.link);s.next?(t.bookmarksPage=s.next.cursor,t.canLoadMoreBookmarks=!0):t.canLoadMoreBookmarks=!1}t.bookmarksLoaded=!0}))},enterBookmarksIntersect:function(){var t=this;this.isIntersecting||(this.isIntersecting=!0,axios.get("/api/v1/bookmarks",{params:{_pe:1,cursor:this.bookmarksPage}}).then((function(e){var s;if((s=t.bookmarks).push.apply(s,f(e.data)),e.headers&&e.headers.link){var i=(0,u.parseLinkHeader)(e.headers.link);i.next?(t.bookmarksPage=i.next.cursor,t.canLoadMoreBookmarks=!0):t.canLoadMoreBookmarks=!1}t.isIntersecting=!1})).catch((function(e){t.canLoadMoreBookmarks=!1})))},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],i=(s.favourited,s.favourites_count);this.feed[t].favourites_count=i+1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/favourite").catch((function(s){e.feed[t].favourites_count=i,e.feed[t].favourited=!1}))},unlikeStatus:function(t){var e=this,s=this.feed[t],i=(s.favourited,s.favourites_count);this.feed[t].favourites_count=i-1,this.feed[t].favourited=!s.favourited,axios.post("/api/v1/statuses/"+s.id+"/unfavourite").catch((function(s){e.feed[t].favourites_count=i,e.feed[t].favourited=!1}))},openContextMenu:function(t){var e=this;switch(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"feed"){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],i=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=i+1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/reblog").catch((function(s){e.feed[t].reblogs_count=i,e.feed[t].reblogged=!1}))},unshareStatus:function(t){var e=this,s=this.feed[t],i=(s.reblogged,s.reblogs_count);this.feed[t].reblogs_count=i-1,this.feed[t].reblogged=!s.reblogged,axios.post("/api/v1/statuses/"+s.id+"/unreblog").catch((function(s){e.feed[t].reblogs_count=i,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,f(e.data)),t.archivesPage++,t.canLoadMoreArchives=0!=e.data.length,t.isIntersecting=!1})).catch((function(e){t.canLoadMoreArchives=!1})))},handleBookmark:function(t){var e=this;if(window.confirm("Are you sure you want to unbookmark this post?")){var s=this.bookmarks[t];axios.post("/i/bookmark",{item:s.id}).then((function(i){e.bookmarks=e.bookmarks.map((function(t){return t.id==s.id&&(t.bookmarked=!1,delete t.bookmarked_at),t})),e.bookmarks.splice(t,1)})).catch((function(t){e.$bvToast.toast("Cannot bookmark post at this time.",{title:"Bookmark Error",variant:"danger",autoHideDelay:5e3})}))}}}}},19306:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>p});var i=s(25100),o=s(29787),a=s(34719),n=s(95353),r=s(24848);function l(t){return l="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},l(t)}function c(t){return function(t){if(Array.isArray(t))return d(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 d(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 d(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 d(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);s)?/g,(function(t){var s=t.slice(1,t.length-1),i=e.getCustomEmoji.filter((function(t){return t.shortcode==s}));return i.length?''.concat(i[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}})},goBack:function(){this.$emit("back")},setCacheWarmTimeout:function(){var t=this;if(this.cacheWarmInterations>=5)return this.isWarmingCache=!1,void swal("Oops","Its taking longer than expected to collect this account followers. Please try again later","error");this.cacheWarmTimeout=setTimeout((function(){t.cacheWarmInterations++,t.fetchFollowers()}),45e3)}}}},79654:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>p});var i=s(25100),o=s(29787),a=s(34719),n=s(95353),r=s(24848);function l(t){return l="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},l(t)}function c(t){return function(t){if(Array.isArray(t))return d(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 d(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 d(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 d(t,e){(null==e||e>t.length)&&(e=t.length);for(var s=0,i=new Array(e);s)?/g,(function(t){var s=t.slice(1,t.length-1),i=e.getCustomEmoji.filter((function(t){return t.shortcode==s}));return i.length?''.concat(i[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}})},goBack:function(){this.$emit("back")},setCacheWarmTimeout:function(){var t=this;if(this.cacheWarmInterations>=5)return this.isWarmingCache=!1,void swal("Oops","Its taking longer than expected to collect following accounts. Please try again later","error");this.cacheWarmTimeout=setTimeout((function(){t.cacheWarmInterations++,t.fetchFollowers()}),45e3)}}}},3223:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});var i=s(50294),o=s(95353);function a(t){return a="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},a(t)}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 r(t,e,s){var i;return i=function(t,e){if("object"!=a(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!=a(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==a(i)?i:i+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const l={props:{profile:{type:Object}},components:{ReadMore: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)}}}},82683:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(95353);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function 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){var i;return i=function(t,e){if("object"!=o(t)||!t)return t;var s=t[Symbol.toPrimitive];if(void 0!==s){var i=s.call(t,e||"default");if("object"!=o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==o(i)?i:i+"")in t?Object.defineProperty(t,e,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[e]=s,t}const r={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),i=t.getCustomEmoji.filter((function(t){return t.shortcode==s}));return i.length?''.concat(i[0].shortcode,''):e}))}return s},truncate:function(t){if(t)return t.length>15?t.slice(0,15)+"...":t},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(),["followers","following"].includes(t)?this.$router.push("/i/web/profile/"+this.profile.id+"/"+t):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,i=document.createElement("div");i.innerHTML=s,i.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)})),i.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.renderedBio=i.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.$emit("updateRelationship",s.data),swal("Success","You have successfully "+e+" "+t.profile.acct,"success")})).catch((function(t){var e;422===t.response.status?swal({title:"Error",text:null===(e=t.response)||void 0===e||null===(e=e.data)||void 0===e?void 0:e.error,icon:"error",buttons:{review:{text:"Review muted accounts",value:"review",className:"btn-primary"},cancel:!0}}).then((function(t){t&&"review"==t&&(location.href="/settings/privacy/muted-users")})):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.$emit("updateRelationship",s.data),swal("Success","You have successfully "+e+"ed "+t.profile.acct,"success")})).catch((function(t){var e;422===t.response.status?swal({title:"Error",text:null===(e=t.response)||void 0===e||null===(e=e.data)||void 0===e?void 0:e.error,icon:"error",buttons:{review:{text:"Review blocked accounts",value:"review",className:"btn-primary"},cancel:!0}}).then((function(t){t&&"review"==t&&(location.href="/settings/privacy/blocked-users")})):swal("Error","Something went wrong. Please try again later.","error")}))},cancelFollowRequest:function(){window.confirm("Are you sure you want to cancel your follow request?")&&(event.currentTarget.blur(),this.$emit("unfollow"))}}}},68910:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(64945),o=(s(34076),s(34330)),a=s.n(o),n=(s(10706),s(71241));const r={props:["status","fixedHeight"],data:function(){return{shouldPlay:!1,hasHls:void 0,hlsConfig:window.App.config.features.hls,liveSyncDurationCount:7,isHlsSupported:!1,isP2PSupported:!1,engine:void 0}},mounted:function(){var t=this;this.$nextTick((function(){t.init()}))},methods:{handleShouldPlay:function(){var t=this;this.shouldPlay=!0,this.isHlsSupported=this.hlsConfig.enabled&&i.default.isSupported(),this.isP2PSupported=this.hlsConfig.enabled&&this.hlsConfig.p2p&&n.Engine.isSupported(),this.$nextTick((function(){t.init()}))},init:function(){var t,e=this;!this.status.sensitive&&null!==(t=this.status.media_attachments[0])&&void 0!==t&&t.hls_manifest&&this.isHlsSupported?(this.hasHls=!0,this.$nextTick((function(){e.initHls()}))):this.hasHls=!1},initHls:function(){var t;if(this.isP2PSupported){var e={loader:{trackerAnnounce:[this.hlsConfig.tracker],rtcConfig:{iceServers:[{urls:[this.hlsConfig.ice]}]}}},s=new n.Engine(e);this.hlsConfig.p2p_debug&&(s.on("peer_connect",(function(t){return console.log("peer_connect",t.id,t.remoteAddress)})),s.on("peer_close",(function(t){return console.log("peer_close",t)})),s.on("segment_loaded",(function(t,e){return console.log("segment_loaded from",e?"peer ".concat(e):"HTTP",t.url)}))),t=s.createLoaderClass()}else t=i.default.DefaultConfig.loader;var o=this.$refs.video,r=this.status.media_attachments[0].hls_manifest,l=(new(a())(o,{captions:{active:!0,update:!0}}),new i.default({liveSyncDurationCount:this.liveSyncDurationCount,loader:t})),c=this;(0,n.initHlsJsPlayer)(l),l.loadSource(r),l.attachMedia(o),l.on(i.default.Events.MANIFEST_PARSED,(function(t,e){this.hlsConfig.debug&&(console.log(t),console.log(e));var s={},n=l.levels.map((function(t){return t.height}));this.hlsConfig.debug&&console.log(n),n.unshift(0),s.quality={default:0,options:n,forced:!0,onChange:function(t){return c.updateQuality(t)}},s.i18n={qualityLabel:{0:"Auto"}},l.on(i.default.Events.LEVEL_SWITCHED,(function(t,e){var s=document.querySelector(".plyr__menu__container [data-plyr='quality'][value='0'] span");l.autoLevelEnabled?s.innerHTML="Auto (".concat(l.levels[e.level].height,"p)"):s.innerHTML="Auto"}));new(a())(o,s)}))},updateQuality:function(t){var e=this;0===t?window.hls.currentLevel=-1:window.hls.levels.forEach((function(s,i){s.height===t&&(e.hlsConfig.debug&&console.log("Found quality match with "+t),window.hls.currentLevel=i)}))},getPoster:function(t){var e=t.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},59300:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-timeline-component"},[t.isLoaded?e("div",{staticClass:"container-fluid mt-3"},[t.profile&&t.profile.hasOwnProperty("moved")&&t.profile.moved.hasOwnProperty("id")&&!t.showMoved?e("div",[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-6"},[t._m(0),t._v(" "),e("div",{staticClass:"card shadow-none border",staticStyle:{"border-radius":"20px"}},[e("div",{staticClass:"card-body ft-std"},[e("div",{staticClass:"d-flex justify-content-between align-items-center",staticStyle:{gap:"1rem"}},[e("div",{staticClass:"d-flex align-items-center flex-shrink-1",staticStyle:{gap:"1rem"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.profile.moved.avatar,width:"50",height:"50"}}),t._v(" "),e("p",{staticClass:"h3 font-weight-light mb-0 text-break"},[t._v("@"+t._s(t.profile.moved.acct))])]),t._v(" "),e("div",{staticClass:"d-flex flex-grow-1 justify-content-end",staticStyle:{"min-width":"200px"}},[e("router-link",{staticClass:"btn btn-outline-primary rounded-pill font-weight-bold",attrs:{to:"/i/web/profile/".concat(t.profile.moved.id)}},[t._v("View New Account")])],1)])])]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"lead text-center ft-std"},[e("a",{staticClass:"btn btn-primary btn-lg rounded-pill font-weight-bold px-5",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showMoved=!0}}},[t._v("Proceed")])])])])]):e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-3 d-md-block px-md-3 px-xl-5"},[e("profile-sidebar",{attrs:{profile:t.profile,relationship:t.relationship,user:t.curUser},on:{back:t.goBack,toggletab:t.toggleTab,updateRelationship:t.updateRelationship,follow:t.follow,unfollow:t.unfollow}})],1),t._v(" "),e("div",{staticClass:"col-md-8 px-md-5"},[e(t.getTabComponentName(),{key:t.getTabComponentName()+t.profile.id,tag:"component",attrs:{profile:t.profile,relationship:t.relationship}})],1)]),t._v(" "),e("drawer")],1):t._e()])},o=[function(){var t=this._self._c;return t("div",{staticClass:"card shadow-none border card-body mt-5 mb-3 ft-std",staticStyle:{"border-radius":"20px"}},[t("p",{staticClass:"lead font-weight-bold text-center mb-0"},[t("i",{staticClass:"far fa-exclamation-triangle mr-2"}),this._v("This account has indicated their new account is:")])])}]},98221:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this;return(0,t._self._c)("canvas",{ref:"canvas",attrs:{width:t.parseNumber(t.width),height:t.parseNumber(t.height)}})},o=[]},24853:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){this._self._c;return this._m(0)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"ph-item border-0 shadow-sm",staticStyle:{"border-radius":"15px","margin-bottom":"1rem"}},[e("div",{staticClass:"ph-col-12"},[e("div",{staticClass:"ph-row align-items-center"},[e("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{width:"50px",height:"60px","border-radius":"15px"}}),t._v(" "),e("div",{staticClass:"ph-col-6 big"})]),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"empty"}),t._v(" "),e("div",{staticClass:"ph-picture"}),t._v(" "),e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12 big"}),t._v(" "),e("div",{staticClass:"ph-col-12 empty"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])}]},70201:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component"},[e("div",{staticClass:"card shadow-sm",staticStyle:{"border-radius":"15px"}},[e("post-header",{attrs:{profile:t.profile,status:t.shadowStatus,"is-reblog":t.isReblog,"reblog-account":t.reblogAccount},on:{menu:t.openMenu,follow:t.follow,unfollow:t.unfollow}}),t._v(" "),e("post-content",{attrs:{profile:t.profile,status:t.shadowStatus}}),t._v(" "),t.reactionBar?e("post-reactions",{attrs:{status:t.shadowStatus,profile:t.profile,admin:t.admin},on:{like:t.like,unlike:t.unlike,share:t.shareStatus,unshare:t.unshareStatus,"likes-modal":t.showLikes,"shares-modal":t.showShares,"toggle-comments":t.showComments,bookmark:t.handleBookmark,"mod-tools":t.openModTools}}):t._e(),t._v(" "),t.showCommentDrawer?e("div",{staticClass:"card-footer rounded-bottom border-0",staticStyle:{background:"rgba(0,0,0,0.02)","z-index":"3"}},[e("comment-drawer",{attrs:{status:t.shadowStatus,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=[]},69831:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app-drawer-component"},[e("div",{staticClass:"mobile-footer-spacer d-block d-sm-none mt-5"}),t._v(" "),e("div",{staticClass:"mobile-footer d-block d-sm-none fixed-bottom"},[e("div",{staticClass:"card card-body rounded-0 px-0 pt-2 pb-3 box-shadow",staticStyle:{"border-top":"1px solid var(--border-color)"}},[e("ul",{staticClass:"nav nav-pills nav-fill d-flex align-items-middle"},[e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web"}},[e("p",[e("i",{staticClass:"far fa-home fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Home")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/timeline/local"}},[e("p",[e("i",{staticClass:"far fa-stream fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Local")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/compose"}},[e("p",[e("i",{staticClass:"far fa-plus-circle fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("New")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/notifications"}},[e("p",[e("i",{staticClass:"far fa-bell fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Alerts")])])])],1),t._v(" "),e("li",{staticClass:"nav-item"},[e("router-link",{staticClass:"nav-link text-dark",attrs:{to:"/i/web/profile/"+t.user.id}},[e("p",[e("i",{staticClass:"far fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"nav-link-label"},[e("span",[t._v("Profile")])])])],1)])])])])},o=[]},82960:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("b-modal",{ref:"modal",attrs:{centered:"","hide-header":"","hide-footer":"",scrollable:"","body-class":"p-md-5 user-select-none"}},[0===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("menu.confirmReportText")))]),t._v(" "),t.status&&t.status.hasOwnProperty("account")?e("div",{staticClass:"card shadow-none rounded-lg border my-4"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 rounded",staticStyle:{"border-radius":"8px"},attrs:{src:t.status.account.avatar,width:"40",height:"40",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"h5 primary font-weight-bold mb-1"},[t._v("\n\t\t\t\t\t\t\t@"+t._s(t.status.account.acct)+"\n\t\t\t\t\t\t")]),t._v(" "),t.status.hasOwnProperty("pf_type")&&"text"==t.status.pf_type?e("div",[t.status.content_text.length<=140?e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,140)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])])]):t.status.hasOwnProperty("pf_type")&&"photo"==t.status.pf_type?e("div",[e("div",{staticClass:"w-100 rounded-lg d-flex justify-content-center mt-3",staticStyle:{background:"#000","max-height":"150px"}},[e("img",{staticClass:"rounded-lg shadow",staticStyle:{width:"100%","max-height":"150px","object-fit":"contain"},attrs:{src:t.status.media_attachments[0].url}})]),t._v(" "),t.status.content_text?e("p",{staticClass:"mt-3 mb-0"},[t.showFull?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text)+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!1}}},[t._v("Show less")])]):e("span",[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.status.content_text.substr(0,80)+" ...")+"\n\t\t\t\t\t\t\t\t\t"),e("a",{staticClass:"font-weight-bold primary ml-1",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.showFull=!0}}},[t._v("Show full post")])])]):t._e()]):t._e()])])])]):t._e(),t._v(" "),e("p",{staticClass:"text-right mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-primary px-3 py-2 font-weight-bold",staticStyle:{"background-color":"#3B82F6"},on:{click:function(e){t.tabIndex=1}}},[t._v(t._s(t.$t("common.proceed")))])])]):1===t.tabIndex?e("div",[e("h2",{staticClass:"text-center font-weight-bold"},[t._v(t._s(t.$t("report.report")))]),t._v(" "),e("p",{staticClass:"text-center"},[t._v("\n\t\t\t"+t._s(t.$t("report.selectReason"))+"\n\t\t")]),t._v(" "),e("div",{staticClass:"mt-4"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),0==t.status.sensitive?e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("sensitive")}}},[t._v("Adult or "+t._s(t.$t("menu.sensitive")))]):t._e(),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold text-danger",on:{click:function(e){return t.handleReason("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill font-weight-bold",on:{click:function(e){return t.handleReason("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("button",{staticClass:"btn btn-light btn-block rounded-pill mt-md-5",on:{click:function(e){t.tabIndex=0}}},[t._v("Go back")])])]):2===t.tabIndex?e("div",[e("div",{staticClass:"my-4 text-center"},[e("b-spinner"),t._v(" "),e("p",{staticClass:"small mb-0"},[t._v(t._s(t.$t("report.sendingReport"))+" ...")])],1)]):3===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("report.reported")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-4x text-success"},[e("i",{staticClass:"far fa-check fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("report.thanksMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):5===t.tabIndex?e("div",[e("div",{staticClass:"my-4"},[e("h2",{staticClass:"text-center font-weight-bold mb-3"},[t._v(t._s(t.$t("common.oops")))]),t._v(" "),e("p",{staticClass:"text-center py-2"},[e("span",{staticClass:"fa-stack fa-3x text-danger"},[e("i",{staticClass:"far fa-times fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fal fa-circle fa-stack-2x"})])]),t._v(" "),e("p",{staticClass:"lead text-center"},[t._v(t._s(t.$t("common.errorMsg")))]),t._v(" "),e("hr"),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.$t("report.contactAdminMsg"))+", "),e("a",{staticClass:"font-weight-bold primary",attrs:{href:"/site/contact"}},[t._v(t._s(t.$t("common.clickHere")))]),t._v(".")])]),t._v(" "),e("p",{staticClass:"text-center mb-0 mb-md-n3"},[e("button",{staticClass:"btn btn-light btn-block rounded-pill px-3 py-2 mr-3 font-weight-bold",on:{click:t.close}},[t._v(t._s(t.$t("common.close")))])])]):t._e()])},o=[]},55318:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"post-comment-drawer"},[e("input",{ref:"fileInput",staticClass:"d-none",attrs:{type:"file",accept:"image/jpeg,image/png"},on:{change:t.handleImageUpload}}),t._v(" "),e("div",{staticClass:"post-comment-drawer-feed"},[t.feed.length&&t.feed.length>=1?e("div",{staticClass:"mb-2 sort-menu"},[e("b-dropdown",{ref:"sortMenu",attrs:{size:"sm",variant:"link","toggle-class":"text-decoration-none text-dark font-weight-bold","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[t._v("\n\t\t\t\t\t\tShow "+t._s(t.sorts[t.sortIndex])+" comments "),e("i",{staticClass:"far fa-chevron-down ml-1"})]},proxy:!0}],null,!1,1870013648)},[t._v(" "),e("b-dropdown-item",{class:{active:0===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(0)}}},[e("p",{staticClass:"title mb-0"},[t._v("All")]),t._v(" "),e("p",{staticClass:"description"},[t._v("All comments in chronological order")])]),t._v(" "),e("b-dropdown-item",{class:{active:1===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(1)}}},[e("p",{staticClass:"title mb-0"},[t._v("Newest")]),t._v(" "),e("p",{staticClass:"description"},[t._v("Newest comments appear first")])]),t._v(" "),e("b-dropdown-item",{class:{active:2===t.sortIndex},attrs:{href:"#"},on:{click:function(e){return t.toggleSort(2)}}},[e("p",{staticClass:"title mb-0"},[t._v("Popular")]),t._v(" "),e("p",{staticClass:"description"},[t._v("The most relevant comments appear first")])])],1)],1):t._e(),t._v(" "),t.feedLoading?e("div",{staticClass:"post-comment-drawer-feed-loader"},[e("b-spinner")],1):e("div",[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,i){return e("div",{key:"cd:"+s.id+":"+i,staticClass:"media media-status align-items-top mb-3",style:{opacity:t.deletingIndex&&t.deletingIndex===i?.3:1}},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.getPostAvatar(s),width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("div",{class:[s.content&&s.content.length||s.media_attachments.length?"media-body-comment":""]},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n \t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n \t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Tap to view")])])],1):t._e(),t._v(" "),e("read-more",{staticClass:"mb-1",attrs:{status:s}}),t._v(" "),s.sensitive?t._e():e("div",{staticClass:"bh-comment",class:[s.media_attachments.length>1?"bh-comment-borderless":""],style:{"max-width":s.media_attachments.length>1?"100% !important":"160px","max-height":s.media_attachments.length>1?"100% !important":"260px"}},["image"==s.media_attachments[0].type?e("div",[1==s.media_attachments.length?e("div",[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1)]):e("div",{staticStyle:{display:"grid","grid-auto-flow":"column",gap:"1px","grid-template-rows":"[row1-start] 50% [row1-end row2-start] 50% [row2-end]","grid-template-columns":"[column1-start] 50% [column1-end column2-start] 50% [column2-end]","border-radius":"8px"}},t._l(s.media_attachments.slice(0,4),(function(i,o){return e("div",{on:{click:function(e){return t.lightbox(s,o)}}},[e("blur-hash-image",{staticClass:"img-fluid shadow",attrs:{width:30,height:30,punch:1,hash:s.media_attachments[o].blurhash,src:t.getMediaSource(s,o)}})],1)})),0)]):e("div",[e("div",{staticClass:"cursor-pointer",on:{click:function(e){return t.lightbox(s)}}},[e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{position:"absolute",width:"40px",height:"40px","background-color":"rgba(0, 0, 0, 0.5)","border-radius":"40px"}},[e("i",{staticClass:"far fa-play pl-1 text-white fa-lg"})]),t._v(" "),e("video",{staticClass:"img-fluid",staticStyle:{"max-height":"200px"},attrs:{src:s.media_attachments[0].url}})])])]),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])],1)]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url,id:"acpop_"+s.id,tabindex:"0"},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("b-popover",{attrs:{target:"acpop_"+s.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px",delay:750}},[e("profile-hover-card",{attrs:{profile:s.account},on:{follow:function(e){return t.follow(i)},unfollow:function(e){return t.unfollow(i)}}})],1)],1),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count&&!t.hideCounts?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),"public"!=s.visibility?[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),"unlisted"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-lighter",attrs:{title:"This post is unlisted on timelines"}},[e("i",{staticClass:"far fa-unlock fa-sm"})]):"private"===s.visibility?e("span",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip:hover.bottom",arg:"hover",modifiers:{bottom:!0}}],staticClass:"text-muted",attrs:{title:"This post is only visible to followers of this account"}},[e("i",{staticClass:"far fa-lock fa-sm"})]):t._e()]:t._e(),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.toggleCommentReply(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tReply\n\t\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+i),t._v(" "),t.profile&&s.account.id===t.profile.id||t.status.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold",class:[t.deletingIndex&&t.deletingIndex===i?"text-danger":"text-muted"],attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n "+t._s(t.deletingIndex&&t.deletingIndex===i?"Deleting...":"Delete")+"\n\t\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\tReport\n\t\t\t\t\t\t\t\t\t")])])],2),t._v(" "),s.reply_count?[s.replies.replies_show||t.commentReplyIndex===i?e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.hideCommentReplies(i)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Hide "+t._s(t.prettyCount(s.reply_count))+" replies")])])]):e("div",{staticClass:"media-body-show-replies"},[e("a",{staticClass:"font-weight-bold primary",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showCommentReplies(i)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("Show "+t._s(t.prettyCount(s.reply_count))+" replies")])])])]:t._e(),t._v(" "),t.feed[i].replies_show?e("comment-replies",{key:"cmr-".concat(s.id,"-").concat(t.feed[i].reply_count),staticClass:"mt-3",attrs:{status:s,feed:t.feed[i].replies},on:{"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e(),t._v(" "),1==s.replies_show&&t.commentReplyIndex==i&&t.feed[i].reply_count>3?e("div",[e("div",{staticClass:"media-body-show-replies mt-n3"},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[e("i",{staticClass:"media-body-show-replies-icon"}),t._v(" "),e("span",{staticClass:"media-body-show-replies-label"},[t._v("View full thread")])])])]):t._e(),t._v(" "),t.commentReplyIndex==i?e("comment-reply-form",{attrs:{"parent-id":s.id},on:{"new-comment":function(e){return t.pushCommentReply(i,e)},"counter-change":function(e){return t.replyCounterChange(i,e)}}}):t._e()],2)])})),0)],1)]),t._v(" "),!t.feedLoading&&t.canLoadMore?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.fetchMore()}}},[t._v("Load more comments…")])])]):t._e(),t._v(" "),t.showEmptyRepliesRefresh?e("div",{staticClass:"post-comment-drawer-loadmore"},[e("p",{staticClass:"text-center mb-4"},[e("a",{staticClass:"btn btn-outline-primary font-weight-bold rounded-pill",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.forceRefresh()}}},[e("i",{staticClass:"far fa-sync mr-2"}),t._v(" Refresh\n\t\t\t\t")])])]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.settings.expanded,expression:"!settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm rounded-pill",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"1",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.settings.expanded,expression:"settings.expanded"}],staticClass:"w-100"},[e("vue-tribute",{attrs:{options:t.tributeSettings}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-sm shadow-sm",staticStyle:{resize:"none","padding-right":"140px"},attrs:{placeholder:"Write a comment....",rows:"5",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}})])],1),t._v(" "),e("div",{staticClass:"reply-form-input-actions",class:{open:t.settings.expanded}},[e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.replyUpload()}}},[e("i",{staticClass:"far fa-image fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 mr-2",on:{click:function(e){return t.toggleReplyExpand()}}},[e("i",{staticClass:"far fa-text-size fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-link text-muted px-1 small font-weight-bold py-0 rounded-pill text-decoration-none",on:{click:t.toggleShowReplyOptions}},[e("i",{staticClass:"far fa-ellipsis-h"})])])]),t._v(" "),t.showReplyOptions?e("div",{staticClass:"child-reply-form-options mt-2",staticStyle:{"margin-left":"60px"}},[e("b-form-checkbox",{attrs:{switch:""},model:{value:t.settings.sensitive,callback:function(e){t.$set(t.settings,"sensitive",e)},expression:"settings.sensitive"}},[t._v("\n\t\t\t\t"+t._s(t.$t("common.sensitive"))+"\n\t\t\t")])],1):t._e(),t._v(" "),t.replyContent&&t.replyContent.length?e("div",{staticClass:"text-right mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold primary rounded-pill px-4",on:{click:t.storeComment}},[t._v(t._s(t.$t("common.comment")))])]):t._e(),t._v(" "),e("b-modal",{ref:"lightboxModal",attrs:{id:"lightbox","hide-header":!0,"hide-footer":!0,centered:"",size:"lg","body-class":"p-0","content-class":"bg-transparent border-0 position-relative"}},[t.lightboxStatus&&"image"==t.lightboxStatus.type?e("div",{on:{click:t.hideLightbox}},[e("img",{staticStyle:{width:"100%","max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url}})]):t.lightboxStatus&&"video"==t.lightboxStatus.type?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{position:"relative"}},[e("button",{staticClass:"btn btn-dark d-flex align-items-center justify-content-center",staticStyle:{position:"fixed",top:"10px",right:"10px",width:"56px",height:"56px","border-radius":"56px"},on:{click:t.hideLightbox}},[e("i",{staticClass:"far fa-times-circle fa-2x text-warning",staticStyle:{"padding-top":"2px"}})]),t._v(" "),e("video",{staticStyle:{"max-height":"90vh","object-fit":"contain"},attrs:{src:t.lightboxStatus.url,controls:"",autoplay:""},on:{ended:t.hideLightbox}})]):t._e()])],1)},o=[]},54309:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"comment-replies-component"},[t.loading?e("div",{staticClass:"mt-n2"},[t._m(0)]):[e("transition-group",{attrs:{tag:"div","enter-active-class":"animate__animated animate__fadeIn","leave-active-class":"animate__animated animate__fadeOut",mode:"out-in"}},t._l(t.feed,(function(s,i){return e("div",{key:"cd:"+s.id+":"+i},[e("div",{staticClass:"media media-status align-items-top mb-3"},[e("a",{attrs:{href:"#l"}},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:s.account.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"media-body-wrapper"},[s.media_attachments.length?e("div",[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("div",{staticClass:"bh-comment",on:{click:function(t){s.sensitive=!1}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash}}),t._v(" "),e("div",{staticClass:"sensitive-warning"},[e("p",{staticClass:"mb-0"},[e("i",{staticClass:"far fa-eye-slash fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._v("Click to view")])])],1):e("div",{staticClass:"bh-comment"},[e("div",{on:{click:function(e){return t.lightbox(s)}}},[e("blur-hash-image",{staticClass:"img-fluid border shadow",attrs:{width:t.blurhashWidth(s),height:t.blurhashHeight(s),punch:1,hash:s.media_attachments[0].blurhash,src:t.getMediaSource(s)}})],1),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()])]):e("div",{staticClass:"media-body-comment"},[e("p",{staticClass:"media-body-comment-username"},[e("a",{attrs:{href:s.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s.account)}}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(s.account.acct)+"\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s.sensitive?e("span",[e("p",{staticClass:"mb-0"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"small font-weight-bold primary",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),s.sensitive=!1}}},[t._v("Show")])]):e("read-more",{attrs:{status:s}}),t._v(" "),s.favourites_count?e("button",{staticClass:"btn btn-link media-body-likes-count shadow-sm",on:{click:function(e){return e.preventDefault(),t.showLikesModal(i)}}},[e("i",{staticClass:"far fa-thumbs-up primary"}),t._v(" "),e("span",{staticClass:"count"},[t._v(t._s(t.prettyCount(s.favourites_count)))])]):t._e()],1)]),t._v(" "),e("p",{staticClass:"media-body-reactions"},[e("button",{staticClass:"btn btn-link font-weight-bold btn-sm p-0",class:[s.favourited?"primary":"text-muted"],on:{click:function(e){return t.likeComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(s.favourited?"Liked":"Like")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),t._o(e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToPost(s)}}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t\t")]),0,"cd:"+s.id+":"+i),t._v(" "),t.profile&&s.account.id===t.profile.id?e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deleteComment(i)}}},[t._v("\n\t\t\t\t\t\t\t\t\tDelete\n\t\t\t\t\t\t\t\t")])]):e("span",[e("span",{staticClass:"mx-1"},[t._v("·")]),t._v(" "),e("a",{staticClass:"font-weight-bold text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.reportComment(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._self._c;return t("div",{staticClass:"ph-item border-0 mb-0 p-0 bg-transparent",staticStyle:{"border-radius":"15px","margin-left":"-14px"}},[t("div",{staticClass:"ph-col-12 mb-0"},[t("div",{staticClass:"ph-row align-items-center mt-0"},[t("div",{staticClass:"ph-avatar mr-3 d-flex",staticStyle:{"min-width":"40px",width:"40px!important",height:"40px!important","border-radius":"8px"}}),this._v(" "),t("div",{staticClass:"ph-col-6"})])])])}]},82285:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"my-3"},[e("div",{staticClass:"d-flex align-items-top reply-form child-reply-form"},[e("img",{staticClass:"shadow-sm media-avatar border",attrs:{src:t.profile.avatar,width:"40",height:"40",draggable:"false",onerror:"this.onerror=null;this.src='/storage/avatars/default.jpg?v=0';"}}),t._v(" "),e("div",{staticStyle:{display:"flex","flex-grow":"1",position:"relative"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.replyContent,expression:"replyContent"}],staticClass:"form-control bg-light rounded-lg shadow-sm",staticStyle:{resize:"none","padding-right":"60px"},attrs:{placeholder:"Write a comment....",disabled:t.isPostingReply},domProps:{value:t.replyContent},on:{input:function(e){e.target.composing||(t.replyContent=e.target.value)}}}),t._v(" "),e("button",{staticClass:"btn btn-sm py-1 font-weight-bold ml-1 rounded-pill",class:[t.replyContent&&t.replyContent.length?"btn-primary":"btn-outline-muted"],staticStyle:{position:"absolute",right:"10px",top:"50%",transform:"translateY(-50%)"},attrs:{disabled:!t.replyContent||!t.replyContent.length},on:{click:t.storeComment}},[t._v("\n Post\n ")])])]),t._v(" "),e("p",{staticClass:"text-right small font-weight-bold text-lighter"},[t._v(t._s(t.replyContent?t.replyContent.length:0)+"/"+t._s(t.config.uploader.max_caption_length))])])},o=[]},4215:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item d-flex p-0 m-0"},[e("div",{staticClass:"border-right p-2 w-50"},[t.status?e("a",{staticClass:"menu-option",attrs:{href:t.status.url},on:{click:function(e){return e.preventDefault(),t.ctxMenuGoToPost()}}},[e("div",{staticClass:"action-icon-link"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"fal fa-images fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v(t._s(t.$t("menu.viewPost")))])])]):t._e()]),t._v(" "),e("div",{staticClass:"p-2 flex-grow-1"},[t.status?e("a",{staticClass:"menu-option",attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.ctxMenuGoToProfile()}}},[e("div",{staticClass:"action-icon-link"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"fal fa-user fa-lg"})]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v(t._s(t.$t("menu.viewProfile")))])])]):t._e()])]):t._e(),t._v(" "),t.ctxMenuRelationship?[t.ctxMenuRelationship.following?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleUnfollow.apply(null,arguments)}}},[t._v("\n "+t._s(t.$t("profile.unfollow"))+"\n ")]):e("div",{staticClass:"d-flex"},[e("div",{staticClass:"p-3 border-right w-50 text-center"},[e("a",{staticClass:"small menu-option text-muted",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleMute.apply(null,arguments)}}},[e("div",{staticClass:"action-icon-link-inline"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"far",class:[t.ctxMenuRelationship.muting?"fa-eye":"fa-eye-slash"]})]),t._v(" "),e("p",{staticClass:"text-muted mb-0"},[t._v(t._s(t.ctxMenuRelationship.muting?"Unmute":"Mute"))])])])]),t._v(" "),e("div",{staticClass:"p-3 w-50"},[e("a",{staticClass:"small menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.handleBlock.apply(null,arguments)}}},[e("div",{staticClass:"action-icon-link-inline"},[e("div",{staticClass:"icon"},[e("i",{staticClass:"far fa-shield-alt"})]),t._v(" "),e("p",{staticClass:"text-danger mb-0"},[t._v("Block")])])])])])]:t._e(),t._v(" "),"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuShare()}}},[t._v("\n "+t._s(t.$t("common.share"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile&&1==t.profile.is_admin&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxModMenuShow()}}},[t._v("\n "+t._s(t.$t("menu.moderationTools"))+"\n ")]):t._e(),t._v(" "),t.status&&t.status.account.id!=t.profile.id?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuReportPost()}}},[t._v("\n "+t._s(t.$t("menu.report"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.archivePost(t.status)}}},[t._v("\n "+t._s(t.$t("menu.archive"))+"\n ")]):t._e(),t._v(" "),t.status&&t.profile.id==t.status.account.id&&"archived"==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.unarchivePost(t.status)}}},[t._v("\n "+t._s(t.$t("menu.unarchive"))+"\n ")]):t._e(),t._v(" "),t.config.ab.pue&&t.status&&t.profile.id==t.status.account.id&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.editPost(t.status)}}},[t._v("\n Edit\n ")]):t._e(),t._v(" "),t.status&&(t.profile.is_admin||t.profile.id==t.status.account.id)&&"archived"!==t.status.visibility?e("a",{staticClass:"list-group-item menu-option text-danger",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.deletePost(t.status)}}},[t.isDeleting?e("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])]):e("div",[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e(),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeCtxMenu()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])],2)]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center menu-option text-danger"},[t._v("\n "+t._s(t.$t("menu.moderationTools"))+"\n ")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("\n "+t._s(t.$t("menu.selectOneOption"))+"\n ")]),t._v(" "),e("p"),t._v(" "),e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"unlist")}}},[t._v("\n "+t._s(t.$t("menu.unlistFromTimelines"))+"\n ")]),t._v(" "),t.status.sensitive?e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"remcw")}}},[t._v("\n "+t._s(t.$t("menu.removeCW"))+"\n ")]):e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"addcw")}}},[t._v("\n "+t._s(t.$t("menu.addCW"))+"\n ")]),t._v(" "),e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.moderatePost(t.status,"spammer")}}},[t._v("\n "+t._s(t.$t("menu.markAsSpammer"))),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v(t._s(t.$t("menu.markAsSpammerText")))])]),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxModMenuClose()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.moderationTools")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("a",{staticClass:"list-group-item menu-option",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.ctxMenuCopyLink()}}},[t._v("\n "+t._s(t.$t("common.copyLink"))+"\n ")]),t._v(" "),t.status&&1==t.status.local&&!t.status.in_reply_to_id?e("a",{staticClass:"list-group-item menu-option",on:{click:function(e){return e.preventDefault(),t.ctxMenuEmbed()}}},[t._v("\n "+t._s(t.$t("menu.embed"))+"\n ")]):t._e(),t._v(" "),e("a",{staticClass:"list-group-item menu-option text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.closeCtxShareMenu()}}},[t._v("\n "+t._s(t.$t("common.cancel"))+"\n ")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,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(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.showCaption"))+"\n ")])]),t._v(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,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(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.showLikes"))+"\n ")])]),t._v(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,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(" "),e("label",{staticClass:"form-check-label font-weight-light"},[t._v("\n "+t._s(t.$t("menu.compactMode"))+"\n ")])])]),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v(t._s(t.$t("menu.embedConfirmText"))+" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("site.terms")))])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v(t._s(t.$t("menu.spam")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v(t._s(t.$t("menu.sensitive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("abusive")}}},[t._v(t._s(t.$t("menu.abusive")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v(t._s(t.$t("common.other")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v(t._s(t.$t("menu.selectOneOption")))]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v(t._s(t.$t("menu.underageAccount")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("copyright")}}},[t._v(t._s(t.$t("menu.copyrightInfringement")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v(t._s(t.$t("menu.impersonation")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v(t._s(t.$t("menu.scamOrFraud")))]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v(t._s(t.$t("common.cancel")))])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v(t._s(t.$t("common.cancel")))]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},o=[]},27934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p"},scopedSlots:t._u([{key:"modal-header",fn:function(s){var i=s.close;return[void 0===t.historyIndex?[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center"},[e("span",{staticStyle:{width:"40px"}}),t._v(" "),e("h5",{staticClass:"font-weight-bold mb-0"},[t._v("Post History")]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"far fa-times text-dark fa-lg"})])],1)]:[e("div",{staticClass:"d-flex flex-grow-1 justify-content-between align-items-center pt-1"},[e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(e){e.preventDefault(),t.historyIndex=void 0}}},[e("i",{staticClass:"fas fa-chevron-left text-primary fa-lg"})]),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:t.allHistory[0].account.avatar,width:"16",height:"16",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.allHistory[0].account.username))])]),t._v(" "),e("div",[t._v(t._s(t.historyIndex==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(t.allHistory[t.historyIndex].created_at)))])])]),t._v(" "),e("b-button",{attrs:{size:"sm",variant:"link"},on:{click:function(t){return i()}}},[e("i",{staticClass:"fas fa-times text-dark fa-lg"})])],1)]]}}]),model:{value:t.isOpen,callback:function(e){t.isOpen=e},expression:"isOpen"}},[t._v(" "),t.isLoading?e("div",{staticClass:"d-flex align-items-center justify-content-center",staticStyle:{"min-height":"500px"}},[e("b-spinner")],1):[void 0===t.historyIndex?e("div",{staticClass:"list-group border-top-0"},t._l(t.allHistory,(function(s,i){return e("div",{staticClass:"list-group-item d-flex align-items-center justify-content-between",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("img",{staticClass:"rounded-circle",attrs:{src:s.account.avatar,width:"24",height:"24",onerror:"this.src='/storage/avatars/default.jpg';this.onerror=null;"}}),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.account.username))])]),t._v(" "),e("div",[t._v(t._s(i==t.allHistory.length-1?"created":"edited")+" "+t._s(t.formatTime(s.created_at)))])]),t._v(" "),e("a",{staticClass:"stretched-link text-decoration-none",attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.historyIndex=i}}},[e("div",{staticClass:"d-flex align-items-center",staticStyle:{gap:"5px"}},[e("i",{staticClass:"far fa-chevron-right text-primary fa-lg"})])])])})),0):e("div",{staticClass:"d-flex align-items-center flex-column border-top-0 justify-content-center"},["text"===t.postType()?void 0:"image"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("blur-hash-image",{staticClass:"img-contain border-bottom",attrs:{width:32,height:32,punch:1,hash:t.allHistory[t.historyIndex].media_attachments[0].blurhash,src:t.allHistory[t.historyIndex].media_attachments[0].url}})],1)]:"album"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333"},attrs:{controls:"",indicators:"",background:"#000000"}},t._l(t.allHistory[t.historyIndex].media_attachments,(function(t,s){return e("b-carousel-slide",{key:"pfph:"+t.id+":"+s,attrs:{"img-src":t.url}})})),1)],1)]:"video"===t.postType()?[e("div",{staticStyle:{width:"100%"}},[e("div",{staticClass:"embed-responsive embed-responsive-16by9 border-bottom"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"",preload:"metadata",loop:""}},[e("source",{attrs:{src:t.allHistory[t.historyIndex].media_attachments[0].url,type:t.allHistory[t.historyIndex].media_attachments[0].mime}})])])])]:t._e(),t._v(" "),e("div",{staticClass:"w-100 my-4 px-4 text-break justify-content-start"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.allHistory[t.historyIndex].content)}})])],2)]],2)],1)},o=[]},7971:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){this._self._c;return this._m(0)},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3"},[e("div",{staticClass:"ph-item border-0 p-0 m-0 align-items-center"},[e("div",{staticClass:"p-0 mb-0",staticStyle:{flex:"unset"}},[e("div",{staticClass:"ph-avatar",staticStyle:{"min-width":"40px !important",width:"40px !important",height:"40px"}})]),t._v(" "),e("div",{staticClass:"ph-col-9 mb-0"},[e("div",{staticClass:"ph-row"},[e("div",{staticClass:"ph-col-12"}),t._v(" "),e("div",{staticClass:"ph-col-12"})])])])])}]},92162:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"likesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:t.$t("common.likes")}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,i){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===i?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[null==s.follows||s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.$t("post.noLikes")))])])])])],1)},o=[]},64394:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"timeline-status-component-content"},["poll"===t.status.pf_type?e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}}):t.fixedHeight?e("div",{staticClass:"card-body p-0"},["photo"===t.status.pf_type?e("div",{class:{fixedHeight:t.fixedHeight}},[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("common.sensitiveContent"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.status.spoiler_text?t.status.spoiler_text:t.$t("common.sensitiveContentWarning"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{staticClass:"blurhash-wrapper",attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash}})],1):e("div",{staticClass:"content-label-wrapper",staticStyle:{position:"relative",width:"100%",height:"400px",overflow:"hidden","z-index":"1"},on:{click:function(e){return e.preventDefault(),t.toggleLightbox.apply(null,arguments)}}},[e("img",{staticStyle:{position:"absolute",width:"105%",height:"410px","object-fit":"cover","z-index":"1",top:"0",left:"0",filter:"brightness(0.35) blur(6px)",margin:"-5px"},attrs:{src:t.status.media_attachments[0].url}}),t._v(" "),e("blur-hash-image",{key:t.key,staticClass:"blurhash-wrapper",staticStyle:{width:"100%",position:"absolute","z-index":"9",top:"0:left:0"},attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,src:t.status.media_attachments[0].url,alt:t.status.media_attachments[0].description,title:t.status.media_attachments[0].description}}),t._v(" "),!t.status.sensitive&&t.sensitive?e("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#000","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-radius":"11px",cursor:"pointer",background:"rgba(255, 255, 255,.5)"},on:{click:function(e){t.status.sensitive=!0}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e()],1)]):"video"===t.status.pf_type?e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight}}):"photo:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("photo-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){return t.toggleContentWarning()}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"card-img-top shadow",staticStyle:{"border-radius":"15px"}},[e("mixed-album-presenter",{class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px !important","object-fit":"contain","background-color":"#000",overflow:"hidden","align-items":"center"},attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"text"===t.status.pf_type?e("div",[t.status.sensitive?e("div",{staticClass:"border m-3 p-5 rounded-lg"},[t._m(1),t._v(" "),e("p",{staticClass:"text-center lead font-weight-bold mb-0"},[t._v("Sensitive Content")]),t._v(" "),e("p",{staticClass:"text-center"},[t._v(t._s(t.status.spoiler_text&&t.status.spoiler_text.length?t.status.spoiler_text:"This post may contain sensitive content"))]),t._v(" "),e("p",{staticClass:"text-center mb-0"},[e("button",{staticClass:"btn btn-primary btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See post")])])]):t._e()]):e("div",{staticClass:"bg-light rounded-lg d-flex align-items-center justify-content-center",staticStyle:{height:"400px"}},[e("div",[t._m(2),t._v(" "),e("p",{staticClass:"lead text-center mb-0"},[t._v("\n\t\t\t\t\t\tCannot display post\n\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small text-center mb-0"},[t._v("\n\t\t\t\t\t\t"+t._s(t.status.pf_type)+":"+t._s(t.status.id)+"\n\t\t\t\t\t")])])])],1):e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-player",{attrs:{status:t.status,fixedHeight:t.fixedHeight},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.toggleLightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):t._e()]),t._v(" "),t.status.content&&!t.status.sensitive?e("div",{staticClass:"card-body status-text",class:["text"===t.status.pf_type?"py-0":"pb-0"]},[e("p",[e("read-more",{attrs:{status:t.status,"cursor-limit":300}})],1)]):t._e()])},o=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])},function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"fas fa-exclamation-triangle fa-4x"})])}]},44516:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",[t.isReblog?e("div",{staticClass:"card-header bg-light border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center",staticStyle:{height:"10px"}},[e("a",{staticClass:"mx-2",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[e("img",{staticStyle:{"border-radius":"10px"},attrs:{src:t.reblogAccount.avatar,width:"24",height:"24",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticStyle:{"font-size":"12px","font-weight":"bold"}},[e("i",{staticClass:"far fa-retweet text-warning mr-1"}),t._v(" Reblogged by "),e("a",{staticClass:"text-dark",attrs:{href:t.reblogAccount.url},on:{click:function(e){return e.preventDefault(),t.goToProfileById(t.reblogAccount.id)}}},[t._v("@"+t._s(t.reblogAccount.acct))])])])]):t._e(),t._v(" "),e("div",{staticClass:"card-header border-0",staticStyle:{"border-top-left-radius":"15px","border-top-right-radius":"15px"}},[e("div",{staticClass:"media align-items-center"},[e("a",{staticStyle:{"margin-right":"10px"},attrs:{href:t.status.account.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticStyle:{"border-radius":"15px"},attrs:{src:t.getStatusAvatar(),width:"44",height:"44",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"font-weight-bold username"},[e("a",{staticClass:"text-dark",attrs:{href:t.status.account.url,id:"apop_"+t.status.id},on:{click:function(e){return e.preventDefault(),t.goToProfile.apply(null,arguments)}}},[t._v("\n "+t._s(t.status.account.acct)+"\n ")]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+t.status.id,triggers:"hover",placement:"bottom","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:t.status.account},on:{follow:t.follow,unfollow:t.unfollow}})],1)],1),t._v(" "),e("p",{staticClass:"text-lighter mb-0",staticStyle:{"font-size":"13px"}},[t.status.account.is_admin?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"badge badge-light text-danger user-select-none",attrs:{title:"Admin account"}},[t._v("ADMIN")]),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")])]):t._e(),t._v(" "),e("a",{staticClass:"timestamp text-lighter",attrs:{href:t.status.url,title:t.status.created_at},on:{click:function(e){return e.preventDefault(),t.goToPost()}}},[t._v("\n "+t._s(t.timeago(t.status.created_at))+"\n ")]),t._v(" "),t.config.ab.pue&&t.status.hasOwnProperty("edited_at")&&t.status.edited_at?e("span",[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("a",{staticClass:"text-lighter",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.openEditModal.apply(null,arguments)}}},[t._v("Edited")])]):t._e(),t._v(" "),e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"visibility text-lighter",attrs:{title:t.scopeTitle(t.status.visibility)}},[e("i",{class:t.scopeIcon(t.status.visibility)})]),t._v(" "),t.status.place&&t.status.place.hasOwnProperty("name")?e("span",{staticClass:"d-none d-md-inline-block"},[e("span",{staticClass:"mx-1 text-lighter"},[t._v("·")]),t._v(" "),e("span",{staticClass:"location text-lighter"},[e("i",{staticClass:"far fa-map-marker-alt"}),t._v(" "+t._s(t.status.place.name)+", "+t._s(t.status.place.country))])]):t._e()])]),t._v(" "),t.useDropdownMenu?e("b-dropdown",{attrs:{"no-caret":"",right:"",variant:"link","toggle-class":"text-lighter",html:""}},[e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.viewPost")))])]),t._v(" "),e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("common.copyLink")))])]),t._v(" "),t.status.local?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.embed")))])]):t._e(),t._v(" "),t.owner?t._e():e("b-dropdown-divider"),t._v(" "),t.owner?t._e():e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.$t("menu.report")))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Report content that violate our rules")])]),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold"},[t._v(t._s(t.status.relationship.muting?"Unmute":"Mute"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Hide posts from this account in your feeds")])]):t._e(),t._v(" "),!t.owner&&t.status.hasOwnProperty("relationship")?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v(t._s(t.status.relationship.blocking?"Unblock":"Block"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Restrict all content from this account")])]):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-divider"):t._e(),t._v(" "),t.owner||t.admin?e("b-dropdown-item",[e("p",{staticClass:"mb-0 font-weight-bold text-danger"},[t._v("\n "+t._s(t.$t("common.delete"))+"\n ")])]):t._e()],1):e("button",{staticClass:"btn btn-link text-lighter",on:{click:t.openMenu}},[e("i",{staticClass:"far fa-ellipsis-v fa-lg"})])],1),t._v(" "),e("edit-history-modal",{ref:"editModal",attrs:{status:t.status}})],1)])},o=[]},51992:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"px-3 my-3",staticStyle:{"z-index":"3"}},[(t.status.favourites_count||t.status.reblogs_count)&&(t.status.hasOwnProperty("liked_by")&&t.status.liked_by.url||t.status.hasOwnProperty("reblogs_count")&&t.status.reblogs_count)?e("div",{staticClass:"mb-0 d-flex justify-content-between"},[!t.hideCounts&&t.status.favourites_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tLiked by\n\t\t\t"),1==t.status.favourites_count&&1==t.status.favourited?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("span",[e("router-link",{staticClass:"primary font-weight-bold",attrs:{to:"/i/web/profile/"+t.status.liked_by.id}},[t._v(t._s(t.status.liked_by.username))]),t._v(" "),t.status.liked_by.others||t.status.favourites_count>1?e("span",[t._v("\n\t\t\t\t\tand "),e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showLikes()}}},[t._v(t._s(t.count(t.status.favourites_count-1))+" others")])]):t._e()],1)]):t._e(),t._v(" "),!t.hideCounts&&t.status.reblogs_count?e("p",{staticClass:"mb-2 reaction-liked-by"},[t._v("\n\t\t\tShared by\n\t\t\t"),1==t.status.reblogs_count&&1==t.status.reblogged?e("span",{staticClass:"font-weight-bold"},[t._v("me")]):e("a",{staticClass:"primary font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showShares()}}},[t._v("\n\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+" "+t._s(t.status.reblogs_count>1?"others":"other")+"\n\t\t\t")])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"d-flex justify-content-between",staticStyle:{"font-size":"14px !important"}},[e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.like()}}},[t.status.favourited?e("span",{staticClass:"primary"},[e("i",{staticClass:"fas fa-heart mr-md-1 text-danger fa-lg"})]):e("span",[e("i",{staticClass:"far fa-heart mr-md-2"})]),t._v(" "),t.likesCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.likesCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.likesCount?t.$t("common.like"):t.$t("common.likes")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.like")))])])]),t._v(" "),t.status.comments_disabled?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill mr-2 px-3",attrs:{type:"button"},on:{click:function(e){return t.showComments()}}},[e("i",{staticClass:"far fa-comment mr-md-2"}),t._v(" "),t.replyCount&&!t.hideCounts?e("span",[t._v("\n\t\t\t\t\t"+t._s(t.count(t.replyCount))+"\n\t\t\t\t\t"),e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(1==t.replyCount?t.$t("common.comment"):t.$t("common.comments")))])]):e("span",[e("span",{staticClass:"d-none d-md-inline"},[t._v(t._s(t.$t("common.comment")))])])])]),t._v(" "),e("div",[e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",disabled:t.isReblogging},on:{click:function(e){return t.handleReblog()}}},[t.isReblogging?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[1==t.status.reblogged?e("i",{staticClass:"fas fa-retweet fa-lg text-warning"}):e("i",{staticClass:"far fa-retweet"}),t._v(" "),t.status.reblogs_count&&!t.hideCounts?e("span",{staticClass:"ml-md-2"},[t._v("\n\t\t\t\t\t\t"+t._s(t.count(t.status.reblogs_count))+"\n\t\t\t\t\t")]):t._e()])]),t._v(" "),t.status.in_reply_to_id||t.status.reblog_of_id?t._e():e("button",{staticClass:"btn btn-light font-weight-bold rounded-pill ml-3",attrs:{type:"button",disabled:t.isBookmarking},on:{click:function(e){return t.handleBookmark()}}},[t.isBookmarking?e("span",[e("b-spinner",{attrs:{variant:"warning",small:""}})],1):e("span",[t.status.hasOwnProperty("bookmarked_at")||t.status.hasOwnProperty("bookmarked")&&1==t.status.bookmarked?e("i",{staticClass:"fas fa-bookmark fa-lg text-warning"}):e("i",{staticClass:"far fa-bookmark"})])]),t._v(" "),t.admin?e("button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"ml-3 btn btn-light font-weight-bold rounded-pill",attrs:{type:"button",title:"Moderation Tools"},on:{click:function(e){return t.openModTools()}}},[e("i",{staticClass:"far fa-user-crown"})]):t._e()])])])},o=[]},16331:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"read-more-component",staticStyle:{"word-break":"break-word"}},[e("div",{domProps:{innerHTML:t._s(t.content)}})])},o=[]},66295:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",[e("b-modal",{ref:"sharesModal",attrs:{centered:"",size:"md",scrollable:!0,"hide-footer":"","header-class":"py-2","body-class":"p-0","title-class":"w-100 text-center pl-4 font-weight-bold","title-tag":"p",title:"Shared By"}},[t.isLoading?e("div",{staticClass:"likes-loader list-group border-top-0",staticStyle:{"max-height":"500px"}},[e("like-placeholder")],1):e("div",[t.likes.length?e("div",{staticClass:"list-group",staticStyle:{"max-height":"500px"}},[t._l(t.likes,(function(s,i){return e("div",{staticClass:"list-group-item border-left-0 border-right-0 px-3",class:[0===i?"border-top-0":""]},[e("div",{staticClass:"media align-items-center"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("a",{staticClass:"text-dark font-weight-bold text-decoration-none",attrs:{href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[t._v(t._s(t.getUsername(s)))])]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-dark font-weight-bold small text-break"},[t._v("@"+t._s(s.acct))])]),t._v(" "),e("div",[s.id==t.user.id?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},on:{click:function(e){return t.goToProfile(t.profile)}}},[t._v("\n\t\t\t\t\t\t\t\tView Profile\n\t\t\t\t\t\t\t")]):s.follows?e("button",{staticClass:"btn btn-outline-muted rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleUnfollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):s.follows?t._e():e("button",{staticClass:"btn btn-primary rounded-pill btn-sm font-weight-bold",staticStyle:{width:"110px"},attrs:{disabled:t.isUpdatingFollowState},on:{click:function(e){return t.handleFollow(i)}}},[t.isUpdatingFollowState&&t.followStateIndex===i?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])])])})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("like-placeholder",{staticClass:"border-top-0"})],1),t._v(" "),e("like-placeholder")],1):t._e()],2):e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"140px"}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v("Nobody has shared this yet!")])])])])],1)},o=[]},9143:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-feed-component"},[e("div",{staticClass:"profile-feed-component-nav d-flex justify-content-center justify-content-md-between align-items-center mb-4"},[e("div",{staticClass:"d-none d-md-block border-bottom flex-grow-1 profile-nav-btns"},[e("div",{staticClass:"btn-group"},[e("button",{staticClass:"btn btn-link",class:[1===t.tabIndex?"active":""],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?e("button",{staticClass:"btn btn-link",class:["archives"===t.tabIndex?"active":""],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?e("button",{staticClass:"btn btn-link",class:["bookmarks"===t.tabIndex?"active":""],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?e("button",{staticClass:"btn btn-link",class:[2===t.tabIndex?"active":""],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?e("button",{staticClass:"btn btn-link",class:[3===t.tabIndex?"active":""],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?e("div",{staticClass:"btn-group layout-sort-toggle"},[e("button",{staticClass:"btn btn-sm",class:[0===t.layoutIndex?"btn-dark":"btn-light"],on:{click:function(e){return t.toggleLayout(0,!0)}}},[e("i",{staticClass:"far fa-th fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-sm",class:[1===t.layoutIndex?"btn-dark":"btn-light"],on:{click:function(e){return t.toggleLayout(1,!0)}}},[e("i",{staticClass:"fas fa-th-large fa-lg"})]),t._v(" "),e("button",{staticClass:"btn btn-sm",class:[2===t.layoutIndex?"btn-dark":"btn-light"],on:{click:function(e){return t.toggleLayout(2,!0)}}},[e("i",{staticClass:"far fa-bars fa-lg"})])]):t._e()]),t._v(" "),0==t.tabIndex?e("div",{staticClass:"d-flex justify-content-center mt-5"},[e("b-spinner")],1):1==t.tabIndex?e("div",{staticClass:"px-0 mx-0"},[0===t.layoutIndex?e("div",{staticClass:"row"},[t._l(t.feed,(function(s,i){return e("div",{key:"tlob:"+i+s.id,staticClass:"col-4 p-1"},[s.hasOwnProperty("pf_type")&&"video"==s.pf_type?e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[s.sensitive?e("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),e("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash}})],1):e("div",{staticClass:"square-content"},[e("blur-hash-image",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash,src:s.media_attachments[0].preview_url}})],1),t._v(" "),e("div",{staticClass:"info-overlay-text"},[e("div",{staticClass:"text-white m-auto"},[e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.favourites_count)))])]),t._v(" "),e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.reply_count)))])]),t._v(" "),e("p",{staticClass:"mb-0 info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-sync fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.reblogs_count)))])])])])]),t._v(" "),t._m(1,!0),t._v(" "),e("span",{staticClass:"badge badge-light timestamp-overlay-badge"},[t._v("\n\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t")])]):e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[s.sensitive?e("div",{staticClass:"square-content"},[t._m(2,!0),t._v(" "),e("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash}})],1):e("div",{staticClass:"square-content"},[e("blur-hash-image",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash,src:s.media_attachments[0].url}})],1),t._v(" "),e("div",{staticClass:"info-overlay-text"},[e("div",{staticClass:"text-white m-auto"},[e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-heart fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.favourites_count)))])]),t._v(" "),e("p",{staticClass:"info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.reply_count)))])]),t._v(" "),e("p",{staticClass:"mb-0 info-overlay-text-field font-weight-bold"},[e("span",{staticClass:"far fa-sync fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.reblogs_count)))])])])])]),t._v(" "),e("span",{staticClass:"badge badge-light timestamp-overlay-badge"},[t._v("\n\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t")])])])})),t._v(" "),t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("div",{staticClass:"col-4 ph-wrapper"},[e("div",{staticClass:"ph-item"},[e("div",{staticClass:"ph-picture big"})])])]):t._e()],2):1===t.layoutIndex?e("div",{staticClass:"row"},[e("masonry",{attrs:{cols:{default:3,800:2},gutter:{default:"5px"}}},[t._l(t.feed,(function(s,i){return e("div",{key:"tlog:"+i+s.id,staticClass:"p-1"},[s.hasOwnProperty("pf_type")&&"video"==s.pf_type?e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[e("div",{staticClass:"square-content"},[e("blur-hash-image",{staticClass:"rounded",attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash,src:s.media_attachments[0].preview_url}})],1)]),t._v(" "),e("span",{staticClass:"badge badge-light video-overlay-badge"},[e("i",{staticClass:"far fa-video fa-2x"})]),t._v(" "),e("span",{staticClass:"badge badge-light timestamp-overlay-badge"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t")])]):s.sensitive?e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[e("div",{staticClass:"square-content"},[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-eye-slash fa-lg p-2 d-flex-inline"})])])]),t._v(" "),e("blur-hash-canvas",{staticClass:"rounded",attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash}})],1)])]):e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("img",{staticClass:"img-fluid w-100 rounded-lg",attrs:{src:t.previewUrl(s),onerror:"this.onerror=null;this.src='/storage/no-preview.png?v=0'"}}),t._v(" "),e("span",{staticClass:"badge badge-light timestamp-overlay-badge"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.timeago(s.created_at))+"\n\t\t\t\t\t\t")])])])})),t._v(" "),t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("div",{staticClass:"p-1 ph-wrapper"},[e("div",{staticClass:"ph-item"},[e("div",{staticClass:"ph-picture big"})])])]):t._e()],2)],1):2===t.layoutIndex?e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10"},t._l(t.feed,(function(s,i){return e("status-card",{key:"prs"+s.id+":"+i,attrs:{profile:t.user,status:s},on:{like:function(e){return t.likeStatus(i)},unlike:function(e){return t.unlikeStatus(i)},share:function(e){return t.shareStatus(i)},unshare:function(e){return t.unshareStatus(i)},menu:function(e){return t.openContextMenu(i)},"counter-change":function(e){return t.counterChange(i,e)},"likes-modal":function(e){return t.openLikesModal(i)},"shares-modal":function(e){return t.openSharesModal(i)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),t.canLoadMore?e("intersect",{on:{enter:t.enterIntersect}},[e("div",{staticClass:"col-12 col-md-10"},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)]):t._e()],1):t._e(),t._v(" "),t.feedLoaded&&!t.feed.length?e("div",[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-8 text-center"},[e("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("profile.emptyPosts")))])])])]):t._e()]):"private"===t.tabIndex?e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-8 text-center"},[e("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-secure-feed.svg"}}),t._v(" "),e("p",{staticClass:"h3 text-dark font-weight-bold mt-3 py-3"},[t._v("This profile is private")]),t._v(" "),e("div",{staticClass:"lead text-muted px-3"},[t._v("\n\t\t\t\tOnly approved followers can see "),e("span",{staticClass:"font-weight-bold text-dark text-break"},[t._v("@"+t._s(t.profile.acct))]),t._v("'s "),e("br"),t._v("\n\t\t\t\tposts. To request access, click "),e("span",{staticClass:"font-weight-bold"},[t._v("Follow")]),t._v(".\n\t\t\t")])])]):2==t.tabIndex?e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-8"},[e("div",{staticClass:"list-group"},t._l(t.collections,(function(s,i){return e("a",{staticClass:"list-group-item text-decoration-none text-dark",attrs:{href:s.url}},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-lg border mr-3",staticStyle:{"object-fit":"cover"},attrs:{src:s.thumb,width:"65",height:"65",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}}),t._v(" "),e("div",{staticClass:"media-body text-left"},[e("p",{staticClass:"lead mb-0"},[t._v(t._s(s.title?s.title:"Untitled"))]),t._v(" "),e("p",{staticClass:"small text-muted mb-1"},[t._v(t._s(s.description||"No description available"))]),t._v(" "),e("p",{staticClass:"small text-lighter mb-0 font-weight-bold"},[e("span",[t._v(t._s(s.post_count)+" posts")]),t._v(" "),e("span",[t._v("·")]),t._v(" "),"public"===s.visibility?e("span",{staticClass:"text-dark"},[t._v("Public")]):"private"===s.visibility?e("span",{staticClass:"text-dark"},[e("i",{staticClass:"far fa-lock fa-sm"}),t._v(" Followers Only")]):"draft"===s.visibility?e("span",{staticClass:"primary"},[e("i",{staticClass:"far fa-lock fa-sm"}),t._v(" Draft")]):t._e(),t._v(" "),e("span",[t._v("·")]),t._v(" "),s.published_at?e("span",[t._v("Created "+t._s(t.timeago(s.published_at))+" ago")]):e("span",{staticClass:"text-warning"},[t._v("UNPUBLISHED")])])])])])})),0)]),t._v(" "),t.collectionsLoaded&&!t.collections.length?e("div",{staticClass:"col-12 col-md-8 text-center"},[e("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("p",{staticClass:"lead text-muted font-weight-bold"},[t._v(t._s(t.$t("profile.emptyCollections")))])]):t._e(),t._v(" "),t.canLoadMoreCollections?e("div",{staticClass:"col-12 col-md-8"},[e("intersect",{on:{enter:t.enterCollectionsIntersect}},[e("div",{staticClass:"d-flex justify-content-center mt-5"},[e("b-spinner",{attrs:{small:""}})],1)])],1):t._e()]):3==t.tabIndex?e("div",{staticClass:"px-0 mx-0"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10"},t._l(t.favourites,(function(s,i){return e("status-card",{key:"prs"+s.id+":"+i,attrs:{profile:t.user,status:s},on:{like:function(e){return t.likeStatus(i)},unlike:function(e){return t.unlikeStatus(i)},share:function(e){return t.shareStatus(i)},unshare:function(e){return t.unshareStatus(i)},"counter-change":function(e){return t.counterChange(i,e)},"likes-modal":function(e){return t.openLikesModal(i)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),t.canLoadMoreFavourites?e("div",{staticClass:"col-12 col-md-10"},[e("intersect",{on:{enter:t.enterFavouritesIntersect}},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e()]),t._v(" "),t.favourites&&t.favourites.length?t._e():e("div",{staticClass:"row justify-content-center"},[t._m(3)])]):"bookmarks"==t.tabIndex?e("div",{staticClass:"px-0 mx-0"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10"},t._l(t.bookmarks,(function(s,i){return e("status-card",{key:"prs"+s.id+":"+i,attrs:{profile:t.user,"new-reactions":!0,status:s},on:{menu:function(e){return t.openContextMenu(i)},"counter-change":function(e){return t.counterChange(i,e)},"likes-modal":function(e){return t.openLikesModal(i)},bookmark:function(e){return t.handleBookmark(i)},"comment-likes-modal":t.openCommentLikesModal,"handle-report":t.handleReport}})})),1),t._v(" "),e("div",{staticClass:"col-12 col-md-10"},[t.canLoadMoreBookmarks?e("intersect",{on:{enter:t.enterBookmarksIntersect}},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1):t._e()],1)]),t._v(" "),t.bookmarks&&t.bookmarks.length?t._e():e("div",{staticClass:"row justify-content-center"},[t._m(4)])]):"archives"==t.tabIndex?e("div",{staticClass:"px-0 mx-0"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-10"},t._l(t.archives,(function(s,i){return e("status-card",{key:"prarc"+s.id+":"+i,attrs:{profile:t.user,"new-reactions":!0,"reaction-bar":!1,status:s},on:{menu:function(e){return t.openContextMenu(i,"archive")}}})})),1),t._v(" "),t.canLoadMoreArchives?e("div",{staticClass:"col-12 col-md-10"},[e("intersect",{on:{enter:t.enterArchivesIntersect}},[e("status-placeholder",{staticStyle:{"margin-bottom":"10rem"}})],1)],1):t._e()]),t._v(" "),t.archives&&t.archives.length?t._e():e("div",{staticClass:"row justify-content-center"},[t._m(5)])]):t._e(),t._v(" "),t.showMenu?e("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?e("likes-modal",{ref:"likesModal",attrs:{status:t.likesModalPost,profile:t.user}}):t._e(),t._v(" "),t.showSharesModal?e("shares-modal",{ref:"sharesModal",attrs:{status:t.sharesModalPost,profile:t.profile}}):t._e(),t._v(" "),e("report-modal",{key:t.reportedStatusId,ref:"reportModal",attrs:{status:t.reportedStatus}})],1)},o=[function(){var t=this._self._c;return t("div",{staticClass:"info-overlay-text-label"},[t("h5",{staticClass:"text-white m-auto font-weight-bold"},[t("span",[t("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])},function(){var t=this._self._c;return t("span",{staticClass:"badge badge-light video-overlay-badge"},[t("i",{staticClass:"far fa-video fa-2x"})])},function(){var t=this._self._c;return t("div",{staticClass:"info-overlay-text-label"},[t("h5",{staticClass:"text-white m-auto font-weight-bold"},[t("span",[t("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-12 col-md-8 text-center"},[e("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("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._self._c;return e("div",{staticClass:"col-12 col-md-8 text-center"},[e("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("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._self._c;return e("div",{staticClass:"col-12 col-md-8 text-center"},[e("img",{staticClass:"img-fluid",staticStyle:{opacity:"0.6"},attrs:{src:"/img/illustrations/dk-nature-man-monochrome.svg"}}),t._v(" "),e("p",{staticClass:"lead text-muted font-weight-bold"},[t._v("We can't seem to find any posts you have bookmarked")])])}]},48281:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-followers-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-8"},[t.isLoaded?e("div",{staticClass:"d-flex justify-content-between align-items-center mb-4"},[e("div",[e("button",{staticClass:"btn btn-outline-dark rounded-pill font-weight-bold",on:{click:function(e){return t.goBack()}}},[t._v("\n Back\n ")])]),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column w-100 overflow-hidden"},[e("p",{staticClass:"small text-muted mb-0 text-uppercase font-weight-light cursor-pointer text-truncate text-center",staticStyle:{width:"70%"},on:{click:function(e){return t.goBack()}}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),e("p",{staticClass:"lead font-weight-bold mt-n1 mb-0"},[t._v(t._s(t.$t("profile.followers")))])]),t._v(" "),t._m(0)]):t._e(),t._v(" "),t.isLoaded?e("div",{staticClass:"list-group scroll-card"},[t._l(t.feed,(function(s,i){return e("div",{staticClass:"list-group-item"},[e("a",{staticClass:"text-decoration-none",attrs:{id:"apop_"+s.id,href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",draggable:"false",loading:"lazy",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("span",{staticClass:"text-dark font-weight-bold text-decoration-none",domProps:{innerHTML:t._s(t.getUsername(s))}})]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-muted small text-break"},[t._v("@"+t._s(s.acct))])])])]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+s.id,triggers:"hover",placement:"left",delay:"1000","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:s}})],1)],1)})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder")],1)],1):t._e(),t._v(" "),t.canLoadMore||t.feed.length?t._e():e("div",[e("div",{staticClass:"list-group-item text-center"},[t.isWarmingCache?e("div",{staticClass:"px-4"},[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v("Loading Followers...")]),t._v(" "),e("div",{staticClass:"py-3"},[e("b-spinner",{staticStyle:{width:"1.5rem",height:"1.5rem"},attrs:{variant:"primary"}})],1),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Please wait while we collect followers of this account, this shouldn't take long!")])]):e("p",{staticClass:"mb-0 font-weight-bold"},[t._v("No followers yet!")])])])],2):e("div",{staticClass:"list-group"},[e("placeholder")],1)])])])},o=[function(){var t=this._self._c;return t("div",[t("a",{staticClass:"btn btn-dark rounded-pill font-weight-bold spacer-btn",attrs:{href:"#"}},[this._v("Back")])])}]},29594:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-following-component"},[e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"col-12 col-md-7"},[t.isLoaded?e("div",{staticClass:"d-flex justify-content-between align-items-center mb-4"},[e("div",[e("button",{staticClass:"btn btn-outline-dark rounded-pill font-weight-bold",on:{click:function(e){return t.goBack()}}},[t._v("\n Back\n ")])]),t._v(" "),e("div",{staticClass:"d-flex align-items-center justify-content-center flex-column w-100 overflow-hidden"},[e("p",{staticClass:"small text-muted mb-0 text-uppercase font-weight-light cursor-pointer text-truncate text-center",staticStyle:{width:"70%"},on:{click:function(e){return t.goBack()}}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),e("p",{staticClass:"lead font-weight-bold mt-n1 mb-0"},[t._v(t._s(t.$t("profile.following")))])]),t._v(" "),t._m(0)]):t._e(),t._v(" "),t.isLoaded?e("div",{staticClass:"list-group scroll-card"},[t._l(t.feed,(function(s,i){return e("div",{staticClass:"list-group-item"},[e("a",{staticClass:"text-decoration-none",attrs:{id:"apop_"+s.id,href:s.url},on:{click:function(e){return e.preventDefault(),t.goToProfile(s)}}},[e("div",{staticClass:"media"},[e("img",{staticClass:"mr-3 shadow-sm",staticStyle:{"border-radius":"8px"},attrs:{src:s.avatar,width:"40",height:"40",draggable:"false",loading:"lazy",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"mb-0 text-truncate"},[e("span",{staticClass:"text-dark font-weight-bold text-decoration-none",domProps:{innerHTML:t._s(t.getUsername(s))}})]),t._v(" "),e("p",{staticClass:"mb-0 mt-n1 text-muted small text-break"},[t._v("@"+t._s(s.acct))])])])]),t._v(" "),e("b-popover",{attrs:{target:"apop_"+s.id,triggers:"hover",placement:"left",delay:"1000","custom-class":"shadow border-0 rounded-px"}},[e("profile-hover-card",{attrs:{profile:s}})],1)],1)})),t._v(" "),t.canLoadMore?e("div",[e("intersect",{on:{enter:t.enterIntersect}},[e("placeholder")],1)],1):t._e(),t._v(" "),t.canLoadMore||t.feed.length?t._e():e("div",[e("div",{staticClass:"list-group-item text-center"},[t.isWarmingCache?e("div",{staticClass:"px-4"},[e("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v("Loading Following...")]),t._v(" "),e("div",{staticClass:"py-3"},[e("b-spinner",{staticStyle:{width:"1.5rem",height:"1.5rem"},attrs:{variant:"primary"}})],1),t._v(" "),e("p",{staticClass:"small text-muted mb-0"},[t._v("Please wait while we collect following accounts, this shouldn't take long!")])]):e("p",{staticClass:"mb-0 font-weight-bold"},[t._v("No following anyone yet!")])])])],2):e("div",{staticClass:"list-group"},[e("placeholder")],1)])])])},o=[function(){var t=this._self._c;return t("div",[t("a",{staticClass:"btn btn-dark rounded-pill font-weight-bold spacer-btn",attrs:{href:"#"}},[this._v("Back")])])}]},53577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-hover-card"},[e("div",{staticClass:"profile-hover-card-inner"},[e("div",{staticClass:"d-flex justify-content-between align-items-start",staticStyle:{"max-width":"240px"}},[e("a",{attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[e("img",{staticClass:"avatar",attrs:{src:t.profile.avatar,width:"50",height:"50",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),t._v(" "),t.user.id==t.profile.id?e("div",[e("a",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),t.user.id!=t.profile.id&&t.relationship?e("div",[t.relationship.following?e("button",{staticClass:"btn btn-outline-primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performUnfollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Following")])]):e("div",[t.relationship.requested?e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:""}},[t._v("Follow Requested")]):e("button",{staticClass:"btn btn-primary primary px-3 py-1 font-weight-bold rounded-pill",attrs:{disabled:t.isLoading},on:{click:function(e){return t.performFollow()}}},[t.isLoading?e("span",[e("b-spinner",{attrs:{small:""}})],1):e("span",[t._v("Follow")])])])]):t._e()]),t._v(" "),e("p",{staticClass:"display-name"},[e("a",{attrs:{href:t.profile.url},domProps:{innerHTML:t._s(t.getDisplayName())},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}})]),t._v(" "),e("div",{staticClass:"username"},[e("a",{staticClass:"username-link",attrs:{href:t.profile.url},on:{click:function(e){return e.preventDefault(),t.goToProfile()}}},[t._v("\n\t\t\t\t@"+t._s(t.getUsername())+"\n\t\t\t")]),t._v(" "),t.user.id!=t.profile.id&&t.relationship&&t.relationship.followed_by?e("p",{staticClass:"username-follows-you"},[e("span",[t._v("Follows You")])]):t._e()]),t._v(" "),t.profile.hasOwnProperty("pronouns")&&t.profile.pronouns&&t.profile.pronouns.length?e("p",{staticClass:"pronouns"},[t._v("\n\t\t\t"+t._s(t.profile.pronouns.join(", "))+"\n\t\t")]):t._e(),t._v(" "),e("p",{staticClass:"bio",domProps:{innerHTML:t._s(t.bio)}}),t._v(" "),e("p",{staticClass:"stats"},[e("span",{staticClass:"stats-following"},[e("span",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" Following\n\t\t\t")]),t._v(" "),e("span",{staticClass:"stats-followers"},[e("span",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" Followers\n\t\t\t")])])])])},o=[]},59100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"profile-sidebar-component"},[e("div",[e("div",{staticClass:"d-block d-md-none"},[e("div",{staticClass:"media user-card user-select-none"},[e("div",{staticStyle:{position:"relative"}},[e("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(" "),e("div",{staticClass:"media-body"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username",class:{remote:!t.profile.local}},[t.profile.local?e("span",[t._v("@"+t._s(t.profile.acct))]):e("a",{staticClass:"primary",attrs:{href:t.profile.url}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),t.profile.locked?e("span",[e("i",{staticClass:"fal fa-lock ml-1 fa-sm text-lighter"})]):t._e()]),t._v(" "),e("div",{staticClass:"stats"},[e("div",{staticClass:"stats-posts",on:{click:function(e){return t.toggleTab("index")}}},[e("div",{staticClass:"posts-count"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),e("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.posts"))+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"stats-followers",on:{click:function(e){return t.toggleTab("followers")}}},[e("div",{staticClass:"followers-count"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),e("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.followers"))+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),e("div",{staticClass:"stats-following",on:{click:function(e){return t.toggleTab("following")}}},[e("div",{staticClass:"following-count"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),e("div",{staticClass:"stats-label"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(t.$t("profile.following"))+"\n\t\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"d-none d-md-flex justify-content-between align-items-center"},[e("button",{staticClass:"btn btn-link",on:{click:function(e){return t.goBack()}}},[e("i",{staticClass:"far fa-chevron-left fa-lg text-lighter"})]),t._v(" "),e("div",[e("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?e("p",{staticClass:"text-right",staticStyle:{"margin-top":"-30px"}},[e("span",{staticClass:"admin-label"},[t._v("Admin")])]):t._e()]),t._v(" "),e("b-dropdown",{attrs:{variant:"link",right:"","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[e("i",{staticClass:"far fa-lg fa-cog text-lighter"})]},proxy:!0}])},[t._v(" "),t.profile.local?e("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(" "),e("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?e("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?e("div",[e("b-dropdown-divider"),t._v(" "),e("b-dropdown-item",{attrs:{href:"/settings/home","link-class":"font-weight-bold"}},[e("i",{staticClass:"far fa-cog mr-1"}),t._v(" Settings\n\t\t\t\t\t\t")])],1):e("div",[t.profile.local?t._e():e("b-dropdown-item",{attrs:{href:t.profile.url,"link-class":"font-weight-bold"}},[t._v("View Remote Profile")]),t._v(" "),e("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?e("div",[e("b-dropdown-divider"),t._v(" "),e("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(" "),e("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(" "),e("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(" "),e("div",{staticClass:"d-none d-md-block text-center"},[e("p",{staticClass:"display-name",domProps:{innerHTML:t._s(t.getDisplayName())}}),t._v(" "),e("p",{staticClass:"username",class:{remote:!t.profile.local}},[t.profile.local?e("span",[t._v("@"+t._s(t.profile.acct))]):e("a",{staticClass:"primary",attrs:{href:t.profile.url}},[t._v("@"+t._s(t.profile.acct))]),t._v(" "),t.profile.locked?e("span",[e("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)?e("p",{staticClass:"mt-n3 text-center"},[t.relationship.followed_by?e("span",{staticClass:"badge badge-primary p-1"},[t._v("Follows you")]):t._e(),t._v(" "),t.relationship.muting?e("span",{staticClass:"badge badge-dark p-1 ml-1"},[t._v("Muted")]):t._e(),t._v(" "),t.relationship.blocking?e("span",{staticClass:"badge badge-danger p-1 ml-1"},[t._v("Blocked")]):t._e()]):t._e()]),t._v(" "),e("div",{staticClass:"d-none d-md-block stats py-2"},[e("div",{staticClass:"d-flex justify-content-between"},[e("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("index")}}},[e("strong",{attrs:{title:t.profile.statuses_count}},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),e("span",[t._v(t._s(t.$t("profile.posts")))])]),t._v(" "),e("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("followers")}}},[e("strong",{attrs:{title:t.profile.followers_count}},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),e("span",[t._v(t._s(t.$t("profile.followers")))])]),t._v(" "),e("button",{staticClass:"btn btn-link stat-item",on:{click:function(e){return t.toggleTab("following")}}},[e("strong",{attrs:{title:t.profile.following_count}},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),e("span",[t._v(t._s(t.$t("profile.following")))])])])]),t._v(" "),e("div",{staticClass:"d-flex align-items-center mb-3 mb-md-0"},[t.user.id===t.profile.id?e("div",{staticStyle:{"flex-grow":"1"}},[e("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._v(" "),t.profile.locked?t._e():e("a",{staticClass:"btn btn-light font-weight-bold btn-block follow-btn mt-md-n4",attrs:{href:"/i/web/my-portfolio"}},[t._v("\n My Portfolio\n "),e("span",{staticClass:"badge badge-success ml-1"},[t._v("NEW")])])]):t.profile.hasOwnProperty("moved")&&t.profile.moved.id?e("div",{staticStyle:{"flex-grow":"1"}},[e("div",{staticClass:"card shadow-none rounded-lg mb-3 bg-danger"},[e("div",{staticClass:"card-body"},[t._m(0),t._v(" "),e("p",{staticClass:"mb-0 lead ft-std text-white text-break"},[e("router-link",{staticClass:"btn btn-outline-light btn-block rounded-pill font-weight-bold",attrs:{to:"/i/web/profile/".concat(t.profile.moved.id)}},[t._v("@"+t._s(t.truncate(t.profile.moved.acct)))])],1)])])]):t.profile.locked?e("div",{staticStyle:{"flex-grow":"1"}},[t.relationship.following||t.relationship.requested?t.relationship.requested?e("div",[e("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",attrs:{disabled:""}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("profile.followRequested"))+"\n\t\t\t\t\t\t")]),t._v(" "),e("p",{staticClass:"small font-weight-bold text-center mt-n4"},[e("a",{attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.cancelFollowRequest()}}},[t._v("Cancel Follow Request")])])]):t.relationship.following?e("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"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t\t")]):t._e():[e("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",attrs:{disabled:t.relationship.blocking},on:{click:t.follow}},[t._v("\n\t\t\t\t\t\t\tRequest Follow\n\t\t\t\t\t\t")]),t._v(" "),t.relationship.blocking?e("p",{staticClass:"mt-n4 text-lighter",staticStyle:{"font-size":"11px"}},[t._v("You need to unblock this account before you can request to follow.")]):t._e()]],2):e("div",{staticStyle:{"flex-grow":"1"}},[t.relationship.following?e("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"+t._s(t.$t("profile.unfollow"))+"\n\t\t\t\t\t")]):[e("button",{staticClass:"btn btn-primary font-weight-bold btn-block follow-btn",attrs:{disabled:t.relationship.blocking},on:{click:t.follow}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("profile.follow"))+"\n\t\t\t\t\t\t")]),t._v(" "),t.relationship.blocking?e("p",{staticClass:"mt-n4 text-lighter",staticStyle:{"font-size":"11px"}},[t._v("You need to unblock this account before you can follow.")]):t._e()]],2),t._v(" "),e("div",{staticClass:"d-block d-md-none ml-3"},[e("b-dropdown",{attrs:{variant:"link",right:"","no-caret":""},scopedSlots:t._u([{key:"button-content",fn:function(){return[e("i",{staticClass:"far fa-lg fa-cog text-lighter"})]},proxy:!0}])},[t._v(" "),t.profile.local?e("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(" "),e("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?e("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?e("div",[e("b-dropdown-divider"),t._v(" "),e("b-dropdown-item",{attrs:{href:"/settings/home","link-class":"font-weight-bold"}},[e("i",{staticClass:"far fa-cog mr-1"}),t._v(" Settings\n\t\t\t\t\t\t\t")])],1):e("div",[t.profile.local?t._e():e("b-dropdown-item",{attrs:{href:t.profile.url,"link-class":"font-weight-bold"}},[t._v("View Remote Profile")]),t._v(" "),e("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?e("div",[e("b-dropdown-divider"),t._v(" "),e("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"+t._s(t.relationship.muting?"Unmute":"Mute")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("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"+t._s(t.relationship.blocking?"Unblock":"Block")+"\n\t\t\t\t\t\t\t")]),t._v(" "),e("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?e("div",{staticClass:"bio-wrapper card shadow-none"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"bio-body"},[e("div",{domProps:{innerHTML:t._s(t.renderedBio)}})])])]):t._e(),t._v(" "),e("div",{staticClass:"d-none d-md-block card card-body shadow-none py-2"},[t.profile.website?e("p",{staticClass:"small"},[t._m(1),t._v(" "),e("span",[e("a",{staticClass:"font-weight-bold",attrs:{href:t.profile.website}},[t._v(t._s(t.profile.website))])])]):t._e(),t._v(" "),e("p",{staticClass:"mb-0 small"},[t._m(2),t._v(" "),t.profile.local?e("span",[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("profile.joined"))+" "+t._s(t.getJoinedDate())+"\n\t\t\t\t\t")]):e("span",[t._v("\n\t\t\t\t\t\t"+t._s(t.$t("profile.joined"))+" "+t._s(t.getJoinedDate())+"\n\n\t\t\t\t\t\t"),e("span",{staticClass:"float-right primary"},[e("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(" "),e("div",{staticClass:"d-none d-md-flex sidebar-sitelinks"},[e("a",{attrs:{href:"/site/about"}},[t._v(t._s(t.$t("navmenu.about")))]),t._v(" "),e("router-link",{attrs:{to:"/i/web/help"}},[t._v(t._s(t.$t("navmenu.help")))]),t._v(" "),e("router-link",{attrs:{to:"/i/web/language"}},[t._v(t._s(t.$t("navmenu.language")))]),t._v(" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.privacy")))]),t._v(" "),e("a",{attrs:{href:"/site/terms"}},[t._v(t._s(t.$t("navmenu.terms")))])],1),t._v(" "),t._m(3)]),t._v(" "),e("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"}},[e("div",{domProps:{innerHTML:t._s(t.profile.note)}})])],1)},o=[function(){var t=this._self._c;return t("div",{staticClass:"d-flex align-items-center ft-std text-white mb-2"},[t("i",{staticClass:"far fa-exclamation-triangle mr-2 text-white"}),this._v("\n Account has moved to:\n ")])},function(){var t=this._self._c;return t("span",{staticClass:"text-lighter mr-2"},[t("i",{staticClass:"far fa-link"})])},function(){var t=this._self._c;return t("span",{staticClass:"text-lighter mr-2"},[t("i",{staticClass:"far fa-clock"})])},function(){var t=this._self._c;return t("div",{staticClass:"d-none d-md-block sidebar-attribution"},[t("a",{staticClass:"font-weight-bold",attrs:{href:"https://pixelfed.org"}},[this._v("Powered by Pixelfed")])])}]},21146:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>i,staticRenderFns:()=>o});var i=function(){var t=this,e=t._self._c;return e("div",[1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n Sensitive Content\n ")]),t._v(" "),e("p",{staticClass:"text-center py-2 content-label-text"},[t._v("\n "+t._s(t.status.spoiler_text?t.status.spoiler_text:"This post may contain sensitive content.")+"\n ")]),t._v(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){t.status.sensitive=!1}}},[t._v("See Post")])])])]):[t.shouldPlay?[t.hasHls?e("video",{ref:"video",class:{fixedHeight:t.fixedHeight},staticStyle:{margin:"0"},attrs:{playsinline:"","webkit-playsinline":"",controls:"",autoplay:"false",poster:t.getPoster(t.status)}}):e("video",{staticClass:"card-img-top shadow",class:{fixedHeight:t.fixedHeight},staticStyle:{"border-radius":"15px","object-fit":"contain","background-color":"#000"},attrs:{autoplay:"false",playsinline:"","webkit-playsinline":"",controls:"",poster:t.getPoster(t.status)}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])]:e("div",{staticClass:"content-label-wrapper",style:{background:"linear-gradient(rgba(0, 0, 0, 0.2),rgba(0, 0, 0, 0.8)),url(".concat(t.getPoster(t.status),")"),backgroundSize:"cover"}},[e("div",{staticClass:"text-light content-label"},[e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-link btn-block btn-sm font-weight-bold",on:{click:function(e){return e.preventDefault(),t.handleShouldPlay.apply(null,arguments)}}},[e("i",{staticClass:"fas fa-play fa-5x text-white"})])])])])]],2)},o=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},49247:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".profile-timeline-component[data-v-5efd4702]{margin-bottom:10rem}",""]);const a=o},35296:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),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 .VueCarousel-wrapper .VueCarousel-slide img{-o-object-fit:contain;object-fit:contain}.timeline-status-component .status-text{z-index:3}.timeline-status-component .reaction-liked-by,.timeline-status-component .status-text.py-0{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .reaction-liked-by{font-size:11px;font-weight:600}.timeline-status-component .location,.timeline-status-component .timestamp,.timeline-status-component .visibility{color:#94a3b8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.timeline-status-component .invisible{display:none}.timeline-status-component .blurhash-wrapper img{border-radius:0;-o-object-fit:cover;object-fit:cover}.timeline-status-component .blurhash-wrapper canvas{border-radius:0}.timeline-status-component .content-label-wrapper{background-color:#000;border-radius:0;height:400px;overflow:hidden;position:relative;width:100%}.timeline-status-component .content-label-wrapper canvas,.timeline-status-component .content-label-wrapper img{cursor:pointer;max-height:400px}.timeline-status-component .content-label{align-items:center;background:rgba(0,0,0,.2);border-radius:0;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;position:absolute;width:100%;z-index:2}.timeline-status-component .rounded-bottom{border-bottom-left-radius:15px!important;border-bottom-right-radius:15px!important}.timeline-status-component .card-footer .media{position:relative}.timeline-status-component .card-footer .media .comment-border-link{background-clip:padding-box;background-color:#e5e7eb;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:calc(100% - 100px);left:11px;position:absolute;top:40px;width:10px}.timeline-status-component .card-footer .media .comment-border-link:hover{background-color:#bfdbfe}.timeline-status-component .card-footer .media .child-reply-form{position:relative}.timeline-status-component .card-footer .media .comment-border-arrow{background-clip:padding-box;background-color:#e5e7eb;border-bottom:2px solid transparent;border-left:4px solid transparent;border-right:4px solid transparent;display:block;height:29px;left:-33px;position:absolute;top:-6px;width:10px}.timeline-status-component .card-footer .media .comment-border-arrow:after{background-color:#e5e7eb;content:"";display:block;height:2px;left:2px;position:absolute;top:25px;width:15px}.timeline-status-component .card-footer .media-status{margin-bottom:1.3rem}.timeline-status-component .card-footer .media-avatar{border-radius:8px;margin-right:12px}.timeline-status-component .card-footer .media-body-comment{background-color:var(--comment-bg);border-radius:.9rem;padding:.4rem .7rem;width:-moz-fit-content;width:fit-content}.timeline-status-component .card-footer .media-body-comment-username{color:var(--body-color);font-size:14px;font-weight:700!important;margin-bottom:.25rem!important}.timeline-status-component .card-footer .media-body-comment-username a{color:var(--body-color);text-decoration:none}.timeline-status-component .card-footer .media-body-comment-content{font-size:16px;margin-bottom:0}.timeline-status-component .card-footer .media-body-reactions{color:#b8c2cc!important;font-size:12px;margin-bottom:0!important;margin-top:.4rem!important}.timeline-status-component .fixedHeight{max-height:400px}.timeline-status-component .fixedHeight .VueCarousel-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .VueCarousel-slide img{max-height:400px}.timeline-status-component .fixedHeight .blurhash-wrapper img{background-color:transparent;height:400px;max-height:400px;-o-object-fit:contain;object-fit:contain}.timeline-status-component .fixedHeight .blurhash-wrapper canvas{max-height:400px}.timeline-status-component .fixedHeight .content-label-wrapper{border-radius:15px}.timeline-status-component .fixedHeight .content-label{border-radius:0;height:400px}',""]);const a=o},35518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".app-drawer-component .nav-link{padding:.5rem .1rem}.app-drawer-component .nav-link.active{background-color:transparent}.app-drawer-component .nav-link.router-link-exact-active{background-color:transparent;color:var(--primary)!important}.app-drawer-component .nav-link p{margin-bottom:0}.app-drawer-component .nav-link-label{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:10px;font-weight:700;margin-top:0;opacity:.6;text-transform:uppercase}",""]);const a=o},34857:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),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;user-select:none!important;z-index:3}.post-comment-drawer .media-body-wrapper .media-body-likes-count i{margin-right:3px}.post-comment-drawer .media-body-wrapper .media-body-likes-count .count{color:#334155}.post-comment-drawer .media-body-show-replies{font-size:13px;margin-bottom:5px;margin-top:-5px}.post-comment-drawer .media-body-show-replies a{align-items:center;display:flex;text-decoration:none}.post-comment-drawer .media-body-show-replies-icon{display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;margin-right:.25rem;padding-left:.5rem;text-decoration:none;text-rendering:auto;transform:rotate(90deg)}.post-comment-drawer .media-body-show-replies-icon:before{content:"\\f148"}.post-comment-drawer .media-body-show-replies-label{padding-top:9px}.post-comment-drawer-loadmore{font-size:.7875rem}.post-comment-drawer .reply-form-input{flex:1;position:relative}.post-comment-drawer .reply-form-input-actions{position:absolute;right:10px;top:50%;transform:translateY(-50%)}.post-comment-drawer .reply-form-input-actions.open{top:85%;transform:translateY(-85%)}.post-comment-drawer .child-reply-form{position:relative}.post-comment-drawer .bh-comment{height:auto;max-height:260px!important;max-width:160px!important;position:relative;width:100%}.post-comment-drawer .bh-comment .img-fluid,.post-comment-drawer .bh-comment canvas{border-radius:8px}.post-comment-drawer .bh-comment img,.post-comment-drawer .bh-comment span{height:auto;max-height:260px!important;max-width:160px!important;width:100%}.post-comment-drawer .bh-comment img{border-radius:8px;-o-object-fit:cover;object-fit:cover}.post-comment-drawer .bh-comment.bh-comment-borderless{border-radius:8px;margin-bottom:5px;overflow:hidden}.post-comment-drawer .bh-comment.bh-comment-borderless .img-fluid,.post-comment-drawer .bh-comment.bh-comment-borderless canvas,.post-comment-drawer .bh-comment.bh-comment-borderless img{border-radius:0}.post-comment-drawer .bh-comment .sensitive-warning{background:rgba(0,0,0,.4);border-radius:8px;color:#fff;cursor:pointer;left:50%;padding:5px;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none}.post-comment-drawer .v-tribute{width:100%}',""]);const a=o},26689:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".menu-option[data-v-be1fd05a]{color:var(--dark);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-weight:500;text-decoration:none}.list-group-item[data-v-be1fd05a]{border-color:var(--border-color)}.action-icon-link[data-v-be1fd05a]{display:flex;flex-direction:column}.action-icon-link .icon[data-v-be1fd05a]{margin-bottom:5px;opacity:.5}.action-icon-link p[data-v-be1fd05a]{font-size:11px;font-weight:600}.action-icon-link-inline[data-v-be1fd05a]{align-items:center;display:flex;flex-direction:row;gap:8px;justify-content:center}.action-icon-link-inline p[data-v-be1fd05a]{font-weight:700}",""]);const a=o},49777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),o=s.n(i)()((function(t){return t[1]}));o.push([t.id,".img-contain img{-o-object-fit:contain;object-fit:contain}",""]);const a=o},88740:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),o=s.n(i)()((function(t){return t[1]}));o.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}}.profile-feed-component .video-overlay-badge{color:var(--dark);opacity:.6;padding-bottom:1px;position:absolute;right:10px;top:10px}.profile-feed-component .timestamp-overlay-badge{bottom:10px;opacity:.6;position:absolute;right:10px}.profile-feed-component .profile-nav-btns{margin-right:1rem}.profile-feed-component .profile-nav-btns .btn-group{min-height:45px}.profile-feed-component .profile-nav-btns .btn-link{border-radius:0;color:var(--text-lighter);font-size:14px;font-weight:700;margin-right:1rem}.profile-feed-component .profile-nav-btns .btn-link:hover{color:var(--text-muted);text-decoration:none}.profile-feed-component .profile-nav-btns .btn-link.active{border-bottom:1px solid var(--dark);color:var(--dark);transition:border-bottom .25s ease-in-out}.profile-feed-component .layout-sort-toggle .btn{border:none}.profile-feed-component .layout-sort-toggle .btn.btn-light{opacity:.4}",""]);const a=o},46058:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),o=s.n(i)()((function(t){return t[1]}));o.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)}.profile-followers-component .scroll-card{-ms-overflow-style:none;max-height:calc(100vh - 250px);overflow-y:auto;scroll-behavior:smooth;scrollbar-width:none}.profile-followers-component .scroll-card::-webkit-scrollbar{display:none}.profile-followers-component .spacer-btn{opacity:0;pointer-events:none}",""]);const a=o},92519:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),o=s.n(i)()((function(t){return t[1]}));o.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)}.profile-following-component .scroll-card{-ms-overflow-style:none;max-height:calc(100vh - 250px);overflow-y:auto;scroll-behavior:smooth;scrollbar-width:none}.profile-following-component .scroll-card::-webkit-scrollbar{display:none}.profile-following-component .spacer-btn{opacity:0;pointer-events:none}",""]);const a=o},93100:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),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:var(--comment-bg);border-radius:6px;color:var(--dropdown-item-color);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:12px;font-weight:500;line-height:16px;padding:2px 4px}.profile-hover-card .pronouns{color:#9ca3af;font-size:11px;font-weight:600;margin-bottom:.6rem;margin-top:-.8rem}.profile-hover-card .bio{color:var(--body-color);font-size:12px;line-height:1.2;margin-bottom:0;max-height:60px;max-width:240px;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.profile-hover-card .bio .invisible{display:none}.profile-hover-card .stats{color:var(--body-color);font-size:14px;margin-bottom:0;margin-top:.5rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.profile-hover-card .stats .stats-following{margin-right:.8rem}.profile-hover-card .stats .followers-count,.profile-hover-card .stats .following-count{font-weight:800}.profile-hover-card .btn.rounded-pill{min-width:80px}",""]);const a=o},34347:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(76798),o=s.n(i)()((function(t){return t[1]}));o.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:var(--input-border)}.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;display:inline-block;font-family:Font Awesome\\ 5 Free;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto}.profile-sidebar-component .user-card .avatar-update-btn-icon:before{content:"\\f013"}.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;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 a=o},16626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(49247),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},209:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(35296),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},96259:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(35518),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},48432:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(34857),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},54328:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(26689),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},22626:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(49777),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},99003:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(88740),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},51423:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(46058),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},15134:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(92519),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},67621:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(93100),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},31526:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var i=s(85072),o=s.n(i),a=s(34347),n={insert:"head",singleton:!1};o()(a.default,n);const r=a.default.locals||{}},85566:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(37465),o=s(37253),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(24817);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,"5efd4702",null).exports},20591:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(40296),o=s(62392),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},58741:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(17310);const o=(0,s(14486).default)({},i.render,i.staticRenderFns,!1,null,null,null).exports},35547:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(59028),o=s(52548),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(86546);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},5787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(16286),o=s(80260),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(68840);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},13090:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(54229),o=s(13514),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},20243:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(34727),o=s(88012),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(21883);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},72028:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(46098),o=s(93843),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},19138:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(44982),o=s(43509),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},57103:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(56765),o=s(64672),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(74811);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,"be1fd05a",null).exports},49986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(32785),o=s(79577),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(67011);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},29787:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});var i=s(68329);const o=(0,s(14486).default)({},i.render,i.staticRenderFns,!1,null,null,null).exports},59515:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(4607),o=s(38972),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},79110:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(74259),o=s(99369),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},84800:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(43047),o=s(6119),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},27821:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(99421),o=s(28934),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},50294:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(95728),o=s(33417),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},99681:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(9836),o=s(22350),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},62457:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(15040),o=s(19894),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(42254);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},36470:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(7432),o=s(83593),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(94608);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},99234:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(57783),o=s(54293),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(16201);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},34719:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(38888),o=s(42260),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(88814);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},99487:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(75637),o=s(71212),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);s(18405);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},75938:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var i=s(86943),o=s(42909),a={};for(const t in o)"default"!==t&&(a[t]=()=>o[t]);s.d(e,a);const n=(0,s(14486).default)(o.default,i.render,i.staticRenderFns,!1,null,null,null).exports},37253:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(21801),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},62392:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(66655),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},52548:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(56987),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},80260:(t,e,s)=>{"use strict";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},13514:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(25054),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},88012:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(3211),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},93843:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(24758),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},43509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(85100),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},64672:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(49415),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},79577:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(37844),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},38972:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(67975),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},99369:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(61746),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},6119:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(22434),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},28934:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(99397),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},33417:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(6140),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},22350:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(85679),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},19894:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(24603),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},83593:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(19306),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},54293:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(79654),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},42260:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(3223),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},71212:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(82683),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},42909:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var i=s(68910),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o);const a=i.default},37465:(t,e,s)=>{"use strict";s.r(e);var i=s(59300),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},40296:(t,e,s)=>{"use strict";s.r(e);var i=s(98221),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},17310:(t,e,s)=>{"use strict";s.r(e);var i=s(24853),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},59028:(t,e,s)=>{"use strict";s.r(e);var i=s(70201),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},16286:(t,e,s)=>{"use strict";s.r(e);var i=s(69831),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},54229:(t,e,s)=>{"use strict";s.r(e);var i=s(82960),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},34727:(t,e,s)=>{"use strict";s.r(e);var i=s(55318),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},46098:(t,e,s)=>{"use strict";s.r(e);var i=s(54309),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},44982:(t,e,s)=>{"use strict";s.r(e);var i=s(82285),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},56765:(t,e,s)=>{"use strict";s.r(e);var i=s(4215),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},32785:(t,e,s)=>{"use strict";s.r(e);var i=s(27934),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},68329:(t,e,s)=>{"use strict";s.r(e);var i=s(7971),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},4607:(t,e,s)=>{"use strict";s.r(e);var i=s(92162),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},74259:(t,e,s)=>{"use strict";s.r(e);var i=s(64394),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},43047:(t,e,s)=>{"use strict";s.r(e);var i=s(44516),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},99421:(t,e,s)=>{"use strict";s.r(e);var i=s(51992),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},95728:(t,e,s)=>{"use strict";s.r(e);var i=s(16331),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},9836:(t,e,s)=>{"use strict";s.r(e);var i=s(66295),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},15040:(t,e,s)=>{"use strict";s.r(e);var i=s(9143),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},7432:(t,e,s)=>{"use strict";s.r(e);var i=s(48281),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},57783:(t,e,s)=>{"use strict";s.r(e);var i=s(29594),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},38888:(t,e,s)=>{"use strict";s.r(e);var i=s(53577),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},75637:(t,e,s)=>{"use strict";s.r(e);var i=s(59100),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},86943:(t,e,s)=>{"use strict";s.r(e);var i=s(21146),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},24817:(t,e,s)=>{"use strict";s.r(e);var i=s(16626),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},86546:(t,e,s)=>{"use strict";s.r(e);var i=s(209),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},68840:(t,e,s)=>{"use strict";s.r(e);var i=s(96259),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},21883:(t,e,s)=>{"use strict";s.r(e);var i=s(48432),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},74811:(t,e,s)=>{"use strict";s.r(e);var i=s(54328),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},67011:(t,e,s)=>{"use strict";s.r(e);var i=s(22626),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},42254:(t,e,s)=>{"use strict";s.r(e);var i=s(99003),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},94608:(t,e,s)=>{"use strict";s.r(e);var i=s(51423),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},16201:(t,e,s)=>{"use strict";s.r(e);var i=s(15134),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},88814:(t,e,s)=>{"use strict";s.r(e);var i=s(67621),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},18405:(t,e,s)=>{"use strict";s.r(e);var i=s(31526),o={};for(const t in i)"default"!==t&&(o[t]=()=>i[t]);s.d(e,o)},11220:()=>{},16052:()=>{},40295:()=>{},89858:()=>{},45187:()=>{},87919:()=>{},40264:()=>{},80434:()=>{},18053:()=>{}}]); \ No newline at end of file diff --git a/public/js/profile.js b/public/js/profile.js index 9f8a3081a..55d85fc51 100644 --- a/public/js/profile.js +++ b/public/js/profile.js @@ -1 +1 @@ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[2737],{59488:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(74692);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"),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,s){var o=t.account.username;switch(e){case"autocw":var i="Are you sure you want to enforce CW for "+o+" ?";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 "+o+" ?",swal({title:"Confirm",text:i,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")}}}},20288:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});s(58942);var o=s(79984),i=s(24848),a=s(74692);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,o=new Array(e);s0})),o=s.map((function(t){return t.id}));t.ids=o,t.min_id=Math.max.apply(Math,n(o)),t.max_id=Math.min.apply(Math,n(o)),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!=a("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 o=s.data,i=e;o.forEach((function(t){-1==i.ids.indexOf(t.id)&&(i.timeline.push(t),i.ids.push(t.id))}));var a=Math.min.apply(Math,n(e.ids));if(a==e.max_id)return void t.complete();e.min_id=Math.max.apply(Math,n(e.ids)),e.max_id=a,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,o=s.getElementsByClassName("comments")[0];0==o.children.length&&(o.classList.add("mb-2"),this.fetchStatusComments(t,s));var i=s.querySelectorAll(".card-footer")[0],a=s.querySelectorAll(".status-reply-input")[0];1==i.classList.contains("d-none")?(i.classList.remove("d-none"),a.focus()):(i.classList.add("d-none"),a.blur())},likeStatus:function(t,e){0!=a("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!=a("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!=a("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!=a("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!=a("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!=a("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!=a("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;if(0!=a("body").hasClass("loggedIn")){this.$refs.visitorContextMenu.hide();var e=this.relationship.following,s=e?"/api/v1/accounts/"+this.profileId+"/unfollow":"/api/v1/accounts/"+this.profileId+"/follow";axios.post(s).then((function(s){e?(t.profile.followers_count--,t.profile.locked&&location.reload()):t.profile.followers_count++,t.relationship=s.data})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))}},followingModal:function(){var t=this;if(0!=a("body").hasClass("loggedIn")){if(0!=this.profileSettings.following.list)return this.followingCursor||axios.get("/api/v1/accounts/"+this.profileId+"/following",{params:{cursor:this.followingCursor,limit:40,_pe:1}}).then((function(e){if(t.following=e.data,e.headers&&e.headers.link){var s=(0,i.parseLinkHeader)(e.headers.link);s.prev?(t.followingCursor=s.prev.cursor,t.followingMore=!0):t.followingMore=!1}else t.followingMore=!1})).then((function(){setTimeout((function(){t.followingLoading=!1}),1e3)})),void this.$refs.followingModal.show()}else window.location.href=encodeURI("/login?next=/"+this.profileUsername+"/")},followersModal:function(){var t=this;if(0!=a("body").hasClass("loggedIn")){if(0!=this.profileSettings.followers.list)return this.followerCursor>1||axios.get("/api/v1/accounts/"+this.profileId+"/followers",{params:{cursor:this.followerCursor,limit:40,_pe:1}}).then((function(e){var s;if((s=t.followers).push.apply(s,n(e.data)),e.headers&&e.headers.link){var o=(0,i.parseLinkHeader)(e.headers.link);o.prev?(t.followerCursor=o.prev.cursor,t.followerMore=!0):t.followerMore=!1}else t.followerMore=!1})).then((function(){setTimeout((function(){t.followerLoading=!1}),1e3)})),void this.$refs.followerModal.show()}else window.location.href=encodeURI("/login?next=/"+this.profileUsername+"/")},followingLoadMore:function(){var t=this;0!=a("body").hasClass("loggedIn")?axios.get("/api/v1/accounts/"+this.profile.id+"/following",{params:{cursor:this.followingCursor,limit:40,_pe:1}}).then((function(e){var s;e.data.length>0&&(s=t.following).push.apply(s,n(e.data));if(e.headers&&e.headers.link){var o=(0,i.parseLinkHeader)(e.headers.link);o.prev?(t.followingCursor=o.prev.cursor,t.followingMore=!0):t.followingMore=!1}else t.followingMore=!1})):window.location.href=encodeURI("/login?next=/"+this.profile.username+"/")},followersLoadMore:function(){var t=this;0!=a("body").hasClass("loggedIn")&&axios.get("/api/v1/accounts/"+this.profile.id+"/followers",{params:{cursor:this.followerCursor,limit:40,_pe:1}}).then((function(e){var s;e.data.length>0&&(s=t.followers).push.apply(s,n(e.data));if(e.headers&&e.headers.link){var o=(0,i.parseLinkHeader)(e.headers.link);o.prev?(t.followerCursor=o.prev.cursor,t.followerMore=!0):t.followerMore=!1}else t.followerMore=!1}))},visitorMenu:function(){this.$refs.visitorContextMenu.show()},followModalAction:function(t,e){var s=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"following",i="following"===o?"/api/v1/accounts/"+t+"/unfollow":"/api/v1/accounts/"+t+"/follow";axios.post(i).then((function(t){"following"==o&&(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"},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 o;s.data.length?((o=e.archives).push.apply(o,n(s.data)),e.archivesPage++,t.loaded()):t.complete()}))}}}},70384:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(74692);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()},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()}))}}}},78615:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(53744),i=s(74692);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(53744),i=s(78841),a=s(74692);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)}}}},78788:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});const o={props:["status"]}},40669:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(18634);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)}}}}},96504:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(18634);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}}}},36104:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});const o={props:["status"]}},89379:(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")},poster:function(){var t=this.status.media_attachments[0].preview_url;if(!t.endsWith("no-preview.jpg")&&!t.endsWith("no-preview.png"))return t}}}},81739:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",["true"!=t.modal?e("div",{staticClass:"dropdown"},[e("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"}},[e("span",{class:["lg"==t.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("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)?e("span",[e("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)?e("span",[e("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(" "),e("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?e("span",[e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("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(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("h6",{staticClass:"dropdown-header"},[t._v("Mod Tools")]),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"autocw")}}},[e("p",{staticClass:"mb-0"},[t._v("Enforce CW")]),t._v(" "),t._m(0)]),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"noautolink")}}},[e("p",{staticClass:"mb-0"},[t._v("No Autolinking")]),t._v(" "),t._m(1)]),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"unlisted")}}},[e("p",{staticClass:"mb-0"},[t._v("Unlisted Posts")]),t._v(" "),t._m(2)]),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"disable")}}},[e("p",{staticClass:"mb-0"},[t._v("Disable Account")]),t._v(" "),t._m(3)]),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"suspend")}}},[e("p",{staticClass:"mb-0"},[t._v("Suspend Account")]),t._v(" "),t._m(4)])]):t._e()])]):t._e(),t._v(" "),"true"==t.modal?e("div",[e("span",{attrs:{"data-toggle":"modal","data-target":"#mt_pid_"+t.status.id}},[e("span",{class:["lg"==t.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),t._v(" "),e("div",{staticClass:"modal",attrs:{tabindex:"-1",role:"dialog",id:"mt_pid_"+t.status.id}},[e("div",{staticClass:"modal-dialog modal-sm modal-dialog-centered",attrs:{role:"document"}},[e("div",{staticClass:"modal-content"},[e("div",{staticClass:"modal-body text-center"},[e("div",{staticClass:"list-group"},[e("a",{staticClass:"list-group-item text-dark text-decoration-none",attrs:{href:t.statusUrl(t.status)}},[t._v("Go to post")]),t._v(" "),e("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():e("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?e("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(" "),e("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._self._c;return e("p",{staticClass:"mb-0 small text-muted"},[t._v("Adds a CW to every post "),e("br"),t._v(" made by this account.")])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-0 small text-muted"},[t._v("Do not transform mentions, "),e("br"),t._v(" hashtags or urls into HTML.")])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-0 small text-muted"},[t._v("Removes account from "),e("br"),t._v(" public/network timelines.")])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-0 small text-muted"},[t._v("Temporarily disable account "),e("br"),t._v(" until next time user log in.")])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-0 small text-muted"},[t._v("This prevents any new interactions, "),e("br"),t._v(" without deleting existing data.")])}]},61811:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-100 h-100"},[t.isMobile?e("div",{staticClass:"bg-white p-3 border-bottom"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",{staticClass:"cursor-pointer",on:{click:t.goBack}},[e("i",{staticClass:"fas fa-chevron-left fa-lg"})]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t"+t._s(this.profileUsername)+"\n\n\t\t\t")]),t._v(" "),e("div",[e("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?e("div",{staticClass:"bg-white pt-3 border-bottom"},[e("div",{staticClass:"container"},[e("p",{staticClass:"text-center font-weight-bold"},[t._v("You are blocking this account")]),t._v(" "),e("p",{staticClass:"text-center font-weight-bold"},[t._v("Click "),e("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?e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"80vh"}},[e("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})]):t._e(),t._v(" "),t.loading||t.warning?t._e():e("div",["metro"==t.layout?e("div",{staticClass:"container"},[e("div",{class:t.isMobile?"pt-5":"pt-5 border-bottom"},[e("div",{staticClass:"container px-0"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-4 d-md-flex"},[e("div",{staticClass:"profile-avatar mx-md-auto"},[e("div",{staticClass:"d-block d-md-none mt-n3 mb-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-4"},[t.hasStory?e("div",{staticClass:"has-story cursor-pointer shadow-sm",on:{click:function(e){return t.storyRedirect()}}},[e("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';"}})]):e("div",[e("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(" "),e("div",{staticClass:"col-8"},[e("div",{staticClass:"d-block d-md-none mt-3 py-2"},[e("ul",{staticClass:"nav d-flex justify-content-between"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"font-weight-light"},[e("span",{staticClass:"text-dark text-center"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),e("p",{staticClass:"text-muted mb-0 small"},[t._v("Posts")])])])]),t._v(" "),e("li",{staticClass:"nav-item"},[t.profileSettings.followers.count?e("div",{staticClass:"font-weight-light"},[e("a",{staticClass:"text-dark cursor-pointer text-center",on:{click:function(e){return t.followersModal()}}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),e("p",{staticClass:"text-muted mb-0 small"},[t._v("Followers")])])]):t._e()]),t._v(" "),e("li",{staticClass:"nav-item"},[t.profileSettings.following.count?e("div",{staticClass:"font-weight-light"},[e("a",{staticClass:"text-dark cursor-pointer text-center",on:{click:function(e){return t.followingModal()}}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),e("p",{staticClass:"text-muted mb-0 small"},[t._v("Following")])])]):t._e()])])])])])]),t._v(" "),e("div",{staticClass:"d-none d-md-block pb-3"},[t.hasStory?e("div",{staticClass:"has-story-lg cursor-pointer shadow-sm",on:{click:function(e){return t.storyRedirect()}}},[e("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';"}})]):e("div",[e("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?e("p",{staticClass:"text-center mt-3"},[e("button",{staticClass:"btn btn-outline-secondary font-weight-bold py-0",attrs:{type:"button"},on:{click:t.showSponsorModal}},[e("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(" "),e("div",{staticClass:"col-12 col-md-8 d-flex align-items-center"},[e("div",{staticClass:"profile-details"},[e("div",{staticClass:"d-none d-md-flex username-bar pb-3 align-items-center"},[e("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")?e("span",[1==t.relationship.following?e("span",{staticClass:"pl-4"},[e("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(" "),e("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}},[e("i",{staticClass:"fas fa-user-check mx-3"})])]):t._e(),t._v(" "),t.relationship.following?t._e():e("span",{staticClass:"pl-4"},[e("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")?e("span",{staticClass:"pl-4"},[e("a",{staticClass:"btn btn-outline-secondary btn-sm",staticStyle:{"font-weight":"600"},attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),e("span",{staticClass:"pl-4"},[e("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(" "),e("div",{staticClass:"font-size-16px"},[e("div",{staticClass:"d-none d-md-inline-flex profile-stats pb-3"},[e("div",{staticClass:"font-weight-light pr-5"},[e("span",{staticClass:"text-dark"},[e("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?e("div",{staticClass:"font-weight-light pr-5"},[e("a",{staticClass:"text-dark cursor-pointer",on:{click:function(e){return t.followersModal()}}},[e("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?e("div",{staticClass:"font-weight-light"},[e("a",{staticClass:"text-dark cursor-pointer",on:{click:function(e){return t.followingModal()}}},[e("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(" "),e("div",{staticClass:"d-md-flex align-items-center mb-1 text-break"},[e("div",{staticClass:"font-weight-bold mr-1"},[t._v(t._s(t.profile.display_name))]),t._v(" "),t.profile.pronouns?e("div",{staticClass:"text-muted small"},[t._v(t._s(t.profile.pronouns.join("/")))]):t._e()]),t._v(" "),t.profile.note?e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.profile.note)}}):t._e(),t._v(" "),t.profile.website?e("p",[e("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(" "),e("p",{staticClass:"d-flex small text-muted align-items-center"},[t.profile.is_admin?e("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?e("span",{staticClass:"btn btn-outline-muted btn-sm py-0 mr-3"},[t._v("Follows You")]):t._e(),t._v(" "),e("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(" "),t.user&&t.user.hasOwnProperty("id")?e("div",{staticClass:"d-block d-md-none my-0 pt-3 border-bottom"},[e("p",{staticClass:"pt-3"},[t.owner?e("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?e("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():e("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(" "),e("div",{},[e("ul",{staticClass:"nav nav-topbar d-flex justify-content-center border-0"},[e("li",{staticClass:"nav-item border-top"},[e("a",{class:"grid"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("grid")}}},[e("i",{staticClass:"fas fa-th"}),t._v(" "),e("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("POSTS")])])]),t._v(" "),e("li",{staticClass:"nav-item px-0 border-top"},[e("a",{class:"collections"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("collections")}}},[e("i",{staticClass:"fas fa-images"}),t._v(" "),e("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("COLLECTIONS")])])]),t._v(" "),t.owner?e("li",{staticClass:"nav-item border-top"},[e("a",{class:"bookmarks"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("bookmarks")}}},[e("i",{staticClass:"fas fa-bookmark"}),t._v(" "),e("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("SAVED")])])]):t._e(),t._v(" "),t.owner?e("li",{staticClass:"nav-item border-top"},[e("a",{class:"archives"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("archives")}}},[e("i",{staticClass:"far fa-folder-open"}),t._v(" "),e("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("ARCHIVES")])])]):t._e()])]),t._v(" "),e("div",{staticClass:"container px-0"},[e("div",{staticClass:"profile-timeline mt-md-4"},["grid"==t.mode?e("div",[e("div",{staticClass:"row"},[t._l(t.timeline,(function(s,o){return e("div",{key:"tlob:"+o,staticClass:"col-4 p-1 p-md-3"},[e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[s.sensitive?e("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),e("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash}})],1):e("div",{staticClass:"square-content"},[e("blur-hash-image",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash,src:s.media_attachments[0].preview_url}})],1),t._v(" "),"photo:album"==s.pf_type?e("span",{staticClass:"float-right mr-3 post-icon"},[e("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==s.pf_type?e("span",{staticClass:"float-right mr-3 post-icon"},[e("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==s.pf_type?e("span",{staticClass:"float-right mr-3 post-icon"},[e("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),e("div",{staticClass:"info-overlay-text"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.reply_count)))])])])])])])])})),t._v(" "),0==t.timeline.length?e("div",{staticClass:"col-12"},[t._m(1)]):t._e()],2),t._v(" "),t.timeline.length?e("div",[e("infinite-loading",{on:{infinite:t.infiniteTimeline}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1):t._e()]):t._e(),t._v(" "),"bookmarks"==t.mode?e("div",[t.bookmarksLoading?e("div",[t._m(2)]):e("div",[t.bookmarks.length?e("div",{staticClass:"row"},t._l(t.bookmarks,(function(s,o){return e("div",{staticClass:"col-4 p-1 p-sm-2 p-md-3"},[e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:s.url}},[e("div",{staticClass:"square"},["photo:album"==s.pf_type?e("span",{staticClass:"float-right mr-3 post-icon"},[e("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==s.pf_type?e("span",{staticClass:"float-right mr-3 post-icon"},[e("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==s.pf_type?e("span",{staticClass:"float-right mr-3 post-icon"},[e("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),e("div",{staticClass:"square-content",style:t.previewBackground(s)}),t._v(" "),e("div",{staticClass:"info-overlay-text"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"fas fa-retweet fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(s.reblogs_count))])])])])])])])})),0):e("div",{staticClass:"col-12"},[t._m(3)])])]):t._e(),t._v(" "),"collections"==t.mode?e("div",[t.collections.length&&t.collectionsLoaded?e("div",{staticClass:"row"},t._l(t.collections,(function(t,s){return e("div",{staticClass:"col-4 p-1 p-sm-2 p-md-3"},[e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.url}},[e("div",{staticClass:"square"},[e("div",{staticClass:"square-content",style:"background-image: url("+t.thumb+");"})])])])})),0):e("div",[t._m(4)])]):t._e(),t._v(" "),"archives"==t.mode?e("div",[t.archives.length?e("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,s){return e("div",[e("status-card",{class:{"border-top":0===s},attrs:{status:t,"reaction-bar":!1}})],1)})),t._v(" "),e("infinite-loading",{on:{infinite:t.archivesInfiniteLoader}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],2):t._e()]):t._e()])])]):t._e()]),t._v(" "),t.profile&&t.following?e("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?e("div",{staticClass:"text-center py-5"},[e("div",{staticClass:"spinner-border",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])])]):e("div",{staticClass:"list-group",staticStyle:{"max-height":"60vh"}},[t.following.length?e("div",[t._l(t.following,(function(s,o){return e("div",{key:"following_"+o,staticClass:"list-group-item border-0 py-1 mb-1"},[e("div",{staticClass:"media"},[e("a",{attrs:{href:t.profileUrlRedirect(s)}},[t._o(e("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:s.avatar,alt:s.username+"’s avatar",width:"30px",loading:"lazy",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),0,"following_"+o)]),t._v(" "),e("div",{staticClass:"media-body text-truncate"},[e("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.profileUrlRedirect(s)}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),s.local?e("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(s.display_name?s.display_name:s.username)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"text-muted mb-0 text-break mr-3",staticStyle:{"font-size":"14px"},attrs:{title:s.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.acct.split("@")[0]))]),e("span",{staticClass:"text-lighter"},[t._v("@"+t._s(s.acct.split("@")[1]))])])]),t._v(" "),t.owner?e("div",[e("a",{staticClass:"btn btn-outline-dark btn-sm font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.followModalAction(s.id,o,"following")}}},[t._v("Following")])]):t._e()])])})),t._v(" "),t.followingLoading||0!=t.following.length?t._e():e("div",{staticClass:"list-group-item border-0"},[e("div",{staticClass:"list-group-item border-0 pt-5"},[e("p",{staticClass:"p-3 text-center mb-0 lead"},[t._v("No Results Found")])])]),t._v(" "),t.following.length>0&&t.followingMore?e("div",{staticClass:"list-group-item text-center",on:{click:function(e){return t.followingLoadMore()}}},[e("p",{staticClass:"mb-0 small text-muted font-weight-light cursor-pointer"},[t._v("Load more")])]):t._e()],2):e("div",{staticClass:"list-group-item border-0"},[e("p",{staticClass:"text-center mb-0 font-weight-bold text-muted py-5"},[e("span",{staticClass:"text-dark"},[t._v(t._s(t.profileUsername))]),t._v(" is not following yet")])])])]):t._e(),t._v(" "),e("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?e("div",{staticClass:"text-center py-5"},[e("div",{staticClass:"spinner-border",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])])]):e("div",{staticClass:"list-group",staticStyle:{"max-height":"60vh"}},[t.followerLoading||t.followers.length?e("div",[t._l(t.followers,(function(s,o){return e("div",{key:"follower_"+o,staticClass:"list-group-item border-0 py-1 mb-1"},[e("div",{staticClass:"media mb-0"},[e("a",{attrs:{href:t.profileUrlRedirect(s)}},[t._o(e("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:s.avatar,alt:s.username+"’s avatar",width:"30px",height:"30px",loading:"lazy",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),1,"follower_"+o)]),t._v(" "),e("div",{staticClass:"media-body mb-0"},[e("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.profileUrlRedirect(s)}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),s.local?e("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(s.display_name?s.display_name:s.username)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"text-muted mb-0 text-break mr-3",staticStyle:{"font-size":"14px"},attrs:{title:s.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.acct.split("@")[0]))]),e("span",{staticClass:"text-lighter"},[t._v("@"+t._s(s.acct.split("@")[1]))])])])])])})),t._v(" "),t.followers.length&&t.followerMore?e("div",{staticClass:"list-group-item text-center",on:{click:function(e){return t.followersLoadMore()}}},[e("p",{staticClass:"mb-0 small text-muted font-weight-light cursor-pointer"},[t._v("Load more")])]):t._e()],2):e("div",{staticClass:"list-group-item border-0"},[e("p",{staticClass:"text-center mb-0 font-weight-bold text-muted py-5"},[e("span",{staticClass:"text-dark"},[t._v(t._s(t.profileUsername))]),t._v(" has no followers yet")])])])]),t._v(" "),e("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?e("div",{staticClass:"list-group"},[e("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?e("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():e("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?e("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():e("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?e("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?e("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():e("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?e("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?e("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(" "),e("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(" "),e("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(" "),e("b-modal",{ref:"sponsorModal",attrs:{id:"sponsor-modal","hide-footer":"",title:"Sponsor "+t.profileUsername,centered:"",size:"md","body-class":"px-5"}},[e("div",[e("p",{staticClass:"font-weight-bold"},[t._v("External Links")]),t._v(" "),t.sponsorList.patreon?e("p",{staticClass:"pt-2"},[e("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?e("p",{staticClass:"pt-2"},[e("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?e("p",{staticClass:"pt-2"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"https://"+t.sponsorList.opencollective,rel:"nofollow"}},[t._v(t._s(t.sponsorList.opencollective))])]):t._e()])]),t._v(" "),e("b-modal",{ref:"embedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"6",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}}),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])])],1)},i=[function(){var t=this._self._c;return t("div",{staticClass:"info-overlay-text-label"},[t("h5",{staticClass:"text-white m-auto font-weight-bold"},[t("span",[t("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"py-5 text-center text-muted"},[e("p",[e("i",{staticClass:"fas fa-camera-retro fa-2x"})]),t._v(" "),e("p",{staticClass:"h2 font-weight-light pt-3"},[t._v("No posts yet")])])},function(){var t=this._self._c;return t("div",{staticClass:"row"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"p-1 p-sm-2 p-md-3 d-flex justify-content-center align-items-center",staticStyle:{height:"30vh"}},[t("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"py-5 text-center text-muted"},[e("p",[e("i",{staticClass:"fas fa-bookmark fa-2x"})]),t._v(" "),e("p",{staticClass:"h2 font-weight-light pt-3"},[t._v("No saved bookmarks")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"py-5 text-center text-muted"},[e("p",[e("i",{staticClass:"fas fa-images fa-2x"})]),t._v(" "),e("p",{staticClass:"h2 font-weight-light pt-3"},[t._v("No collections yet")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"alert alert-info"},[e("p",{staticClass:"mb-0"},[t._v("Posts you archive can only be seen by you.")]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v("For more information see the "),e("a",{attrs:{href:"/site/kb/sharing-media"}},[t._v("Sharing Media")]),t._v(" help center page.")])])}]},45322:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("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?e("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?e("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?e("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?e("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?e("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?e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" to Followers")]),t._v(" "),e("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?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v("Embed")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,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(" "),e("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(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,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(" "),e("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(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,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(" "),e("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(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},28995:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"card shadow-none rounded-0",class:{border:t.showBorder,"border-top-0":!t.showBorderTop}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",alt:"avatar"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("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(" "),e("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(" "),e("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(" "),e("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(" "),e("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(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t")]):e("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(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[e("div",{staticClass:"poll py-3"},[e("div",{staticClass:"pt-2 text-break d-flex align-items-center mb-3",staticStyle:{"font-size":"17px"}},[t._m(1),t._v(" "),e("span",{staticClass:"font-weight-bold ml-3",domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),e("div",{staticClass:"mb-2"},["vote"===t.tab?e("div",[t._l(t.status.poll.options,(function(s,o){return e("p",[e("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(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")])])})),t._v(" "),null!=t.selectedIndex?e("p",{staticClass:"text-right"},[e("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?e("div",t._l(t.status.poll.options,(function(s,o){return e("div",{staticClass:"mb-3"},[e("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(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):"results"===t.tab?e("div",t._l(t.status.poll.options,(function(s,o){return e("div",{staticClass:"mb-3"},[e("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(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):t._e()]),t._v(" "),e("div",[e("p",{staticClass:"mb-0 small text-lighter font-weight-bold d-flex justify-content-between"},[e("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?e("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?e("span",{staticClass:"text-lighter"},[t._m(2)]):t._e()])]),t._v(" "),e("div",[e("span",{staticClass:"d-block d-md-none small text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t\t\t")]):e("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(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},i=[function(){var t=this,e=t._self._c;return e("span",{staticClass:"d-none d-md-block px-1 text-primary font-weight-bold"},[e("i",{staticClass:"fas fa-poll-h"}),t._v(" Poll "),e("sup",{staticClass:"text-lighter"},[t._v("BETA")])])},function(){var t=this._self._c;return t("span",{staticClass:"btn btn-primary px-2 py-1"},[t("i",{staticClass:"fas fa-poll-h fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},55722:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"status-card-component",class:{"status-card-sm":"small"===t.size}},["text"===t.status.pf_type?e("div",{staticClass:"card shadow-none border rounded-0",class:{"border-top-0":!t.hasTopBorder}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("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(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("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(" "),e("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(" "),e("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(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[t.status.sensitive?e("details",[e("summary",{staticClass:"mb-2 font-weight-bold text-muted"},[t._v("Content Warning")]),t._v(" "),e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}})]):e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}}),t._v(" "),e("p",{staticClass:"mb-0"},[e("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(" "),e("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?e("div",[e("poll-card",{attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1):e("div",{staticClass:"card rounded-0 border-top-0 status-card card-md-rounded-0 shadow-none border"},[t.status?e("div",{staticClass:"card-header d-inline-flex align-items-center bg-white"},[e("div",[e("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(" "),e("div",{staticClass:"pl-2"},[e("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(" "),t.status.account.is_admin?e("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[t.status.place?e("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"}},[e("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(" "),e("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]):t._e(),t._v(" "),e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):e("div",{staticClass:"w-100"},[e("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?e("div",{staticClass:"card-body border-top border-bottom py-2 cursor-pointer pr-2",on:{click:function(e){return t.labelRedirect()}}},[e("p",{staticClass:"font-weight-bold d-flex justify-content-between align-items-center mb-0"},[e("span",[e("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(" "),e("div",{staticClass:"card-body"},[t.reactionBar?e("div",{staticClass:"reactions my-1 pb-2"},[t.status.favourited?e("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)}}}):e("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():e("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?e("span",{staticClass:"float-right"},[e("span",{staticClass:"font-weight-light small",staticStyle:{color:"#718096"}},[e("i",{staticClass:"far fa-user",attrs:{"data-toggle":"tooltip",title:"Tagged People"}}),t._v(" "),t._l(t.status.taggedPeople,(function(t,s){return e("span",{staticClass:"mr-n2"},[e("a",{attrs:{href:"/"+t.username}},[e("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?e("div",{staticClass:"likes mb-1"},[e("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t"),e("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?e("span",[t._v("\n\t\t\t\t\t\tand "),t.status.liked_by.total_count_pretty?e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v("others")])]):t._e()])]):t._e(),t._v(" "),"text"!=t.status.pf_type?e("div",{staticClass:"caption"},[t.status.sensitive?t._e():e("p",{staticClass:"mb-2 read-more",staticStyle:{overflow:"hidden"}},[e("span",{staticClass:"username font-weight-bold"},[e("bdi",[e("a",{staticClass:"text-dark",attrs:{href:t.profileUrl(t.status)}},[t._v(t._s(t.status.account.username))])])]),t._v(" "),e("span",{staticClass:"status-content",domProps:{innerHTML:t._s(t.content)}})])]):t._e(),t._v(" "),e("div",{staticClass:"timestamp mt-2"},[e("p",{staticClass:"small mb-0"},["archived"!=t.status.visibility?e("a",{staticClass:"text-muted text-uppercase",attrs:{href:t.statusUrl(t.status)}},[e("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):e("span",{staticClass:"text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\tPosted "),e("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?e("span",[e("span",{staticClass:"px-1"},[t._v("·")]),t._v(" "),e("span",{staticClass:"text-muted"},[t._v("Based on popular and trending content")])]):t._e()])])])]),t._v(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},i=[function(){var t=this._self._c;return t("span",[t("i",{staticClass:"fas fa-chevron-right text-lighter"})])}]},77261:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("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(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("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(s,o){return e("b-carousel-slide",{key:s.id+"-media"},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:s.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{slot:"img",title:s.description},slot:"img"},[e("img",{class:s.filter_class+" d-block img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)]):e("div",{staticClass:"w-100 h-100 p-0"},[e("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(s,o){return e("slide",{key:"px-carousel-"+s.id+"-"+o,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:s.description,width:"100%",height:"100%"}},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{title:s.description}},[e("img",{class:s.filter_class+" img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)},i=[]},9129:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("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(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[e("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(s,o){return e("slide",{key:"px-carousel-"+s.id+"-"+o,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:s.description}},[e("img",{staticClass:"img-fluid w-100 p-0",attrs:{src:s.url,alt:t.altText(s),loading:"lazy","data-bp":s.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),t._v(" "),e("div",{staticClass:"album-overlay"},[!t.status.sensitive&&t.sensitive?e("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}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),e("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)}}},[e("i",{staticClass:"fas fa-expand fa-lg"})]),t._v(" "),t.status.media_attachments[0].license?e("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))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("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 "),e("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._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},67619:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("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(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",[e("div",{staticStyle:{position:"relative"},attrs:{title:t.status.media_attachments[0].description}},[e("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?e("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}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?e("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))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("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 "),e("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._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},10304:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("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(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("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,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)]):e("div",[e("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,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)},i=[]},15996:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("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(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",{staticClass:"embed-responsive embed-responsive-16by9"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"","webkit-playsinline":"",preload:"metadata",loop:"","data-id":t.status.id,poster:t.poster()}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},8797:(t,e,s)=>{Vue.component("photo-presenter",s(20384).default),Vue.component("video-presenter",s(74027).default),Vue.component("photo-album-presenter",s(53099).default),Vue.component("video-album-presenter",s(62630).default),Vue.component("mixed-album-presenter",s(41378).default),Vue.component("post-menu",s(60072).default),Vue.component("profile",s(91990).default)},70211:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(76798),i=s.n(o)()((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 a=i},10561:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(76798),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".o-landscape[data-v-5b5a6025],.o-portrait[data-v-5b5a6025],.o-square[data-v-5b5a6025]{max-width:320px}.post-icon[data-v-5b5a6025]{color:#fff;margin-top:10px;opacity:.6;position:relative;text-shadow:3px 3px 16px #272634;z-index:9}.font-size-16px[data-v-5b5a6025]{font-size:16px}.profile-website[data-v-5b5a6025]{color:#003569;font-weight:600;text-decoration:none}.nav-topbar .nav-link[data-v-5b5a6025]{color:#999}.nav-topbar .nav-link .small[data-v-5b5a6025]{font-weight:600}.has-story[data-v-5b5a6025]{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-5b5a6025]{background:#fff;border-radius:50%;height:76px;padding:6px;width:76px}.has-story-lg[data-v-5b5a6025]{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-5b5a6025]{background:#fff;border-radius:50%;height:150px;padding:6px;width:150px}.no-focus[data-v-5b5a6025]{border-color:none;box-shadow:none;outline:0}.modal-tab-active[data-v-5b5a6025]{border-bottom:1px solid #08d}.btn-sec-alt[data-v-5b5a6025]:hover{background-color:transparent;border-color:#6c757d;color:#ccc;opacity:.7}",""]);const a=i},63050:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(76798),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".card-img-top[data-v-a0f8515a]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-a0f8515a]{position:relative}.content-label[data-v-a0f8515a]{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-a0f8515a]{position:relative}",""]);const a=i},57163:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(76798),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},72714:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(76798),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".content-label-wrapper[data-v-a412a218]{position:relative}.content-label[data-v-a412a218]{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},93145:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(76798),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},56352:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),i=s.n(o),a=s(70211),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},86772:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),i=s.n(o),a=s(10561),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},64764:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),i=s.n(o),a=s(63050),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},73464:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),i=s.n(o),a=s(57163),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},51561:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),i=s.n(o),a=s(72714),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},1198:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),i=s.n(o),a=s(93145),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},60072:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(86774),i=s(20343),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(26355);const n=(0,s(14486).default)(i.default,o.render,o.staticRenderFns,!1,null,"1002e7e2",null).exports},91990:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(23996),i=s(32109),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(79537);const n=(0,s(14486).default)(i.default,o.render,o.staticRenderFns,!1,null,"5b5a6025",null).exports},53744:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(29375),i=s(21663),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=(0,s(14486).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},78841:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(8044),i=s(24966),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=(0,s(14486).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},79984:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(53681),i=s(203),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(51627);const n=(0,s(14486).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},41378:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(74114),i=s(62765),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=(0,s(14486).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},53099:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(92618),i=s(27036),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(16781);const n=(0,s(14486).default)(i.default,o.render,o.staticRenderFns,!1,null,"a0f8515a",null).exports},20384:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(57422),i=s(61543),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(74299);const n=(0,s(14486).default)(i.default,o.render,o.staticRenderFns,!1,null,"40ab6d65",null).exports},62630:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(34927),i=s(3729),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=(0,s(14486).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},74027:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(48593),i=s(3692),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(7034);const n=(0,s(14486).default)(i.default,o.render,o.staticRenderFns,!1,null,"a412a218",null).exports},20343:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(59488),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},32109:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(20288),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},21663:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(70384),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},24966:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(78615),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},203:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(47898),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},62765:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(78788),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},27036:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(40669),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},61543:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(96504),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},3729:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(36104),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},3692:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(89379),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},86774:(t,e,s)=>{"use strict";s.r(e);var o=s(81739),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},23996:(t,e,s)=>{"use strict";s.r(e);var o=s(61811),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},29375:(t,e,s)=>{"use strict";s.r(e);var o=s(45322),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},8044:(t,e,s)=>{"use strict";s.r(e);var o=s(28995),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},53681:(t,e,s)=>{"use strict";s.r(e);var o=s(55722),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},74114:(t,e,s)=>{"use strict";s.r(e);var o=s(77261),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},92618:(t,e,s)=>{"use strict";s.r(e);var o=s(9129),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},57422:(t,e,s)=>{"use strict";s.r(e);var o=s(67619),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},34927:(t,e,s)=>{"use strict";s.r(e);var o=s(10304),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},48593:(t,e,s)=>{"use strict";s.r(e);var o=s(15996),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},26355:(t,e,s)=>{"use strict";s.r(e);var o=s(56352),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},79537:(t,e,s)=>{"use strict";s.r(e);var o=s(86772),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},16781:(t,e,s)=>{"use strict";s.r(e);var o=s(64764),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},74299:(t,e,s)=>{"use strict";s.r(e);var o=s(73464),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},7034:(t,e,s)=>{"use strict";s.r(e);var o=s(51561),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},51627:(t,e,s)=>{"use strict";s.r(e);var o=s(1198),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)}},t=>{t.O(0,[3660],(()=>{return e=8797,t(t.s=e);var e}));t.O()}]); \ No newline at end of file +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[2737],{33422:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});const o={props:["status"]}},36639:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(18634);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)}}}}},9266:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(18634);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}}}},35986:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>o});const o={props:["status"]}},25189:(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")},poster:function(){var t=this.status.media_attachments[0].preview_url;if(!t.endsWith("no-preview.jpg")&&!t.endsWith("no-preview.png"))return t}}}},59488:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(74692);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"),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,s){var o=t.account.username;switch(e){case"autocw":var i="Are you sure you want to enforce CW for "+o+" ?";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 "+o+" ?",swal({title:"Confirm",text:i,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")}}}},20288:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>l});s(58942);var o=s(79984),i=s(24848),a=s(74692);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,o=new Array(e);s0})),o=s.map((function(t){return t.id}));t.ids=o,t.min_id=Math.max.apply(Math,n(o)),t.max_id=Math.min.apply(Math,n(o)),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!=a("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 o=s.data,i=e;o.forEach((function(t){-1==i.ids.indexOf(t.id)&&(i.timeline.push(t),i.ids.push(t.id))}));var a=Math.min.apply(Math,n(e.ids));if(a==e.max_id)return void t.complete();e.min_id=Math.max.apply(Math,n(e.ids)),e.max_id=a,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,o=s.getElementsByClassName("comments")[0];0==o.children.length&&(o.classList.add("mb-2"),this.fetchStatusComments(t,s));var i=s.querySelectorAll(".card-footer")[0],a=s.querySelectorAll(".status-reply-input")[0];1==i.classList.contains("d-none")?(i.classList.remove("d-none"),a.focus()):(i.classList.add("d-none"),a.blur())},likeStatus:function(t,e){0!=a("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!=a("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!=a("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!=a("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!=a("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!=a("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!=a("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;if(0!=a("body").hasClass("loggedIn")){this.$refs.visitorContextMenu.hide();var e=this.relationship.following,s=e?"/api/v1/accounts/"+this.profileId+"/unfollow":"/api/v1/accounts/"+this.profileId+"/follow";axios.post(s).then((function(s){e?(t.profile.followers_count--,t.profile.locked&&location.reload()):t.profile.followers_count++,t.relationship=s.data})).catch((function(t){t.response.data.message&&swal("Error",t.response.data.message,"error")}))}},followingModal:function(){var t=this;if(0!=a("body").hasClass("loggedIn")){if(0!=this.profileSettings.following.list)return this.followingCursor||axios.get("/api/v1/accounts/"+this.profileId+"/following",{params:{cursor:this.followingCursor,limit:40,_pe:1}}).then((function(e){if(t.following=e.data,e.headers&&e.headers.link){var s=(0,i.parseLinkHeader)(e.headers.link);s.prev?(t.followingCursor=s.prev.cursor,t.followingMore=!0):t.followingMore=!1}else t.followingMore=!1})).then((function(){setTimeout((function(){t.followingLoading=!1}),1e3)})),void this.$refs.followingModal.show()}else window.location.href=encodeURI("/login?next=/"+this.profileUsername+"/")},followersModal:function(){var t=this;if(0!=a("body").hasClass("loggedIn")){if(0!=this.profileSettings.followers.list)return this.followerCursor>1||axios.get("/api/v1/accounts/"+this.profileId+"/followers",{params:{cursor:this.followerCursor,limit:40,_pe:1}}).then((function(e){var s;if((s=t.followers).push.apply(s,n(e.data)),e.headers&&e.headers.link){var o=(0,i.parseLinkHeader)(e.headers.link);o.prev?(t.followerCursor=o.prev.cursor,t.followerMore=!0):t.followerMore=!1}else t.followerMore=!1})).then((function(){setTimeout((function(){t.followerLoading=!1}),1e3)})),void this.$refs.followerModal.show()}else window.location.href=encodeURI("/login?next=/"+this.profileUsername+"/")},followingLoadMore:function(){var t=this;0!=a("body").hasClass("loggedIn")?axios.get("/api/v1/accounts/"+this.profile.id+"/following",{params:{cursor:this.followingCursor,limit:40,_pe:1}}).then((function(e){var s;e.data.length>0&&(s=t.following).push.apply(s,n(e.data));if(e.headers&&e.headers.link){var o=(0,i.parseLinkHeader)(e.headers.link);o.prev?(t.followingCursor=o.prev.cursor,t.followingMore=!0):t.followingMore=!1}else t.followingMore=!1})):window.location.href=encodeURI("/login?next=/"+this.profile.username+"/")},followersLoadMore:function(){var t=this;0!=a("body").hasClass("loggedIn")&&axios.get("/api/v1/accounts/"+this.profile.id+"/followers",{params:{cursor:this.followerCursor,limit:40,_pe:1}}).then((function(e){var s;e.data.length>0&&(s=t.followers).push.apply(s,n(e.data));if(e.headers&&e.headers.link){var o=(0,i.parseLinkHeader)(e.headers.link);o.prev?(t.followerCursor=o.prev.cursor,t.followerMore=!0):t.followerMore=!1}else t.followerMore=!1}))},visitorMenu:function(){this.$refs.visitorContextMenu.show()},followModalAction:function(t,e){var s=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"following",i="following"===o?"/api/v1/accounts/"+t+"/unfollow":"/api/v1/accounts/"+t+"/follow";axios.post(i).then((function(t){"following"==o&&(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"},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 o;s.data.length?((o=e.archives).push.apply(o,n(s.data)),e.archivesPage++,t.loaded()):t.complete()}))}}}},70384:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>i});var o=s(74692);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()},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()}))}}}},78615:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(53744),i=s(74692);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(53744),i=s(78841),a=s(74692);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)}}}},18389:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("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(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("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(s,o){return e("b-carousel-slide",{key:s.id+"-media"},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:s.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{slot:"img",title:s.description},slot:"img"},[e("img",{class:s.filter_class+" d-block img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)]):e("div",{staticClass:"w-100 h-100 p-0"},[e("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(s,o){return e("slide",{key:"px-carousel-"+s.id+"-"+o,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==s.type?e("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:s.description,width:"100%",height:"100%"}},[e("source",{attrs:{src:s.url,type:s.mime}})]):"image"==s.type?e("div",{attrs:{title:s.description}},[e("img",{class:s.filter_class+" img-fluid w-100",attrs:{src:s.url,alt:s.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):e("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[t._v("Error: Problem rendering preview.")])])})),1)],1)},i=[]},28691:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("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(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[e("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(s,o){return e("slide",{key:"px-carousel-"+s.id+"-"+o,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:s.description}},[e("img",{staticClass:"img-fluid w-100 p-0",attrs:{src:s.url,alt:t.altText(s),loading:"lazy","data-bp":s.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),t._v(" "),e("div",{staticClass:"album-overlay"},[!t.status.sensitive&&t.sensitive?e("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}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),e("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)}}},[e("i",{staticClass:"fas fa-expand fa-lg"})]),t._v(" "),t.status.media_attachments[0].license?e("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))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("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 "),e("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._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},84094:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("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(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",[e("div",{staticStyle:{position:"relative"},attrs:{title:t.status.media_attachments[0].description}},[e("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?e("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}}},[e("i",{staticClass:"fas fa-eye-slash fa-lg"})]):t._e(),t._v(" "),t.status.media_attachments[0].license?e("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))"}},[e("a",{staticClass:"font-weight-bold text-light",attrs:{href:t.status.url}},[t._v("Photo")]),t._v(" by "),e("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 "),e("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._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},12024:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",[e("details",{staticClass:"details-animated"},[e("summary",[e("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(" "),e("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),e("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,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)]):e("div",[e("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,s){return e("b-carousel-slide",{key:t.id+"-media"},[e("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:t.description,width:"100%",height:"100%"},slot:"img"},[e("source",{attrs:{src:t.url,type:t.mime}})])])})),1)],1)},i=[]},75593:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return 1==t.status.sensitive?e("div",{staticClass:"content-label-wrapper"},[e("div",{staticClass:"text-light content-label"},[t._m(0),t._v(" "),e("p",{staticClass:"h4 font-weight-bold text-center"},[t._v("\n\t\t\tSensitive Content\n\t\t")]),t._v(" "),e("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(" "),e("p",{staticClass:"mb-0"},[e("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(e){return t.toggleContentWarning()}}},[t._v("See Post")])])]),t._v(" "),e("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:t.status.media_attachments[0].blurhash,alt:t.altText(t.status)}})],1):e("div",{staticClass:"embed-responsive embed-responsive-16by9"},[e("video",{staticClass:"video",attrs:{controls:"",playsinline:"","webkit-playsinline":"",preload:"metadata",loop:"","data-id":t.status.id,poster:t.poster()}},[e("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])},i=[function(){var t=this._self._c;return t("p",{staticClass:"text-center"},[t("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},81739:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",["true"!=t.modal?e("div",{staticClass:"dropdown"},[e("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"}},[e("span",{class:["lg"==t.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),t._v(" "),e("div",{staticClass:"dropdown-menu dropdown-menu-right"},[e("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)?e("span",[e("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)?e("span",[e("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(" "),e("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?e("span",[e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("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(" "),e("div",{staticClass:"dropdown-divider"}),t._v(" "),e("h6",{staticClass:"dropdown-header"},[t._v("Mod Tools")]),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"autocw")}}},[e("p",{staticClass:"mb-0"},[t._v("Enforce CW")]),t._v(" "),t._m(0)]),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"noautolink")}}},[e("p",{staticClass:"mb-0"},[t._v("No Autolinking")]),t._v(" "),t._m(1)]),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"unlisted")}}},[e("p",{staticClass:"mb-0"},[t._v("Unlisted Posts")]),t._v(" "),t._m(2)]),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"disable")}}},[e("p",{staticClass:"mb-0"},[t._v("Disable Account")]),t._v(" "),t._m(3)]),t._v(" "),e("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(e){return t.moderatePost(t.status,"suspend")}}},[e("p",{staticClass:"mb-0"},[t._v("Suspend Account")]),t._v(" "),t._m(4)])]):t._e()])]):t._e(),t._v(" "),"true"==t.modal?e("div",[e("span",{attrs:{"data-toggle":"modal","data-target":"#mt_pid_"+t.status.id}},[e("span",{class:["lg"==t.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),t._v(" "),e("div",{staticClass:"modal",attrs:{tabindex:"-1",role:"dialog",id:"mt_pid_"+t.status.id}},[e("div",{staticClass:"modal-dialog modal-sm modal-dialog-centered",attrs:{role:"document"}},[e("div",{staticClass:"modal-content"},[e("div",{staticClass:"modal-body text-center"},[e("div",{staticClass:"list-group"},[e("a",{staticClass:"list-group-item text-dark text-decoration-none",attrs:{href:t.statusUrl(t.status)}},[t._v("Go to post")]),t._v(" "),e("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():e("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?e("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(" "),e("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._self._c;return e("p",{staticClass:"mb-0 small text-muted"},[t._v("Adds a CW to every post "),e("br"),t._v(" made by this account.")])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-0 small text-muted"},[t._v("Do not transform mentions, "),e("br"),t._v(" hashtags or urls into HTML.")])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-0 small text-muted"},[t._v("Removes account from "),e("br"),t._v(" public/network timelines.")])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-0 small text-muted"},[t._v("Temporarily disable account "),e("br"),t._v(" until next time user log in.")])},function(){var t=this,e=t._self._c;return e("p",{staticClass:"mb-0 small text-muted"},[t._v("This prevents any new interactions, "),e("br"),t._v(" without deleting existing data.")])}]},61811:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-100 h-100"},[t.isMobile?e("div",{staticClass:"bg-white p-3 border-bottom"},[e("div",{staticClass:"d-flex justify-content-between align-items-center"},[e("div",{staticClass:"cursor-pointer",on:{click:t.goBack}},[e("i",{staticClass:"fas fa-chevron-left fa-lg"})]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[t._v("\n\t\t\t\t"+t._s(this.profileUsername)+"\n\n\t\t\t")]),t._v(" "),e("div",[e("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?e("div",{staticClass:"bg-white pt-3 border-bottom"},[e("div",{staticClass:"container"},[e("p",{staticClass:"text-center font-weight-bold"},[t._v("You are blocking this account")]),t._v(" "),e("p",{staticClass:"text-center font-weight-bold"},[t._v("Click "),e("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?e("div",{staticClass:"d-flex justify-content-center align-items-center",staticStyle:{height:"80vh"}},[e("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})]):t._e(),t._v(" "),t.loading||t.warning?t._e():e("div",["metro"==t.layout?e("div",{staticClass:"container"},[e("div",{class:t.isMobile?"pt-5":"pt-5 border-bottom"},[e("div",{staticClass:"container px-0"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-4 d-md-flex"},[e("div",{staticClass:"profile-avatar mx-md-auto"},[e("div",{staticClass:"d-block d-md-none mt-n3 mb-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-4"},[t.hasStory?e("div",{staticClass:"has-story cursor-pointer shadow-sm",on:{click:function(e){return t.storyRedirect()}}},[e("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';"}})]):e("div",[e("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(" "),e("div",{staticClass:"col-8"},[e("div",{staticClass:"d-block d-md-none mt-3 py-2"},[e("ul",{staticClass:"nav d-flex justify-content-between"},[e("li",{staticClass:"nav-item"},[e("div",{staticClass:"font-weight-light"},[e("span",{staticClass:"text-dark text-center"},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.formatCount(t.profile.statuses_count)))]),t._v(" "),e("p",{staticClass:"text-muted mb-0 small"},[t._v("Posts")])])])]),t._v(" "),e("li",{staticClass:"nav-item"},[t.profileSettings.followers.count?e("div",{staticClass:"font-weight-light"},[e("a",{staticClass:"text-dark cursor-pointer text-center",on:{click:function(e){return t.followersModal()}}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.formatCount(t.profile.followers_count)))]),t._v(" "),e("p",{staticClass:"text-muted mb-0 small"},[t._v("Followers")])])]):t._e()]),t._v(" "),e("li",{staticClass:"nav-item"},[t.profileSettings.following.count?e("div",{staticClass:"font-weight-light"},[e("a",{staticClass:"text-dark cursor-pointer text-center",on:{click:function(e){return t.followingModal()}}},[e("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(t.formatCount(t.profile.following_count)))]),t._v(" "),e("p",{staticClass:"text-muted mb-0 small"},[t._v("Following")])])]):t._e()])])])])])]),t._v(" "),e("div",{staticClass:"d-none d-md-block pb-3"},[t.hasStory?e("div",{staticClass:"has-story-lg cursor-pointer shadow-sm",on:{click:function(e){return t.storyRedirect()}}},[e("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';"}})]):e("div",[e("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?e("p",{staticClass:"text-center mt-3"},[e("button",{staticClass:"btn btn-outline-secondary font-weight-bold py-0",attrs:{type:"button"},on:{click:t.showSponsorModal}},[e("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(" "),e("div",{staticClass:"col-12 col-md-8 d-flex align-items-center"},[e("div",{staticClass:"profile-details"},[e("div",{staticClass:"d-none d-md-flex username-bar pb-3 align-items-center"},[e("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")?e("span",[1==t.relationship.following?e("span",{staticClass:"pl-4"},[e("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(" "),e("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}},[e("i",{staticClass:"fas fa-user-check mx-3"})])]):t._e(),t._v(" "),t.relationship.following?t._e():e("span",{staticClass:"pl-4"},[e("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")?e("span",{staticClass:"pl-4"},[e("a",{staticClass:"btn btn-outline-secondary btn-sm",staticStyle:{"font-weight":"600"},attrs:{href:"/settings/home"}},[t._v("Edit Profile")])]):t._e(),t._v(" "),e("span",{staticClass:"pl-4"},[e("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(" "),e("div",{staticClass:"font-size-16px"},[e("div",{staticClass:"d-none d-md-inline-flex profile-stats pb-3"},[e("div",{staticClass:"font-weight-light pr-5"},[e("span",{staticClass:"text-dark"},[e("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?e("div",{staticClass:"font-weight-light pr-5"},[e("a",{staticClass:"text-dark cursor-pointer",on:{click:function(e){return t.followersModal()}}},[e("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?e("div",{staticClass:"font-weight-light"},[e("a",{staticClass:"text-dark cursor-pointer",on:{click:function(e){return t.followingModal()}}},[e("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(" "),e("div",{staticClass:"d-md-flex align-items-center mb-1 text-break"},[e("div",{staticClass:"font-weight-bold mr-1"},[t._v(t._s(t.profile.display_name))]),t._v(" "),t.profile.pronouns?e("div",{staticClass:"text-muted small"},[t._v(t._s(t.profile.pronouns.join("/")))]):t._e()]),t._v(" "),t.profile.note?e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.profile.note)}}):t._e(),t._v(" "),t.profile.website?e("p",[e("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(" "),e("p",{staticClass:"d-flex small text-muted align-items-center"},[t.profile.is_admin?e("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?e("span",{staticClass:"btn btn-outline-muted btn-sm py-0 mr-3"},[t._v("Follows You")]):t._e(),t._v(" "),e("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(" "),t.user&&t.user.hasOwnProperty("id")?e("div",{staticClass:"d-block d-md-none my-0 pt-3 border-bottom"},[e("p",{staticClass:"pt-3"},[t.owner?e("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?e("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():e("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(" "),e("div",{},[e("ul",{staticClass:"nav nav-topbar d-flex justify-content-center border-0"},[e("li",{staticClass:"nav-item border-top"},[e("a",{class:"grid"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("grid")}}},[e("i",{staticClass:"fas fa-th"}),t._v(" "),e("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("POSTS")])])]),t._v(" "),e("li",{staticClass:"nav-item px-0 border-top"},[e("a",{class:"collections"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("collections")}}},[e("i",{staticClass:"fas fa-images"}),t._v(" "),e("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("COLLECTIONS")])])]),t._v(" "),t.owner?e("li",{staticClass:"nav-item border-top"},[e("a",{class:"bookmarks"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("bookmarks")}}},[e("i",{staticClass:"fas fa-bookmark"}),t._v(" "),e("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("SAVED")])])]):t._e(),t._v(" "),t.owner?e("li",{staticClass:"nav-item border-top"},[e("a",{class:"archives"==this.mode?"nav-link text-dark":"nav-link",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.switchMode("archives")}}},[e("i",{staticClass:"far fa-folder-open"}),t._v(" "),e("span",{staticClass:"d-none d-md-inline-block small pl-1"},[t._v("ARCHIVES")])])]):t._e()])]),t._v(" "),e("div",{staticClass:"container px-0"},[e("div",{staticClass:"profile-timeline mt-md-4"},["grid"==t.mode?e("div",[e("div",{staticClass:"row"},[t._l(t.timeline,(function(s,o){return e("div",{key:"tlob:"+o,staticClass:"col-4 p-1 p-md-3"},[e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.statusUrl(s)}},[e("div",{staticClass:"square"},[s.sensitive?e("div",{staticClass:"square-content"},[t._m(0,!0),t._v(" "),e("blur-hash-canvas",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash}})],1):e("div",{staticClass:"square-content"},[e("blur-hash-image",{attrs:{width:"32",height:"32",hash:s.media_attachments[0].blurhash,src:s.media_attachments[0].preview_url}})],1),t._v(" "),"photo:album"==s.pf_type?e("span",{staticClass:"float-right mr-3 post-icon"},[e("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==s.pf_type?e("span",{staticClass:"float-right mr-3 post-icon"},[e("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==s.pf_type?e("span",{staticClass:"float-right mr-3 post-icon"},[e("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),e("div",{staticClass:"info-overlay-text"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"far fa-comment fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(t.formatCount(s.reply_count)))])])])])])])])})),t._v(" "),0==t.timeline.length?e("div",{staticClass:"col-12"},[t._m(1)]):t._e()],2),t._v(" "),t.timeline.length?e("div",[e("infinite-loading",{on:{infinite:t.infiniteTimeline}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],1):t._e()]):t._e(),t._v(" "),"bookmarks"==t.mode?e("div",[t.bookmarksLoading?e("div",[t._m(2)]):e("div",[t.bookmarks.length?e("div",{staticClass:"row"},t._l(t.bookmarks,(function(s,o){return e("div",{staticClass:"col-4 p-1 p-sm-2 p-md-3"},[e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:s.url}},[e("div",{staticClass:"square"},["photo:album"==s.pf_type?e("span",{staticClass:"float-right mr-3 post-icon"},[e("i",{staticClass:"fas fa-images fa-2x"})]):t._e(),t._v(" "),"video"==s.pf_type?e("span",{staticClass:"float-right mr-3 post-icon"},[e("i",{staticClass:"fas fa-video fa-2x"})]):t._e(),t._v(" "),"video:album"==s.pf_type?e("span",{staticClass:"float-right mr-3 post-icon"},[e("i",{staticClass:"fas fa-film fa-2x"})]):t._e(),t._v(" "),e("div",{staticClass:"square-content",style:t.previewBackground(s)}),t._v(" "),e("div",{staticClass:"info-overlay-text"},[e("h5",{staticClass:"text-white m-auto font-weight-bold"},[e("span",[e("span",{staticClass:"fas fa-retweet fa-lg p-2 d-flex-inline"}),t._v(" "),e("span",{staticClass:"d-flex-inline"},[t._v(t._s(s.reblogs_count))])])])])])])])})),0):e("div",{staticClass:"col-12"},[t._m(3)])])]):t._e(),t._v(" "),"collections"==t.mode?e("div",[t.collections.length&&t.collectionsLoaded?e("div",{staticClass:"row"},t._l(t.collections,(function(t,s){return e("div",{staticClass:"col-4 p-1 p-sm-2 p-md-3"},[e("a",{staticClass:"card info-overlay card-md-border-0",attrs:{href:t.url}},[e("div",{staticClass:"square"},[e("div",{staticClass:"square-content",style:"background-image: url("+t.thumb+");"})])])])})),0):e("div",[t._m(4)])]):t._e(),t._v(" "),"archives"==t.mode?e("div",[t.archives.length?e("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,s){return e("div",[e("status-card",{class:{"border-top":0===s},attrs:{status:t,"reaction-bar":!1}})],1)})),t._v(" "),e("infinite-loading",{on:{infinite:t.archivesInfiniteLoader}},[e("div",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),e("div",{attrs:{slot:"no-results"},slot:"no-results"})])],2):t._e()]):t._e()])])]):t._e()]),t._v(" "),t.profile&&t.following?e("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?e("div",{staticClass:"text-center py-5"},[e("div",{staticClass:"spinner-border",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])])]):e("div",{staticClass:"list-group",staticStyle:{"max-height":"60vh"}},[t.following.length?e("div",[t._l(t.following,(function(s,o){return e("div",{key:"following_"+o,staticClass:"list-group-item border-0 py-1 mb-1"},[e("div",{staticClass:"media"},[e("a",{attrs:{href:t.profileUrlRedirect(s)}},[t._o(e("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:s.avatar,alt:s.username+"’s avatar",width:"30px",loading:"lazy",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),0,"following_"+o)]),t._v(" "),e("div",{staticClass:"media-body text-truncate"},[e("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.profileUrlRedirect(s)}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),s.local?e("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(s.display_name?s.display_name:s.username)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"text-muted mb-0 text-break mr-3",staticStyle:{"font-size":"14px"},attrs:{title:s.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.acct.split("@")[0]))]),e("span",{staticClass:"text-lighter"},[t._v("@"+t._s(s.acct.split("@")[1]))])])]),t._v(" "),t.owner?e("div",[e("a",{staticClass:"btn btn-outline-dark btn-sm font-weight-bold",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.followModalAction(s.id,o,"following")}}},[t._v("Following")])]):t._e()])])})),t._v(" "),t.followingLoading||0!=t.following.length?t._e():e("div",{staticClass:"list-group-item border-0"},[e("div",{staticClass:"list-group-item border-0 pt-5"},[e("p",{staticClass:"p-3 text-center mb-0 lead"},[t._v("No Results Found")])])]),t._v(" "),t.following.length>0&&t.followingMore?e("div",{staticClass:"list-group-item text-center",on:{click:function(e){return t.followingLoadMore()}}},[e("p",{staticClass:"mb-0 small text-muted font-weight-light cursor-pointer"},[t._v("Load more")])]):t._e()],2):e("div",{staticClass:"list-group-item border-0"},[e("p",{staticClass:"text-center mb-0 font-weight-bold text-muted py-5"},[e("span",{staticClass:"text-dark"},[t._v(t._s(t.profileUsername))]),t._v(" is not following yet")])])])]):t._e(),t._v(" "),e("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?e("div",{staticClass:"text-center py-5"},[e("div",{staticClass:"spinner-border",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[t._v("Loading...")])])]):e("div",{staticClass:"list-group",staticStyle:{"max-height":"60vh"}},[t.followerLoading||t.followers.length?e("div",[t._l(t.followers,(function(s,o){return e("div",{key:"follower_"+o,staticClass:"list-group-item border-0 py-1 mb-1"},[e("div",{staticClass:"media mb-0"},[e("a",{attrs:{href:t.profileUrlRedirect(s)}},[t._o(e("img",{staticClass:"mr-3 rounded-circle box-shadow",attrs:{src:s.avatar,alt:s.username+"’s avatar",width:"30px",height:"30px",loading:"lazy",onerror:"this.src='/storage/avatars/default.jpg?v=0';this.onerror=null;"}}),1,"follower_"+o)]),t._v(" "),e("div",{staticClass:"media-body mb-0"},[e("p",{staticClass:"mb-0",staticStyle:{"font-size":"14px"}},[e("a",{staticClass:"font-weight-bold text-dark",attrs:{href:t.profileUrlRedirect(s)}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(s.username)+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),s.local?e("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(s.display_name?s.display_name:s.username)+"\n\t\t\t\t\t\t\t")]):e("p",{staticClass:"text-muted mb-0 text-break mr-3",staticStyle:{"font-size":"14px"},attrs:{title:s.acct,"data-toggle":"dropdown","data-placement":"bottom"}},[e("span",{staticClass:"font-weight-bold"},[t._v(t._s(s.acct.split("@")[0]))]),e("span",{staticClass:"text-lighter"},[t._v("@"+t._s(s.acct.split("@")[1]))])])])])])})),t._v(" "),t.followers.length&&t.followerMore?e("div",{staticClass:"list-group-item text-center",on:{click:function(e){return t.followersLoadMore()}}},[e("p",{staticClass:"mb-0 small text-muted font-weight-light cursor-pointer"},[t._v("Load more")])]):t._e()],2):e("div",{staticClass:"list-group-item border-0"},[e("p",{staticClass:"text-center mb-0 font-weight-bold text-muted py-5"},[e("span",{staticClass:"text-dark"},[t._v(t._s(t.profileUsername))]),t._v(" has no followers yet")])])])]),t._v(" "),e("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?e("div",{staticClass:"list-group"},[e("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?e("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():e("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?e("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():e("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?e("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?e("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():e("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?e("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?e("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(" "),e("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(" "),e("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(" "),e("b-modal",{ref:"sponsorModal",attrs:{id:"sponsor-modal","hide-footer":"",title:"Sponsor "+t.profileUsername,centered:"",size:"md","body-class":"px-5"}},[e("div",[e("p",{staticClass:"font-weight-bold"},[t._v("External Links")]),t._v(" "),t.sponsorList.patreon?e("p",{staticClass:"pt-2"},[e("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?e("p",{staticClass:"pt-2"},[e("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?e("p",{staticClass:"pt-2"},[e("a",{staticClass:"font-weight-bold",attrs:{href:"https://"+t.sponsorList.opencollective,rel:"nofollow"}},[t._v(t._s(t.sponsorList.opencollective))])]):t._e()])]),t._v(" "),e("b-modal",{ref:"embedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"6",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}}),t._v(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])])],1)},i=[function(){var t=this._self._c;return t("div",{staticClass:"info-overlay-text-label"},[t("h5",{staticClass:"text-white m-auto font-weight-bold"},[t("span",[t("span",{staticClass:"far fa-eye-slash fa-lg p-2 d-flex-inline"})])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"py-5 text-center text-muted"},[e("p",[e("i",{staticClass:"fas fa-camera-retro fa-2x"})]),t._v(" "),e("p",{staticClass:"h2 font-weight-light pt-3"},[t._v("No posts yet")])])},function(){var t=this._self._c;return t("div",{staticClass:"row"},[t("div",{staticClass:"col-12"},[t("div",{staticClass:"p-1 p-sm-2 p-md-3 d-flex justify-content-center align-items-center",staticStyle:{height:"30vh"}},[t("img",{attrs:{src:"/img/pixelfed-icon-grey.svg"}})])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"py-5 text-center text-muted"},[e("p",[e("i",{staticClass:"fas fa-bookmark fa-2x"})]),t._v(" "),e("p",{staticClass:"h2 font-weight-light pt-3"},[t._v("No saved bookmarks")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"py-5 text-center text-muted"},[e("p",[e("i",{staticClass:"fas fa-images fa-2x"})]),t._v(" "),e("p",{staticClass:"h2 font-weight-light pt-3"},[t._v("No collections yet")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"alert alert-info"},[e("p",{staticClass:"mb-0"},[t._v("Posts you archive can only be seen by you.")]),t._v(" "),e("p",{staticClass:"mb-0"},[t._v("For more information see the "),e("a",{attrs:{href:"/site/kb/sharing-media"}},[t._v("Sharing Media")]),t._v(" help center page.")])])}]},45322:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-stack"},[e("b-modal",{ref:"ctxModal",attrs:{id:"ctx-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},["archived"!==t.status.visibility?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuGoToPost()}}},[t._v("View Post")]):t._e(),t._v(" "),"archived"!==t.status.visibility?e("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?e("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?e("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?e("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?e("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?e("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?e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxMenu()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModModal",attrs:{id:"ctx-mod-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"unlist")}}},[t._v("Unlist from Timelines")]),t._v(" "),t.status.sensitive?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"remcw")}}},[t._v("Remove Content Warning")]):e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.moderatePost(t.status,"spammer")}}},[t._v("\n\t\t\t\tMark as Spammer"),e("br"),t._v(" "),e("span",{staticClass:"small"},[t._v("Unlist + CW existing and future posts")])]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxModOtherModal",attrs:{id:"ctx-mod-other-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"list-group text-center"},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Moderation Tools")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Unlist Posts")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.confirmModal()}}},[t._v("Moderation Log")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxModOtherMenuClose()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxShareModal",attrs:{id:"ctx-share-modal",title:"Share","hide-footer":"","hide-header":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded text-center"}},[e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.shareStatus(t.status,e)}}},[t._v(t._s(t.status.reblogged?"Unshare":"Share")+" to Followers")]),t._v(" "),e("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?e("div",{staticClass:"list-group-item rounded cursor-pointer",on:{click:function(e){return t.ctxMenuEmbed()}}},[t._v("Embed")]):t._e(),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.closeCtxShareMenu()}}},[t._v("Cancel")])]),t._v(" "),e("b-modal",{ref:"ctxEmbedModal",attrs:{id:"ctx-embed-modal","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"md","body-class":"p-2 rounded"}},[e("div",[e("div",{staticClass:"form-group"},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedPayload,expression:"ctxEmbedPayload"}],staticClass:"form-control disabled text-monospace",staticStyle:{"overflow-y":"hidden",border:"1px solid #efefef","font-size":"12px","line-height":"18px",margin:"0 0 7px",resize:"none"},attrs:{rows:"8",disabled:""},domProps:{value:t.ctxEmbedPayload},on:{input:function(e){e.target.composing||(t.ctxEmbedPayload=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"form-group pl-2 d-flex justify-content-center"},[e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowCaption,expression:"ctxEmbedShowCaption"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowCaption)?t._i(t.ctxEmbedShowCaption,null)>-1:t.ctxEmbedShowCaption},on:{change:function(e){var s=t.ctxEmbedShowCaption,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(" "),e("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(" "),e("div",{staticClass:"form-check mr-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedShowLikes,expression:"ctxEmbedShowLikes"}],staticClass:"form-check-input",attrs:{type:"checkbox",disabled:1==t.ctxEmbedCompactMode},domProps:{checked:Array.isArray(t.ctxEmbedShowLikes)?t._i(t.ctxEmbedShowLikes,null)>-1:t.ctxEmbedShowLikes},on:{change:function(e){var s=t.ctxEmbedShowLikes,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(" "),e("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(" "),e("div",{staticClass:"form-check"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ctxEmbedCompactMode,expression:"ctxEmbedCompactMode"}],staticClass:"form-check-input",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.ctxEmbedCompactMode)?t._i(t.ctxEmbedCompactMode,null)>-1:t.ctxEmbedCompactMode},on:{change:function(e){var s=t.ctxEmbedCompactMode,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(" "),e("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(" "),e("hr"),t._v(" "),e("button",{class:t.copiedEmbed?"btn btn-primary btn-block btn-sm py-1 font-weight-bold disabed":"btn btn-primary btn-block btn-sm py-1 font-weight-bold",attrs:{disabled:t.copiedEmbed},on:{click:t.ctxCopyEmbed}},[t._v(t._s(t.copiedEmbed?"Embed Code Copied!":"Copy Embed Code"))]),t._v(" "),e("p",{staticClass:"mb-0 px-2 small text-muted"},[t._v("By using this embed, you agree to our "),e("a",{attrs:{href:"/site/terms"}},[t._v("Terms of Use")])])])]),t._v(" "),e("b-modal",{ref:"ctxReport",attrs:{id:"ctx-report","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("spam")}}},[t._v("Spam")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("sensitive")}}},[t._v("Sensitive Content")]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.openCtxReportOtherMenu()}}},[t._v("Other")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxReportOther",attrs:{id:"ctx-report-other","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("p",{staticClass:"py-2 px-3 mb-0"}),e("div",{staticClass:"text-center font-weight-bold text-danger"},[t._v("Report")]),t._v(" "),e("div",{staticClass:"small text-center text-muted"},[t._v("Select one of the following options")]),t._v(" "),e("p"),t._v(" "),e("div",{staticClass:"list-group text-center"},[e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("underage")}}},[t._v("Underage Account")]),t._v(" "),e("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(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("impersonation")}}},[t._v("Impersonation")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer font-weight-bold",on:{click:function(e){return t.sendReport("scam")}}},[t._v("Scam or Fraud")]),t._v(" "),e("div",{staticClass:"list-group-item rounded cursor-pointer text-lighter",on:{click:function(e){return t.ctxReportOtherMenuGoBack()}}},[t._v("Cancel")])])]),t._v(" "),e("b-modal",{ref:"ctxConfirm",attrs:{id:"ctx-confirm","hide-header":"","hide-footer":"",centered:"",rounded:"",size:"sm","body-class":"list-group-flush p-0 rounded"}},[e("div",{staticClass:"d-flex align-items-center justify-content-center py-3"},[e("div",[t._v(t._s(this.confirmModalTitle))])]),t._v(" "),e("div",{staticClass:"d-flex border-top btn-group btn-group-block rounded-0",attrs:{role:"group"}},[e("button",{staticClass:"btn btn-outline-lighter border-left-0 border-top-0 border-bottom-0 border-right py-2",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalCancel()}}},[t._v("Cancel")]),t._v(" "),e("button",{staticClass:"btn btn-outline-lighter border-0",staticStyle:{color:"rgb(0,122,255) !important"},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.confirmModalConfirm()}}},[t._v("Confirm")])])])],1)},i=[]},28995:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"card shadow-none rounded-0",class:{border:t.showBorder,"border-top-0":!t.showBorderTop}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("img",{staticClass:"rounded-circle box-shadow mr-2",attrs:{src:t.status.account.avatar,width:"32px",height:"32px",alt:"avatar"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("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(" "),e("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(" "),e("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(" "),e("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(" "),e("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(" "),e("span",{staticClass:"d-none d-md-block px-1 text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t")]):e("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(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[e("div",{staticClass:"poll py-3"},[e("div",{staticClass:"pt-2 text-break d-flex align-items-center mb-3",staticStyle:{"font-size":"17px"}},[t._m(1),t._v(" "),e("span",{staticClass:"font-weight-bold ml-3",domProps:{innerHTML:t._s(t.status.content)}})]),t._v(" "),e("div",{staticClass:"mb-2"},["vote"===t.tab?e("div",[t._l(t.status.poll.options,(function(s,o){return e("p",[e("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(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")])])})),t._v(" "),null!=t.selectedIndex?e("p",{staticClass:"text-right"},[e("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?e("div",t._l(t.status.poll.options,(function(s,o){return e("div",{staticClass:"mb-3"},[e("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(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):"results"===t.tab?e("div",t._l(t.status.poll.options,(function(s,o){return e("div",{staticClass:"mb-3"},[e("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(s.title)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),e("div",{staticClass:"font-weight-bold"},[e("span",{staticClass:"text-muted"},[t._v(t._s(t.calculatePercentage(s))+"%")]),t._v(" "),e("span",{staticClass:"small text-lighter"},[t._v("("+t._s(s.votes_count)+" "+t._s(1==s.votes_count?"vote":"votes")+")")])])])})),0):t._e()]),t._v(" "),e("div",[e("p",{staticClass:"mb-0 small text-lighter font-weight-bold d-flex justify-content-between"},[e("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?e("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?e("span",{staticClass:"text-lighter"},[t._m(2)]):t._e()])]),t._v(" "),e("div",[e("span",{staticClass:"d-block d-md-none small text-lighter font-weight-bold"},[t.status.poll.expired?e("span",[t._v("\n\t\t\t\t\t\t\t\t\t\tClosed\n\t\t\t\t\t\t\t\t\t")]):e("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(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},i=[function(){var t=this,e=t._self._c;return e("span",{staticClass:"d-none d-md-block px-1 text-primary font-weight-bold"},[e("i",{staticClass:"fas fa-poll-h"}),t._v(" Poll "),e("sup",{staticClass:"text-lighter"},[t._v("BETA")])])},function(){var t=this._self._c;return t("span",{staticClass:"btn btn-primary px-2 py-1"},[t("i",{staticClass:"fas fa-poll-h fa-lg"})])},function(){var t=this._self._c;return t("div",{staticClass:"spinner-border spinner-border-sm",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},55722:(t,e,s)=>{"use strict";s.r(e),s.d(e,{render:()=>o,staticRenderFns:()=>i});var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"status-card-component",class:{"status-card-sm":"small"===t.size}},["text"===t.status.pf_type?e("div",{staticClass:"card shadow-none border rounded-0",class:{"border-top-0":!t.hasTopBorder}},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"media"},[e("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(" "),e("div",{staticClass:"media-body"},[e("div",{staticClass:"pl-2 d-flex align-items-top"},[e("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(" "),e("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(" "),e("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(" "),e("span",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]),t._v(" "),e("div",{staticClass:"pl-2"},[t.status.sensitive?e("details",[e("summary",{staticClass:"mb-2 font-weight-bold text-muted"},[t._v("Content Warning")]),t._v(" "),e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}})]):e("p",{staticClass:"pt-2 text-break status-content",domProps:{innerHTML:t._s(t.status.content)}}),t._v(" "),e("p",{staticClass:"mb-0"},[e("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(" "),e("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?e("div",[e("poll-card",{attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1):e("div",{staticClass:"card rounded-0 border-top-0 status-card card-md-rounded-0 shadow-none border"},[t.status?e("div",{staticClass:"card-header d-inline-flex align-items-center bg-white"},[e("div",[e("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(" "),e("div",{staticClass:"pl-2"},[e("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(" "),t.status.account.is_admin?e("span",{staticClass:"fa-stack",staticStyle:{height:"1em","line-height":"1em","max-width":"19px"},attrs:{title:"Admin Account","data-toggle":"tooltip"}},[e("i",{staticClass:"fas fa-certificate text-danger fa-stack-1x"}),t._v(" "),e("i",{staticClass:"fas fa-crown text-white fa-sm fa-stack-1x",staticStyle:{"font-size":"7px"}})]):t._e(),t._v(" "),e("div",{staticClass:"d-flex align-items-center"},[t.status.place?e("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"}},[e("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(" "),e("div",{staticClass:"text-right",staticStyle:{"flex-grow":"1"}},[e("button",{staticClass:"btn btn-link text-dark py-0",attrs:{type:"button"},on:{click:function(e){return t.ctxMenu()}}},[e("span",{staticClass:"fas fa-ellipsis-h text-lighter"}),t._v(" "),e("span",{staticClass:"sr-only"},[t._v("Post Menu")])])])]):t._e(),t._v(" "),e("div",{staticClass:"postPresenterContainer",staticStyle:{background:"#000"}},["photo"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("photo-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):"video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("video-album-presenter",{attrs:{status:t.status},on:{togglecw:function(e){t.status.sensitive=!1}}})],1):"photo:video:album"===t.status.pf_type?e("div",{staticClass:"w-100"},[e("mixed-album-presenter",{attrs:{status:t.status},on:{lightbox:t.lightbox,togglecw:function(e){t.status.sensitive=!1}}})],1):e("div",{staticClass:"w-100"},[e("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?e("div",{staticClass:"card-body border-top border-bottom py-2 cursor-pointer pr-2",on:{click:function(e){return t.labelRedirect()}}},[e("p",{staticClass:"font-weight-bold d-flex justify-content-between align-items-center mb-0"},[e("span",[e("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(" "),e("div",{staticClass:"card-body"},[t.reactionBar?e("div",{staticClass:"reactions my-1 pb-2"},[t.status.favourited?e("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)}}}):e("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():e("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?e("span",{staticClass:"float-right"},[e("span",{staticClass:"font-weight-light small",staticStyle:{color:"#718096"}},[e("i",{staticClass:"far fa-user",attrs:{"data-toggle":"tooltip",title:"Tagged People"}}),t._v(" "),t._l(t.status.taggedPeople,(function(t,s){return e("span",{staticClass:"mr-n2"},[e("a",{attrs:{href:"/"+t.username}},[e("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?e("div",{staticClass:"likes mb-1"},[e("span",{staticClass:"like-count"},[t._v("Liked by\n\t\t\t\t\t"),e("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?e("span",[t._v("\n\t\t\t\t\t\tand "),t.status.liked_by.total_count_pretty?e("span",{staticClass:"font-weight-bold"},[t._v(t._s(t.status.liked_by.total_count_pretty))]):t._e(),t._v(" "),e("span",{staticClass:"font-weight-bold"},[t._v("others")])]):t._e()])]):t._e(),t._v(" "),"text"!=t.status.pf_type?e("div",{staticClass:"caption"},[t.status.sensitive?t._e():e("p",{staticClass:"mb-2 read-more",staticStyle:{overflow:"hidden"}},[e("span",{staticClass:"username font-weight-bold"},[e("bdi",[e("a",{staticClass:"text-dark",attrs:{href:t.profileUrl(t.status)}},[t._v(t._s(t.status.account.username))])])]),t._v(" "),e("span",{staticClass:"status-content",domProps:{innerHTML:t._s(t.content)}})])]):t._e(),t._v(" "),e("div",{staticClass:"timestamp mt-2"},[e("p",{staticClass:"small mb-0"},["archived"!=t.status.visibility?e("a",{staticClass:"text-muted text-uppercase",attrs:{href:t.statusUrl(t.status)}},[e("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):e("span",{staticClass:"text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\tPosted "),e("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?e("span",[e("span",{staticClass:"px-1"},[t._v("·")]),t._v(" "),e("span",{staticClass:"text-muted"},[t._v("Based on popular and trending content")])]):t._e()])])])]),t._v(" "),e("context-menu",{ref:"contextMenu",attrs:{status:t.status,profile:t.profile},on:{"status-delete":t.statusDeleted}})],1)},i=[function(){var t=this._self._c;return t("span",[t("i",{staticClass:"fas fa-chevron-right text-lighter"})])}]},8797:(t,e,s)=>{Vue.component("photo-presenter",s(37128).default),Vue.component("video-presenter",s(79427).default),Vue.component("photo-album-presenter",s(98051).default),Vue.component("video-album-presenter",s(61518).default),Vue.component("mixed-album-presenter",s(21466).default),Vue.component("post-menu",s(60072).default),Vue.component("profile",s(91990).default)},53933:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(76798),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".card-img-top[data-v-7066737e]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-7066737e]{position:relative}.content-label[data-v-7066737e]{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-7066737e]{position:relative}",""]);const a=i},71336:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(76798),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".card-img-top[data-v-f935045a]{border-top-left-radius:0!important;border-top-right-radius:0!important}.content-label-wrapper[data-v-f935045a]{position:relative}.content-label[data-v-f935045a]{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},1685:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(76798),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".content-label-wrapper[data-v-7871d23c]{position:relative}.content-label[data-v-7871d23c]{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},70211:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(76798),i=s.n(o)()((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 a=i},10561:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(76798),i=s.n(o)()((function(t){return t[1]}));i.push([t.id,".o-landscape[data-v-5b5a6025],.o-portrait[data-v-5b5a6025],.o-square[data-v-5b5a6025]{max-width:320px}.post-icon[data-v-5b5a6025]{color:#fff;margin-top:10px;opacity:.6;position:relative;text-shadow:3px 3px 16px #272634;z-index:9}.font-size-16px[data-v-5b5a6025]{font-size:16px}.profile-website[data-v-5b5a6025]{color:#003569;font-weight:600;text-decoration:none}.nav-topbar .nav-link[data-v-5b5a6025]{color:#999}.nav-topbar .nav-link .small[data-v-5b5a6025]{font-weight:600}.has-story[data-v-5b5a6025]{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-5b5a6025]{background:#fff;border-radius:50%;height:76px;padding:6px;width:76px}.has-story-lg[data-v-5b5a6025]{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-5b5a6025]{background:#fff;border-radius:50%;height:150px;padding:6px;width:150px}.no-focus[data-v-5b5a6025]{border-color:none;box-shadow:none;outline:0}.modal-tab-active[data-v-5b5a6025]{border-bottom:1px solid #08d}.btn-sec-alt[data-v-5b5a6025]:hover{background-color:transparent;border-color:#6c757d;color:#ccc;opacity:.7}",""]);const a=i},93145:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(76798),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},95442:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),i=s.n(o),a=s(53933),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},27713:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),i=s.n(o),a=s(71336),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},72908:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),i=s.n(o),a=s(1685),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},56352:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),i=s.n(o),a=s(70211),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},86772:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),i=s.n(o),a=s(10561),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},1198:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>r});var o=s(85072),i=s.n(o),a=s(93145),n={insert:"head",singleton:!1};i()(a.default,n);const r=a.default.locals||{}},21466:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(63476),i=s(95509),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=(0,s(14486).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},98051:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(37086),i=s(90660),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(58877);const n=(0,s(14486).default)(i.default,o.render,o.staticRenderFns,!1,null,"7066737e",null).exports},37128:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(84585),i=s(2815),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(2776);const n=(0,s(14486).default)(i.default,o.render,o.staticRenderFns,!1,null,"f935045a",null).exports},61518:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(99521),i=s(4777),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=(0,s(14486).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},79427:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(17962),i=s(6452),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(741);const n=(0,s(14486).default)(i.default,o.render,o.staticRenderFns,!1,null,"7871d23c",null).exports},60072:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(86774),i=s(20343),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(26355);const n=(0,s(14486).default)(i.default,o.render,o.staticRenderFns,!1,null,"1002e7e2",null).exports},91990:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(23996),i=s(32109),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(79537);const n=(0,s(14486).default)(i.default,o.render,o.staticRenderFns,!1,null,"5b5a6025",null).exports},53744:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(29375),i=s(21663),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=(0,s(14486).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},78841:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(8044),i=s(24966),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);const n=(0,s(14486).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},79984:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>n});var o=s(53681),i=s(203),a={};for(const t in i)"default"!==t&&(a[t]=()=>i[t]);s.d(e,a);s(51627);const n=(0,s(14486).default)(i.default,o.render,o.staticRenderFns,!1,null,null,null).exports},95509:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(33422),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},90660:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(36639),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},2815:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(9266),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},4777:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(35986),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},6452:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(25189),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},20343:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(59488),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},32109:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(20288),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},21663:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(70384),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},24966:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(78615),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},203:(t,e,s)=>{"use strict";s.r(e),s.d(e,{default:()=>a});var o=s(47898),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i);const a=o.default},63476:(t,e,s)=>{"use strict";s.r(e);var o=s(18389),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},37086:(t,e,s)=>{"use strict";s.r(e);var o=s(28691),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},84585:(t,e,s)=>{"use strict";s.r(e);var o=s(84094),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},99521:(t,e,s)=>{"use strict";s.r(e);var o=s(12024),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},17962:(t,e,s)=>{"use strict";s.r(e);var o=s(75593),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},86774:(t,e,s)=>{"use strict";s.r(e);var o=s(81739),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},23996:(t,e,s)=>{"use strict";s.r(e);var o=s(61811),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},29375:(t,e,s)=>{"use strict";s.r(e);var o=s(45322),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},8044:(t,e,s)=>{"use strict";s.r(e);var o=s(28995),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},53681:(t,e,s)=>{"use strict";s.r(e);var o=s(55722),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},58877:(t,e,s)=>{"use strict";s.r(e);var o=s(95442),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},2776:(t,e,s)=>{"use strict";s.r(e);var o=s(27713),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},741:(t,e,s)=>{"use strict";s.r(e);var o=s(72908),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},26355:(t,e,s)=>{"use strict";s.r(e);var o=s(56352),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},79537:(t,e,s)=>{"use strict";s.r(e);var o=s(86772),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)},51627:(t,e,s)=>{"use strict";s.r(e);var o=s(1198),i={};for(const t in o)"default"!==t&&(i[t]=()=>o[t]);s.d(e,i)}},t=>{t.O(0,[3660],(()=>{return e=8797,t(t.s=e);var e}));t.O()}]); \ No newline at end of file diff --git a/public/js/search.js b/public/js/search.js index b61629ca2..5e33f2250 100644 --- a/public/js/search.js +++ b/public/js/search.js @@ -1 +1 @@ -(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[9026],{77249:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>l});var a=e(74692);function r(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,s){if(!t)return;if("string"==typeof t)return i(t,s);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return i(t,s)}(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,s){(null==s||s>t.length)&&(s=t.length);for(var e=0,a=new Array(s);e1?arguments[1]:void 0;switch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"hashtag"){case"hashtag":default:return t.url+"?src=search";case"profile":return 1==t.entity.local?t.url:"/i/web/profile/_/"+t.entity.id}},searchContext:function(t){var s=this;switch(t){case"all":axios.get("/api/search",{params:{q:this.query,src:"metro",v:this.searchVersion,scope:"all"}}).then((function(t){var e=t.data;s.results.hashtags=e.hashtags?e.hashtags:[],s.results.profiles=e.profiles?e.profiles:[],s.results.statuses=e.posts?e.posts:[],s.results.places=e.places?e.places:[],s.placesCache=e.places,s.results.placesPagination=e.placesPagination?e.placesPagination:[],s.loading=!1})).catch((function(t){s.loading=!1,s.networkError=!0}));break;case"remote":axios.get("/api/search",{params:{q:this.query,src:"metro",v:this.searchVersion,scope:"remote"}}).then((function(t){var e=t.data;s.results.hashtags=e.hashtags?e.hashtags:[],s.results.profiles=e.profiles?e.profiles:[],s.results.statuses=e.posts?e.posts:[],s.results.profiles.length&&(s.analysis="profile"),s.results.statuses.length&&(s.analysis="remotePost"),s.loading=!1})).catch((function(t){s.loading=!1,s.networkError=!0}));break;case"hashtag":axios.get("/api/search",{params:{q:this.query.slice(1),src:"metro",v:this.searchVersion,scope:"hashtag"}}).then((function(t){var e=t.data;s.results.hashtags=e.hashtags?e.hashtags:[],s.results.profiles=e.profiles?e.profiles:[],s.results.statuses=e.posts?e.posts:[],s.loading=!1})).catch((function(t){s.loading=!1,s.networkError=!0}));break;case"profile":axios.get("/api/search",{params:{q:this.query,src:"metro",v:this.searchVersion,scope:"profile"}}).then((function(t){var e=t.data;s.results.hashtags=e.hashtags?e.hashtags:[],s.results.profiles=e.profiles?e.profiles:[],s.results.statuses=e.posts?e.posts:[],s.loading=!1})).catch((function(t){s.loading=!1,s.networkError=!0}));break;case"webfinger":axios.get("/api/search",{params:{q:this.query,src:"metro",v:this.searchVersion,scope:"webfinger"}}).then((function(t){var e=t.data;s.results.hashtags=[],s.results.profiles=e.profiles,s.results.statuses=[],s.loading=!1})).catch((function(t){s.loading=!1,s.networkError=!0}));break;default:this.loading=!1,this.networkError=!0}},placesPrevPage:function(){if(this.placesCursor--,1!=this.placesCursor){var t=20*this.placesCursor;this.results.places=this.placesCache.slice(t,20)}else this.results.places=this.placesCache.slice(0,20)},placesNextPage:function(){var t=this;this.placesCursor++;var s=20*this.placesCursor;this.placesCache.length>20?this.results.places=this.placesCache.slice(1==this.placesCursor?0:s,20):axios.get("/api/search",{params:{q:this.query,src:"metro",v:this.searchVersion,scope:"all",page:this.placesCursor}}).then((function(s){var e,a=s.data;t.results.places=a.places?a.places:[],(e=t.placesCache).push.apply(e,r(a.places)),t.loading=!1})).catch((function(s){t.loading=!1,t.networkError=!0}))},formatCount:function(t){return window.App.util.format.count(t)}}}},5397:(t,s,e)=>{"use strict";e.r(s),e.d(s,{render:()=>a,staticRenderFns:()=>r});var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"container"},[t.loading?s("div",{staticClass:"pt-5 text-center"},[t._m(0)]):t._e(),t._v(" "),t.networkError?s("div",{staticClass:"pt-5 text-center"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.networkError?t._e():s("div",{staticClass:"mt-5"},["all"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 d-flex justify-content-between align-items-center"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),t.placesSearchEnabled?s("div",{attrs:{title:"Show Places","data-toggle":"tooltip"}},[t.results.placesPagination.total>0?s("span",{staticClass:"badge badge-light mr-2 p-1 border",staticStyle:{"margin-top":"-5px"}},[t._v(t._s(t.formatCount(t.results.placesPagination.total)))]):t._e(),t._v(" "),s("div",{staticClass:"d-inline custom-control custom-switch"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.showPlaces,expression:"showPlaces"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"placesSwitch"},domProps:{checked:Array.isArray(t.showPlaces)?t._i(t.showPlaces,null)>-1:t.showPlaces},on:{change:function(s){var e=t.showPlaces,a=s.target,r=!!a.checked;if(Array.isArray(e)){var i=t._i(e,null);a.checked?i<0&&(t.showPlaces=e.concat([null])):i>-1&&(t.showPlaces=e.slice(0,i).concat(e.slice(i+1)))}else t.showPlaces=r}}}),t._v(" "),t._m(2)])]):t._e()]),t._v(" "),t._m(3),t._v(" "),t.placesSearchEnabled&&t.showPlaces?s("div",{staticClass:"col-12 mb-4"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("PLACES "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.placesPagination.total)+")")])])]),t._v(" "),t.results.places.length?s("div",{staticClass:"mb-5"},[t._l(t.results.places,(function(e,a){return s("a",{staticClass:"mr-3 pr-4 d-inline-block text-decoration-none",attrs:{href:t.buildUrl("places",e)}},[s("div",{staticClass:"pb-2"},[s("div",{staticClass:"media align-items-center py-2"},[s("div",{staticClass:"media-body text-truncate"},[s("p",{staticClass:"mb-0 text-break text-dark font-weight-bold",attrs:{"data-toggle":"tooltip",title:e.value}},[s("i",{staticClass:"fas fa-map-marker-alt text-lighter mr-2"}),t._v(" "+t._s(e.value)+"\n\t\t\t\t\t\t\t\t\t")])])])])])})),t._v(" "),20==t.results.places.length||t.placesCursor>0?s("p",{staticClass:"text-center mt-3"},[1==t.placesCursor?s("a",{staticClass:"btn btn-outline-secondary btn-sm font-weight-bold py-0 disabled",attrs:{href:"#",disabled:""}},[s("i",{staticClass:"fas fa-chevron-left mr-2"}),t._v(" Previous\n\t\t\t\t\t\t")]):s("a",{staticClass:"btn btn-outline-secondary btn-sm font-weight-bold py-0",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.placesPrevPage()}}},[s("i",{staticClass:"fas fa-chevron-left mr-2"}),t._v(" Previous\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-4 small text-lighter"},[t._v(t._s(t.placesCursor)+"/"+t._s(t.results.placesPagination.last_page))]),t._v(" "),t.placesCursor!==t.results.placesPagination.last_page?s("a",{staticClass:"btn btn-primary btn-sm font-weight-bold py-0",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.placesNextPage()}}},[t._v("\n\t\t\t\t\t\t\tNext "),s("i",{staticClass:"fas fa-chevron-right ml-2"})]):s("a",{staticClass:"btn btn-primary btn-sm font-weight-bold py-0 disabled",attrs:{href:"#",disabled:""}},[t._v("\n\t\t\t\t\t\t\tNext "),s("i",{staticClass:"fas fa-chevron-right ml-2"})])]):t._e()],2):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])]):t._e(),t._v(" "),s("div",{staticClass:"col-md-3"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("HASHTAGS "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.hashtags.length)+")")])])]),t._v(" "),t.results.hashtags.length?s("div",t._l(t.results.hashtags,(function(e,a){return s("a",{staticClass:"mb-2 result-card",attrs:{href:t.buildUrl("hashtag",e)}},[s("div",{staticClass:"pb-3"},[s("div",{staticClass:"media align-items-center py-2 pr-3"},[t._m(4,!0),t._v(" "),s("div",{staticClass:"media-body text-truncate"},[s("p",{staticClass:"mb-0 text-break text-dark font-weight-bold",attrs:{"data-toggle":"tooltip",title:e.value}},[t._v("\n\t\t\t\t\t\t\t\t\t\t#"+t._s(e.value)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e.count>2?s("p",{staticClass:"mb-0 small font-weight-bold text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.count)+" posts\n\t\t\t\t\t\t\t\t")]):t._e()])])])])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])]),t._v(" "),s("div",{staticClass:"col-md-5"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("PROFILES "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.profiles.length)+")")])])]),t._v(" "),t.results.profiles.length?s("div",t._l(t.results.profiles,(function(e,a){return s("a",{staticClass:"mb-2 result-card",attrs:{href:t.buildUrl("profile",e)}},[s("div",{staticClass:"pb-3"},[s("div",{staticClass:"media align-items-center py-2 pr-3"},[s("img",{staticClass:"mr-3 rounded-circle border",attrs:{src:e.avatar,width:"50px",height:"50px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-break text-dark font-weight-bold",attrs:{"data-toggle":"tooltip",title:e.value}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.value)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0 small font-weight-bold text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.entity.post_count)+" Posts\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"ml-3"},[e.entity.following?s("a",{staticClass:"btn btn-primary btn-sm font-weight-bold text-uppercase py-0",attrs:{href:t.buildUrl("profile",e)}},[t._v("Following")]):s("a",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold text-uppercase py-0",attrs:{href:t.buildUrl("profile",e)}},[t._v("View")])])])])])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])]),t._v(" "),s("div",{staticClass:"col-md-4"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("STATUSES "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.statuses.length)+")")])])]),t._v(" "),t.results.statuses.length?s("div",t._l(t.results.statuses,(function(e,a){return s("a",{key:"srs:"+a,staticClass:"mr-2 result-card",attrs:{href:t.buildUrl("status",e)}},[t._o(s("img",{staticClass:"mb-2",attrs:{src:e.thumb,width:"90px",height:"90px",onerror:"this.onerror=null;this.src='/storage/no-preview.png?v=0';"}}),0,"srs:"+a)])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])])]):"hashtag"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 mb-5"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),s("hr")]),t._v(" "),s("div",{staticClass:"col-md-6 offset-md-3"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("HASHTAGS "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.hashtags.length)+")")])])]),t._v(" "),t.results.hashtags.length?s("div",t._l(t.results.hashtags,(function(e,a){return s("a",{staticClass:"mb-2 result-card",attrs:{href:t.buildUrl("hashtag",e)}},[s("div",{staticClass:"pb-3"},[s("div",{staticClass:"media align-items-center py-2 pr-3"},[t._m(5,!0),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate text-dark font-weight-bold",attrs:{"data-toggle":"tooltip",title:e.value}},[t._v("\n\t\t\t\t\t\t\t\t\t\t#"+t._s(e.value)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e.count>2?s("p",{staticClass:"mb-0 small font-weight-bold text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.count)+" posts\n\t\t\t\t\t\t\t\t")]):t._e()])])])])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])])]):"profile"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 mb-5"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),s("hr")]),t._v(" "),s("div",{staticClass:"col-md-6 offset-md-3"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("PROFILES "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.profiles.length)+")")])])]),t._v(" "),t.results.profiles.length?s("div",t._l(t.results.profiles,(function(e,a){return s("div",{staticClass:"card mb-4"},[t._m(6,!0),t._v(" "),s("div",{staticClass:"card-body"},[s("div",{staticClass:"text-center mt-n5 mb-4"},[s("img",{staticClass:"rounded-circle p-1 border mt-n4 bg-white shadow",attrs:{src:e.entity.thumb,width:"90px",height:"90px;",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}})]),t._v(" "),s("p",{staticClass:"text-center lead font-weight-bold mb-1"},[t._v(t._s(e.value))]),t._v(" "),s("p",{staticClass:"text-center text-muted small text-uppercase mb-4"}),t._v(" "),s("div",{staticClass:"d-flex justify-content-center"},[e.entity.following?s("button",{staticClass:"btn btn-outline-secondary btn-sm py-1 px-4 text-uppercase font-weight-bold mr-3",staticStyle:{"font-weight":"500"},attrs:{type:"button"}},[t._v("Following")]):t._e(),t._v(" "),s("a",{staticClass:"btn btn-primary btn-sm py-1 px-4 text-uppercase font-weight-bold",staticStyle:{"font-weight":"500"},attrs:{href:t.buildUrl("profile",e)}},[t._v("View Profile")])])])])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])])]):"webfinger"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 mb-5"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),s("hr"),t._v(" "),s("div",{staticClass:"col-md-6 offset-md-3"},t._l(t.results.profiles,(function(e,a){return s("div",{staticClass:"card mb-2"},[t._m(7,!0),t._v(" "),s("div",{staticClass:"card-body"},[s("div",{staticClass:"text-center mt-n5 mb-4"},[s("img",{staticClass:"rounded-circle p-1 border mt-n4 bg-white shadow",attrs:{src:e.entity.thumb,width:"90px",height:"90px;",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}})]),t._v(" "),s("p",{staticClass:"text-center lead font-weight-bold mb-1"},[t._v(t._s(e.value))]),t._v(" "),s("p",{staticClass:"text-center text-muted small text-uppercase mb-4"}),t._v(" "),s("div",{staticClass:"d-flex justify-content-center"},[s("a",{staticClass:"btn btn-primary btn-sm py-1 px-4 text-uppercase font-weight-bold",staticStyle:{"font-weight":"500"},attrs:{href:"/i/web/profile/_/"+e.entity.id}},[t._v("View Profile")])])])])})),0)])]):"remote"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 mb-5"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),s("hr")]),t._v(" "),t.results.profiles.length?s("div",{staticClass:"col-md-6 offset-3"},t._l(t.results.profiles,(function(e,a){return s("a",{staticClass:"mb-2 result-card",attrs:{href:t.buildUrl("profile",e)}},[s("div",{staticClass:"pb-3"},[s("div",{staticClass:"media align-items-center py-2 pr-3"},[s("img",{staticClass:"mr-3 rounded-circle border",attrs:{src:e.entity.thumb,width:"50px",height:"50px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate text-dark font-weight-bold",attrs:{"data-toggle":"tooltip",title:e.value}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.value)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0 small font-weight-bold text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.entity.post_count)+" Posts\n\t\t\t\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"ml-3"},[e.entity.following?s("a",{staticClass:"btn btn-primary btn-sm font-weight-bold text-uppercase py-0",attrs:{href:t.buildUrl("profile",e)}},[t._v("Following")]):s("a",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold text-uppercase py-0",attrs:{href:t.buildUrl("profile",e)}},[t._v("View")])])])])])})),0):t._e(),t._v(" "),t.results.statuses.length?s("div",{staticClass:"col-md-6 offset-3"},t._l(t.results.statuses,(function(e,a){return s("a",{staticClass:"mr-2 result-card",attrs:{href:t.buildUrl("status",e)}},[s("img",{staticClass:"mb-2",attrs:{src:e.thumb,width:"90px",height:"90px",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}})])})),0):t._e()]):"remotePost"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 mb-5"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),s("hr")]),t._v(" "),s("div",{staticClass:"col-md-6 offset-md-3"},[t.results.statuses.length?s("div",t._l(t.results.statuses,(function(e,a){return s("div",{staticClass:"card mb-4 shadow-none border"},[s("div",{staticClass:"card-header p-0 m-0"},[s("div",{staticStyle:{width:"100%",height:"200px",background:"#fff"}},[s("div",{staticClass:"pt-4 text-center"},[s("img",{staticClass:"img-fluid border",staticStyle:{"max-height":"140px"},attrs:{src:e.thumb}})])])]),t._v(" "),s("div",{staticClass:"card-body"},[s("div",{staticClass:"mt-n4 mb-2"},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-circle p-1 mr-2 border mt-n3 bg-white shadow",attrs:{src:"/storage/avatars/default.png",width:"70px",height:"70px;",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),s("div",{staticClass:"media-body pt-3"},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(e.username))])]),t._v(" "),s("div",{staticClass:"float-right pt-3"},[s("p",{staticClass:"small mb-0 text-muted"},[t._v(t._s(e.timestamp))])])])]),t._v(" "),s("p",{staticClass:"text-center mb-3 lead",domProps:{innerHTML:t._s(e.caption)}})]),t._v(" "),s("div",{staticClass:"card-footer"},[s("a",{staticClass:"btn btn-primary btn-block font-weight-bold rounded-0",attrs:{href:e.url}},[t._v("View Post")])])])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])])]):s("div",{staticClass:"col-12"},[s("p",{staticClass:"text-center text-muted lead font-weight-bold"},[t._v("No results found")])])])])},r=[function(){var t=this._self._c;return t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading…")])])},function(){var t=this,s=t._self._c;return s("p",{staticClass:"lead font-weight-lighter"},[t._v("An error occured, results could not be loaded."),s("br"),t._v(" Please try again later.")])},function(){var t=this._self._c;return t("label",{staticClass:"custom-control-label font-weight-bold text-sm text-lighter",attrs:{for:"placesSwitch"}},[t("i",{staticClass:"fas fa-map-marker-alt"})])},function(){var t=this._self._c;return t("div",{staticClass:"col-12 mb-5"},[t("hr")])},function(){var t=this._self._c;return t("span",{staticClass:"d-inline-flex align-items-center justify-content-center border rounded-circle mr-3",staticStyle:{width:"50px",height:"50px"}},[t("i",{staticClass:"fas fa-hashtag text-muted"})])},function(){var t=this._self._c;return t("span",{staticClass:"d-inline-flex align-items-center justify-content-center border rounded-circle mr-3",staticStyle:{width:"50px",height:"50px"}},[t("i",{staticClass:"fas fa-hashtag text-muted"})])},function(){var t=this._self._c;return t("div",{staticClass:"card-header p-0 m-0"},[t("div",{staticStyle:{width:"100%",height:"140px",background:"#0070b7"}})])},function(){var t=this._self._c;return t("div",{staticClass:"card-header p-0 m-0"},[t("div",{staticStyle:{width:"100%",height:"140px",background:"#0070b7"}})])}]},52470:(t,s,e)=>{Vue.component("search-results",e(12963).default)},94529:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>i});var a=e(76798),r=e.n(a)()((function(t){return t[1]}));r.push([t.id,".result-card[data-v-0879d027]{text-decoration:none}.result-card .media[data-v-0879d027]:hover{background:#edf2f7}@media (min-width:1200px){.container[data-v-0879d027]{max-width:995px}}",""]);const i=r},66688:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>o});var a=e(85072),r=e.n(a),i=e(94529),l={insert:"head",singleton:!1};r()(i.default,l);const o=i.default.locals||{}},12963:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>l});var a=e(20278),r=e(33244),i={};for(const t in r)"default"!==t&&(i[t]=()=>r[t]);e.d(s,i);e(23249);const l=(0,e(14486).default)(r.default,a.render,a.staticRenderFns,!1,null,"0879d027",null).exports},33244:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>i});var a=e(77249),r={};for(const t in a)"default"!==t&&(r[t]=()=>a[t]);e.d(s,r);const i=a.default},20278:(t,s,e)=>{"use strict";e.r(s);var a=e(5397),r={};for(const t in a)"default"!==t&&(r[t]=()=>a[t]);e.d(s,r)},23249:(t,s,e)=>{"use strict";e.r(s);var a=e(66688),r={};for(const t in a)"default"!==t&&(r[t]=()=>a[t]);e.d(s,r)}},t=>{t.O(0,[3660],(()=>{return s=52470,t(t.s=s);var s}));t.O()}]); \ No newline at end of file +(self.webpackChunkpixelfed=self.webpackChunkpixelfed||[]).push([[6645],{77249:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>l});var a=e(74692);function r(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,s){if(!t)return;if("string"==typeof t)return i(t,s);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return i(t,s)}(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,s){(null==s||s>t.length)&&(s=t.length);for(var e=0,a=new Array(s);e1?arguments[1]:void 0;switch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"hashtag"){case"hashtag":default:return t.url+"?src=search";case"profile":return 1==t.entity.local?t.url:"/i/web/profile/_/"+t.entity.id}},searchContext:function(t){var s=this;switch(t){case"all":axios.get("/api/search",{params:{q:this.query,src:"metro",v:this.searchVersion,scope:"all"}}).then((function(t){var e=t.data;s.results.hashtags=e.hashtags?e.hashtags:[],s.results.profiles=e.profiles?e.profiles:[],s.results.statuses=e.posts?e.posts:[],s.results.places=e.places?e.places:[],s.placesCache=e.places,s.results.placesPagination=e.placesPagination?e.placesPagination:[],s.loading=!1})).catch((function(t){s.loading=!1,s.networkError=!0}));break;case"remote":axios.get("/api/search",{params:{q:this.query,src:"metro",v:this.searchVersion,scope:"remote"}}).then((function(t){var e=t.data;s.results.hashtags=e.hashtags?e.hashtags:[],s.results.profiles=e.profiles?e.profiles:[],s.results.statuses=e.posts?e.posts:[],s.results.profiles.length&&(s.analysis="profile"),s.results.statuses.length&&(s.analysis="remotePost"),s.loading=!1})).catch((function(t){s.loading=!1,s.networkError=!0}));break;case"hashtag":axios.get("/api/search",{params:{q:this.query.slice(1),src:"metro",v:this.searchVersion,scope:"hashtag"}}).then((function(t){var e=t.data;s.results.hashtags=e.hashtags?e.hashtags:[],s.results.profiles=e.profiles?e.profiles:[],s.results.statuses=e.posts?e.posts:[],s.loading=!1})).catch((function(t){s.loading=!1,s.networkError=!0}));break;case"profile":axios.get("/api/search",{params:{q:this.query,src:"metro",v:this.searchVersion,scope:"profile"}}).then((function(t){var e=t.data;s.results.hashtags=e.hashtags?e.hashtags:[],s.results.profiles=e.profiles?e.profiles:[],s.results.statuses=e.posts?e.posts:[],s.loading=!1})).catch((function(t){s.loading=!1,s.networkError=!0}));break;case"webfinger":axios.get("/api/search",{params:{q:this.query,src:"metro",v:this.searchVersion,scope:"webfinger"}}).then((function(t){var e=t.data;s.results.hashtags=[],s.results.profiles=e.profiles,s.results.statuses=[],s.loading=!1})).catch((function(t){s.loading=!1,s.networkError=!0}));break;default:this.loading=!1,this.networkError=!0}},placesPrevPage:function(){if(this.placesCursor--,1!=this.placesCursor){var t=20*this.placesCursor;this.results.places=this.placesCache.slice(t,20)}else this.results.places=this.placesCache.slice(0,20)},placesNextPage:function(){var t=this;this.placesCursor++;var s=20*this.placesCursor;this.placesCache.length>20?this.results.places=this.placesCache.slice(1==this.placesCursor?0:s,20):axios.get("/api/search",{params:{q:this.query,src:"metro",v:this.searchVersion,scope:"all",page:this.placesCursor}}).then((function(s){var e,a=s.data;t.results.places=a.places?a.places:[],(e=t.placesCache).push.apply(e,r(a.places)),t.loading=!1})).catch((function(s){t.loading=!1,t.networkError=!0}))},formatCount:function(t){return window.App.util.format.count(t)}}}},5397:(t,s,e)=>{"use strict";e.r(s),e.d(s,{render:()=>a,staticRenderFns:()=>r});var a=function(){var t=this,s=t._self._c;return s("div",{staticClass:"container"},[t.loading?s("div",{staticClass:"pt-5 text-center"},[t._m(0)]):t._e(),t._v(" "),t.networkError?s("div",{staticClass:"pt-5 text-center"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.networkError?t._e():s("div",{staticClass:"mt-5"},["all"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 d-flex justify-content-between align-items-center"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),t.placesSearchEnabled?s("div",{attrs:{title:"Show Places","data-toggle":"tooltip"}},[t.results.placesPagination.total>0?s("span",{staticClass:"badge badge-light mr-2 p-1 border",staticStyle:{"margin-top":"-5px"}},[t._v(t._s(t.formatCount(t.results.placesPagination.total)))]):t._e(),t._v(" "),s("div",{staticClass:"d-inline custom-control custom-switch"},[s("input",{directives:[{name:"model",rawName:"v-model",value:t.showPlaces,expression:"showPlaces"}],staticClass:"custom-control-input",attrs:{type:"checkbox",id:"placesSwitch"},domProps:{checked:Array.isArray(t.showPlaces)?t._i(t.showPlaces,null)>-1:t.showPlaces},on:{change:function(s){var e=t.showPlaces,a=s.target,r=!!a.checked;if(Array.isArray(e)){var i=t._i(e,null);a.checked?i<0&&(t.showPlaces=e.concat([null])):i>-1&&(t.showPlaces=e.slice(0,i).concat(e.slice(i+1)))}else t.showPlaces=r}}}),t._v(" "),t._m(2)])]):t._e()]),t._v(" "),t._m(3),t._v(" "),t.placesSearchEnabled&&t.showPlaces?s("div",{staticClass:"col-12 mb-4"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("PLACES "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.placesPagination.total)+")")])])]),t._v(" "),t.results.places.length?s("div",{staticClass:"mb-5"},[t._l(t.results.places,(function(e,a){return s("a",{staticClass:"mr-3 pr-4 d-inline-block text-decoration-none",attrs:{href:t.buildUrl("places",e)}},[s("div",{staticClass:"pb-2"},[s("div",{staticClass:"media align-items-center py-2"},[s("div",{staticClass:"media-body text-truncate"},[s("p",{staticClass:"mb-0 text-break text-dark font-weight-bold",attrs:{"data-toggle":"tooltip",title:e.value}},[s("i",{staticClass:"fas fa-map-marker-alt text-lighter mr-2"}),t._v(" "+t._s(e.value)+"\n\t\t\t\t\t\t\t\t\t")])])])])])})),t._v(" "),20==t.results.places.length||t.placesCursor>0?s("p",{staticClass:"text-center mt-3"},[1==t.placesCursor?s("a",{staticClass:"btn btn-outline-secondary btn-sm font-weight-bold py-0 disabled",attrs:{href:"#",disabled:""}},[s("i",{staticClass:"fas fa-chevron-left mr-2"}),t._v(" Previous\n\t\t\t\t\t\t")]):s("a",{staticClass:"btn btn-outline-secondary btn-sm font-weight-bold py-0",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.placesPrevPage()}}},[s("i",{staticClass:"fas fa-chevron-left mr-2"}),t._v(" Previous\n\t\t\t\t\t\t")]),t._v(" "),s("span",{staticClass:"mx-4 small text-lighter"},[t._v(t._s(t.placesCursor)+"/"+t._s(t.results.placesPagination.last_page))]),t._v(" "),t.placesCursor!==t.results.placesPagination.last_page?s("a",{staticClass:"btn btn-primary btn-sm font-weight-bold py-0",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.placesNextPage()}}},[t._v("\n\t\t\t\t\t\t\tNext "),s("i",{staticClass:"fas fa-chevron-right ml-2"})]):s("a",{staticClass:"btn btn-primary btn-sm font-weight-bold py-0 disabled",attrs:{href:"#",disabled:""}},[t._v("\n\t\t\t\t\t\t\tNext "),s("i",{staticClass:"fas fa-chevron-right ml-2"})])]):t._e()],2):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])]):t._e(),t._v(" "),s("div",{staticClass:"col-md-3"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("HASHTAGS "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.hashtags.length)+")")])])]),t._v(" "),t.results.hashtags.length?s("div",t._l(t.results.hashtags,(function(e,a){return s("a",{staticClass:"mb-2 result-card",attrs:{href:t.buildUrl("hashtag",e)}},[s("div",{staticClass:"pb-3"},[s("div",{staticClass:"media align-items-center py-2 pr-3"},[t._m(4,!0),t._v(" "),s("div",{staticClass:"media-body text-truncate"},[s("p",{staticClass:"mb-0 text-break text-dark font-weight-bold",attrs:{"data-toggle":"tooltip",title:e.value}},[t._v("\n\t\t\t\t\t\t\t\t\t\t#"+t._s(e.value)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e.count>2?s("p",{staticClass:"mb-0 small font-weight-bold text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.count)+" posts\n\t\t\t\t\t\t\t\t")]):t._e()])])])])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])]),t._v(" "),s("div",{staticClass:"col-md-5"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("PROFILES "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.profiles.length)+")")])])]),t._v(" "),t.results.profiles.length?s("div",t._l(t.results.profiles,(function(e,a){return s("a",{staticClass:"mb-2 result-card",attrs:{href:t.buildUrl("profile",e)}},[s("div",{staticClass:"pb-3"},[s("div",{staticClass:"media align-items-center py-2 pr-3"},[s("img",{staticClass:"mr-3 rounded-circle border",attrs:{src:e.avatar,width:"50px",height:"50px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-break text-dark font-weight-bold",attrs:{"data-toggle":"tooltip",title:e.value}},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.value)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0 small font-weight-bold text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\t\t\t\t\t"+t._s(e.entity.post_count)+" Posts\n\t\t\t\t\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"ml-3"},[e.entity.following?s("a",{staticClass:"btn btn-primary btn-sm font-weight-bold text-uppercase py-0",attrs:{href:t.buildUrl("profile",e)}},[t._v("Following")]):s("a",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold text-uppercase py-0",attrs:{href:t.buildUrl("profile",e)}},[t._v("View")])])])])])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])]),t._v(" "),s("div",{staticClass:"col-md-4"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("STATUSES "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.statuses.length)+")")])])]),t._v(" "),t.results.statuses.length?s("div",t._l(t.results.statuses,(function(e,a){return s("a",{key:"srs:"+a,staticClass:"mr-2 result-card",attrs:{href:t.buildUrl("status",e)}},[t._o(s("img",{staticClass:"mb-2",attrs:{src:e.thumb,width:"90px",height:"90px",onerror:"this.onerror=null;this.src='/storage/no-preview.png?v=0';"}}),0,"srs:"+a)])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])])]):"hashtag"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 mb-5"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),s("hr")]),t._v(" "),s("div",{staticClass:"col-md-6 offset-md-3"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("HASHTAGS "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.hashtags.length)+")")])])]),t._v(" "),t.results.hashtags.length?s("div",t._l(t.results.hashtags,(function(e,a){return s("a",{staticClass:"mb-2 result-card",attrs:{href:t.buildUrl("hashtag",e)}},[s("div",{staticClass:"pb-3"},[s("div",{staticClass:"media align-items-center py-2 pr-3"},[t._m(5,!0),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate text-dark font-weight-bold",attrs:{"data-toggle":"tooltip",title:e.value}},[t._v("\n\t\t\t\t\t\t\t\t\t\t#"+t._s(e.value)+"\n\t\t\t\t\t\t\t\t\t")]),t._v(" "),e.count>2?s("p",{staticClass:"mb-0 small font-weight-bold text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.count)+" posts\n\t\t\t\t\t\t\t\t")]):t._e()])])])])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])])]):"profile"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 mb-5"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),s("hr")]),t._v(" "),s("div",{staticClass:"col-md-6 offset-md-3"},[s("div",{staticClass:"mb-4"},[s("p",{staticClass:"text-secondary small font-weight-bold"},[t._v("PROFILES "),s("span",{staticClass:"pl-1 text-lighter"},[t._v("("+t._s(t.results.profiles.length)+")")])])]),t._v(" "),t.results.profiles.length?s("div",t._l(t.results.profiles,(function(e,a){return s("div",{staticClass:"card mb-4"},[t._m(6,!0),t._v(" "),s("div",{staticClass:"card-body"},[s("div",{staticClass:"text-center mt-n5 mb-4"},[s("img",{staticClass:"rounded-circle p-1 border mt-n4 bg-white shadow",attrs:{src:e.entity.thumb,width:"90px",height:"90px;",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}})]),t._v(" "),s("p",{staticClass:"text-center lead font-weight-bold mb-1"},[t._v(t._s(e.value))]),t._v(" "),s("p",{staticClass:"text-center text-muted small text-uppercase mb-4"}),t._v(" "),s("div",{staticClass:"d-flex justify-content-center"},[e.entity.following?s("button",{staticClass:"btn btn-outline-secondary btn-sm py-1 px-4 text-uppercase font-weight-bold mr-3",staticStyle:{"font-weight":"500"},attrs:{type:"button"}},[t._v("Following")]):t._e(),t._v(" "),s("a",{staticClass:"btn btn-primary btn-sm py-1 px-4 text-uppercase font-weight-bold",staticStyle:{"font-weight":"500"},attrs:{href:t.buildUrl("profile",e)}},[t._v("View Profile")])])])])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])])]):"webfinger"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 mb-5"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),s("hr"),t._v(" "),s("div",{staticClass:"col-md-6 offset-md-3"},t._l(t.results.profiles,(function(e,a){return s("div",{staticClass:"card mb-2"},[t._m(7,!0),t._v(" "),s("div",{staticClass:"card-body"},[s("div",{staticClass:"text-center mt-n5 mb-4"},[s("img",{staticClass:"rounded-circle p-1 border mt-n4 bg-white shadow",attrs:{src:e.entity.thumb,width:"90px",height:"90px;",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}})]),t._v(" "),s("p",{staticClass:"text-center lead font-weight-bold mb-1"},[t._v(t._s(e.value))]),t._v(" "),s("p",{staticClass:"text-center text-muted small text-uppercase mb-4"}),t._v(" "),s("div",{staticClass:"d-flex justify-content-center"},[s("a",{staticClass:"btn btn-primary btn-sm py-1 px-4 text-uppercase font-weight-bold",staticStyle:{"font-weight":"500"},attrs:{href:"/i/web/profile/_/"+e.entity.id}},[t._v("View Profile")])])])])})),0)])]):"remote"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 mb-5"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),s("hr")]),t._v(" "),t.results.profiles.length?s("div",{staticClass:"col-md-6 offset-3"},t._l(t.results.profiles,(function(e,a){return s("a",{staticClass:"mb-2 result-card",attrs:{href:t.buildUrl("profile",e)}},[s("div",{staticClass:"pb-3"},[s("div",{staticClass:"media align-items-center py-2 pr-3"},[s("img",{staticClass:"mr-3 rounded-circle border",attrs:{src:e.entity.thumb,width:"50px",height:"50px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),s("div",{staticClass:"media-body"},[s("p",{staticClass:"mb-0 text-truncate text-dark font-weight-bold",attrs:{"data-toggle":"tooltip",title:e.value}},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.value)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),s("p",{staticClass:"mb-0 small font-weight-bold text-muted text-uppercase"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.entity.post_count)+" Posts\n\t\t\t\t\t\t\t\t")])]),t._v(" "),s("div",{staticClass:"ml-3"},[e.entity.following?s("a",{staticClass:"btn btn-primary btn-sm font-weight-bold text-uppercase py-0",attrs:{href:t.buildUrl("profile",e)}},[t._v("Following")]):s("a",{staticClass:"btn btn-outline-primary btn-sm font-weight-bold text-uppercase py-0",attrs:{href:t.buildUrl("profile",e)}},[t._v("View")])])])])])})),0):t._e(),t._v(" "),t.results.statuses.length?s("div",{staticClass:"col-md-6 offset-3"},t._l(t.results.statuses,(function(e,a){return s("a",{staticClass:"mr-2 result-card",attrs:{href:t.buildUrl("status",e)}},[s("img",{staticClass:"mb-2",attrs:{src:e.thumb,width:"90px",height:"90px",onerror:"this.onerror=null;this.src='/storage/no-preview.png';"}})])})),0):t._e()]):"remotePost"==t.analysis?s("div",{staticClass:"row"},[s("div",{staticClass:"col-12 mb-5"},[s("p",{staticClass:"h5 font-weight-bold text-dark"},[t._v("Showing results for "),s("i",[t._v(t._s(t.query))])]),t._v(" "),s("hr")]),t._v(" "),s("div",{staticClass:"col-md-6 offset-md-3"},[t.results.statuses.length?s("div",t._l(t.results.statuses,(function(e,a){return s("div",{staticClass:"card mb-4 shadow-none border"},[s("div",{staticClass:"card-header p-0 m-0"},[s("div",{staticStyle:{width:"100%",height:"200px",background:"#fff"}},[s("div",{staticClass:"pt-4 text-center"},[s("img",{staticClass:"img-fluid border",staticStyle:{"max-height":"140px"},attrs:{src:e.thumb}})])])]),t._v(" "),s("div",{staticClass:"card-body"},[s("div",{staticClass:"mt-n4 mb-2"},[s("div",{staticClass:"media"},[s("img",{staticClass:"rounded-circle p-1 mr-2 border mt-n3 bg-white shadow",attrs:{src:"/storage/avatars/default.png",width:"70px",height:"70px;",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),t._v(" "),s("div",{staticClass:"media-body pt-3"},[s("p",{staticClass:"font-weight-bold mb-0"},[t._v(t._s(e.username))])]),t._v(" "),s("div",{staticClass:"float-right pt-3"},[s("p",{staticClass:"small mb-0 text-muted"},[t._v(t._s(e.timestamp))])])])]),t._v(" "),s("p",{staticClass:"text-center mb-3 lead",domProps:{innerHTML:t._s(e.caption)}})]),t._v(" "),s("div",{staticClass:"card-footer"},[s("a",{staticClass:"btn btn-primary btn-block font-weight-bold rounded-0",attrs:{href:e.url}},[t._v("View Post")])])])})),0):s("div",[s("div",{staticClass:"border py-3 text-center font-weight-bold"},[t._v("No results found")])])])]):s("div",{staticClass:"col-12"},[s("p",{staticClass:"text-center text-muted lead font-weight-bold"},[t._v("No results found")])])])])},r=[function(){var t=this._self._c;return t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[this._v("Loading…")])])},function(){var t=this,s=t._self._c;return s("p",{staticClass:"lead font-weight-lighter"},[t._v("An error occured, results could not be loaded."),s("br"),t._v(" Please try again later.")])},function(){var t=this._self._c;return t("label",{staticClass:"custom-control-label font-weight-bold text-sm text-lighter",attrs:{for:"placesSwitch"}},[t("i",{staticClass:"fas fa-map-marker-alt"})])},function(){var t=this._self._c;return t("div",{staticClass:"col-12 mb-5"},[t("hr")])},function(){var t=this._self._c;return t("span",{staticClass:"d-inline-flex align-items-center justify-content-center border rounded-circle mr-3",staticStyle:{width:"50px",height:"50px"}},[t("i",{staticClass:"fas fa-hashtag text-muted"})])},function(){var t=this._self._c;return t("span",{staticClass:"d-inline-flex align-items-center justify-content-center border rounded-circle mr-3",staticStyle:{width:"50px",height:"50px"}},[t("i",{staticClass:"fas fa-hashtag text-muted"})])},function(){var t=this._self._c;return t("div",{staticClass:"card-header p-0 m-0"},[t("div",{staticStyle:{width:"100%",height:"140px",background:"#0070b7"}})])},function(){var t=this._self._c;return t("div",{staticClass:"card-header p-0 m-0"},[t("div",{staticStyle:{width:"100%",height:"140px",background:"#0070b7"}})])}]},52470:(t,s,e)=>{Vue.component("search-results",e(12963).default)},94529:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>i});var a=e(76798),r=e.n(a)()((function(t){return t[1]}));r.push([t.id,".result-card[data-v-0879d027]{text-decoration:none}.result-card .media[data-v-0879d027]:hover{background:#edf2f7}@media (min-width:1200px){.container[data-v-0879d027]{max-width:995px}}",""]);const i=r},66688:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>o});var a=e(85072),r=e.n(a),i=e(94529),l={insert:"head",singleton:!1};r()(i.default,l);const o=i.default.locals||{}},12963:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>l});var a=e(20278),r=e(33244),i={};for(const t in r)"default"!==t&&(i[t]=()=>r[t]);e.d(s,i);e(23249);const l=(0,e(14486).default)(r.default,a.render,a.staticRenderFns,!1,null,"0879d027",null).exports},33244:(t,s,e)=>{"use strict";e.r(s),e.d(s,{default:()=>i});var a=e(77249),r={};for(const t in a)"default"!==t&&(r[t]=()=>a[t]);e.d(s,r);const i=a.default},20278:(t,s,e)=>{"use strict";e.r(s);var a=e(5397),r={};for(const t in a)"default"!==t&&(r[t]=()=>a[t]);e.d(s,r)},23249:(t,s,e)=>{"use strict";e.r(s);var a=e(66688),r={};for(const t in a)"default"!==t&&(r[t]=()=>a[t]);e.d(s,r)}},t=>{t.O(0,[3660],(()=>{return s=52470,t(t.s=s);var s}));t.O()}]); \ No newline at end of file diff --git a/public/js/spa.js b/public/js/spa.js index 74e6e094f..6cd9c7a09 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([[7228],{87034:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(2e4);o(87980);function i(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return s(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,a=new Array(t);o1&&void 0!==arguments[1]?arguments[1]:30;return e.length<=t?e:e.slice(0,t)+"..."},timeAgo:function(e){return window.App.util.format.timeAgo(e)},formatCount:function(e){return e?new Intl.NumberFormat("en-CA",{notation:"compact",compactDisplay:"short"}).format(e):0},logout:function(){axios.post("/logout").then((function(e){location.href="/"})).catch((function(e){location.href="/"}))},openUserInterfaceSettings:function(){event.currentTarget.blur(),this.$refs.uis.show()},toggleUi:function(e){event.currentTarget.blur(),this.uiColorScheme=e},toggleProfileLayout:function(e){event.currentTarget.blur(),this.profileLayout=e}}}},45076:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var a=o(74692);function i(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return s(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,a=new Array(t);o5?e.complete():axios.get("/api/pixelfed/v1/notifications",{params:{max_id:this.notificationMaxId}}).then((function(o){if(o.data.length){var a,s=o.data.filter((function(e){return!("share"==e.type&&!e.status)&&(!("comment"==e.type&&!e.status)&&(!("mention"==e.type&&!e.status)&&(!("favourite"==e.type&&!e.status)&&(!("follow"==e.type&&!e.account)&&!_.find(t.notifications,{id:e.id})))))})),n=s.map((function(e){return e.id}));t.notificationMaxId=Math.min.apply(Math,i(n)),(a=t.notifications).push.apply(a,i(s)),t.notificationCursor++,e.loaded()}else e.complete()}))},truncate:function(e){return e.length<=15?e:e.slice(0,15)+"..."},timeAgo:function(e){return window.App.util.format.timeAgo(e)},mentionUrl:function(e){return"/p/"+e.account.username+"/"+e.id},notificationPoll:function(){var e=this.notifications.length>5?15e3:12e4,t=this;setInterval((function(){axios.get("/api/pixelfed/v1/notifications").then((function(e){var o=e.data.filter((function(e){return!("share"==e.type||t.notificationMaxId>=e.id)}));if(o.length){var s,n=o.map((function(e){return e.id}));t.notificationMaxId=Math.max.apply(Math,i(n)),(s=t.notifications).unshift.apply(s,i(o));var r=new Audio("/static/beep.mp3");r.volume=.7,r.play(),a(".notification-card .far.fa-bell").addClass("fas text-danger").removeClass("far text-muted")}}))}),e)},fetchFollowRequests:function(){var e=this;1==window._sharedData.curUser.locked&&axios.get("/account/follow-requests.json").then((function(t){e.followRequests=t.data}))},redirect:function(e){window.location.href=e},notificationPreview:function(e){return e.status&&e.status.hasOwnProperty("media_attachments")&&e.status.media_attachments.length?e.status.media_attachments[0].preview_url:"/storage/no-preview.png"},getProfileUrl:function(e){return 1==e.local?e.url:"/i/web/profile/_/"+e.id},getPostUrl:function(e){if(e)return e.hasOwnProperty("local")&&1!=e.local?"/i/web/post/_/"+e.account.id+"/"+e.id:e.url},refreshNotifications:function(){this.loading=!0,this.attemptedRefresh=!0,this.fetchNotifications()}}}},59488:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(74692);const i={props:["feed","status","profile","size","modal"],data:function(){return{activeSession:!1}},mounted:function(){var e=document.querySelector("body");this.activeSession=!!e.classList.contains("loggedIn")},methods:{reportUrl:function(e){return"/i/report?type="+(e.in_reply_to?"comment":"post")+"&id="+e.id},timestampFormat:function(e){var t=new Date(e);return t.toDateString()+" "+t.toLocaleTimeString()},editUrl:function(e){return e.url+"/edit"},redirect:function(e){window.location.href=e},replyUrl:function(e){return"/p/"+this.profile.username+"/"+(e.account.id==this.profile.id?e.id:e.in_reply_to_id)},mentionUrl:function(e){return"/p/"+e.account.username+"/"+e.id},statusOwner:function(e){return parseInt(e.account.id)==parseInt(this.profile.id)},deletePost:function(){this.$emit("deletePost"),a("#mt_pid_"+this.status.id).modal("hide")},hidePost:function(e){e.sensitive=!0,a("#mt_pid_"+e.id).modal("hide")},moderatePost:function(e,t,o){var a=e.account.username;switch(t){case"autocw":var 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(e){0!=a("body").hasClass("loggedIn")&&axios.post("/i/mute",{type:"user",item:e.account.id}).then((function(t){swal("Success","You have successfully muted "+e.account.acct,"success")})).catch((function(e){swal("Error","Something went wrong. Please try again later.","error")}))},blockProfile:function(e){0!=a("body").hasClass("loggedIn")&&axios.post("/i/block",{type:"user",item:e.account.id}).then((function(t){swal("Success","You have successfully blocked "+e.account.acct,"success")})).catch((function(e){swal("Error","Something went wrong. Please try again later.","error")}))},statusUrl:function(e){return 1==e.local?e.url:"/i/web/post/_/"+e.account.id+"/"+e.id},profileUrl:function(e){return 1==e.local?e.account.url:"/i/web/profile/_/"+e.account.id},closeModal:function(){a("#mt_pid_"+this.status.id).modal("hide")}}}},81504:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={props:["list","scope"],data:function(){return{loading:!0,show:!0,stories:{}}},mounted:function(){this.fetchStories()},methods:{fetchStories:function(){var e=this;axios.get("/api/web/stories/v1/recent").then((function(t){t.data;t.data.length?(e.stories=t.data,e.loading=!1):e.show=!1})).catch((function(t){e.loading=!1,e.$bvToast.toast("Cannot load stories. Please try again later.",{title:"Error",variant:"danger",autoHideDelay:5e3}),e.show=!1}))},showStory:function(e){var t;switch(this.scope){case"home":t="/?t=1";break;case"local":t="/?t=2";break;case"network":t="/?t=3"}window.location.href=this.stories[e].url+t},systemStory:function(){window.location.href="/i/_platform/stories/whats-new"}}}},78788:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={props:["status"]}},40669:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(18634);const i={props:["status"],data:function(){return{sensitive:this.status.sensitive,cursor:0}},created:function(){},beforeDestroy:function(){},methods:{toggleContentWarning:function(e){this.$emit("togglecw")},toggleLightbox:function(e){(0,a.default)({el:e.target,gallery:"#carousel-"+this.status.id,position:this.$refs.carousel.currentPage})},altText:function(e){var t=e.description;return t||"Photo was not tagged with any alt text."},keypressNavigation:function(e){var t=this.$refs.carousel;if("37"==e.keyCode){e.preventDefault();var o="backward";t.advancePage(o),t.$emit("navigation-click",o)}if("39"==e.keyCode){e.preventDefault();var a="forward";t.advancePage(a),t.$emit("navigation-click",a)}}}}},96504:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>i});var a=o(18634);const i={props:["status"],data:function(){return{sensitive:this.status.sensitive}},mounted:function(){},methods:{altText:function(e){var t=e.media_attachments[0].description;return t||"Photo was not tagged with any alt text."},toggleContentWarning:function(e){this.$emit("togglecw")},toggleLightbox:function(e){(0,a.default)({el:e.target})},width:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.width)return this.status.media_attachments[0].meta.original.width},height:function(){if(this.status.media_attachments[0].meta&&this.status.media_attachments[0].meta.original&&this.status.media_attachments[0].meta.original.height)return this.status.media_attachments[0].meta.original.height}}}},36104:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={props:["status"]}},89379:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>a});const a={props:["status"],methods:{altText:function(e){var t=e.media_attachments[0].description;return t||"Video was not tagged with any alt text."},playOrPause:function(e){var t=e.target;1==t.getAttribute("playing")?(t.removeAttribute("playing"),t.pause()):(t.setAttribute("playing",1),t.play())},toggleContentWarning:function(e){this.$emit("togglecw")},poster:function(){var e=this.status.media_attachments[0].preview_url;if(!e.endsWith("no-preview.jpg")&&!e.endsWith("no-preview.png"))return e}}}},16387:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>i});var a=function(){var e=this,t=e._self._c;return t("nav",{staticClass:"metro-nav navbar navbar-expand navbar-light navbar-laravel sticky-top shadow-none py-1"},[t("div",{staticClass:"container-fluid"},[t("a",{staticClass:"navbar-brand d-flex align-items-center",attrs:{href:"/i/web",title:"Logo"}},[t("img",{staticClass:"px-2",attrs:{src:"/img/pixelfed-icon-color.svg",height:"30px",loading:"eager",alt:"Pixelfed logo"}}),e._v(" "),t("span",{staticClass:"font-weight-bold mb-0 d-none d-sm-block",staticStyle:{"font-size":"20px"}},[e._v("\n\t\t\t\t\t"+e._s(e.brandName)+"\n\t\t\t\t")])]),e._v(" "),t("div",{staticClass:"collapse navbar-collapse"},[t("div",{staticClass:"navbar-nav ml-auto"},[t("autocomplete",{ref:"autocomplete",staticClass:"searchbox",attrs:{search:e.autocompleteSearch,placeholder:e.$t("navmenu.search"),"aria-label":"Search","get-result-value":e.getSearchResultValue,debounceTime:700},on:{submit:e.onSearchSubmit},scopedSlots:e._u([{key:"result",fn:function(o){var a=o.result,i=o.props;return[t("li",e._b({staticClass:"autocomplete-result sr"},"li",i,!1),["account"===a.s_type?t("div",{staticClass:"media align-items-center my-0"},[t("img",{staticClass:"sr-avatar",staticStyle:{"border-radius":"40px"},attrs:{src:a.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.png?v=0';this.onerror=null;"}}),e._v(" "),t("div",{staticClass:"media-body sr-account"},[t("div",{staticClass:"sr-account-acct",class:{compact:a.acct&&a.acct.length>24}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t@"+e._s(a.acct)+"\n\t\t\t\t\t\t\t\t\t\t\t"),a.locked?t("b-button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.html",modifiers:{html:!0}}],staticClass:"p-0",attrs:{title:"Private Account",variant:"link",size:"sm"}},[t("i",{staticClass:"far fa-lock fa-sm text-lighter ml-1"})]):e._e()],1),e._v(" "),a.is_admin?[t("div",{staticClass:"sr-account-stats"},[t("div",{staticClass:"sr-account-stats-followers text-danger font-weight-bold"},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\tAdmin\n\t\t\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),t("div",[e._v("·")]),e._v(" "),t("div",{staticClass:"sr-account-stats-followers font-weight-bold"},[t("span",[e._v(e._s(e.formatCount(a.followers_count)))]),e._v(" "),t("span",[e._v("Followers")])])])]:[a.local?[t("div",{staticClass:"sr-account-stats"},[a.followers_count?t("div",{staticClass:"sr-account-stats-followers font-weight-bold"},[t("span",[e._v(e._s(e.formatCount(a.followers_count)))]),e._v(" "),t("span",[e._v("Followers")])]):e._e(),e._v(" "),a.followers_count&&a.statuses_count?t("div",[e._v("·")]):e._e(),e._v(" "),a.statuses_count?t("div",{staticClass:"sr-account-stats-statuses font-weight-bold"},[t("span",[e._v(e._s(e.formatCount(a.statuses_count)))]),e._v(" "),t("span",[e._v("Posts")])]):e._e(),e._v(" "),!a.followers_count&&a.statuses_count?t("div",[e._v("·")]):e._e(),e._v(" "),t("div",{staticClass:"sr-account-stats-statuses font-weight-bold"},[t("i",{staticClass:"far fa-clock fa-sm"}),e._v(" "),t("span",[e._v(e._s(e.timeAgo(a.created_at)))])])])]:[t("div",{staticClass:"sr-account-stats"},[a.followers_count?t("div",{staticClass:"sr-account-stats-followers font-weight-bold"},[t("span",[e._v(e._s(e.formatCount(a.followers_count)))]),e._v(" "),t("span",[e._v("Followers")])]):e._e(),e._v(" "),a.followers_count&&a.statuses_count?t("div",[e._v("·")]):e._e(),e._v(" "),a.statuses_count?t("div",{staticClass:"sr-account-stats-statuses font-weight-bold"},[t("span",[e._v(e._s(e.formatCount(a.statuses_count)))]),e._v(" "),t("span",[e._v("Posts")])]):e._e(),e._v(" "),!a.followers_count&&a.statuses_count?t("div",[e._v("·")]):e._e(),e._v(" "),a.followers_count||a.statuses_count?e._e():t("div",{staticClass:"sr-account-stats-statuses font-weight-bold"},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tRemote Account\n\t\t\t\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),a.followers_count||a.statuses_count?e._e():t("div",[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t·\n\t\t\t\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),t("b-button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.html",modifiers:{html:!0}}],staticClass:"sr-account-stats-statuses p-0",attrs:{title:"Joined "+e.timeAgo(a.created_at)+" ago",variant:"link",size:"sm"}},[t("i",{staticClass:"far fa-clock fa-sm"}),e._v(" "),t("span",{staticClass:"font-weight-bold"},[e._v(e._s(e.timeAgo(a.created_at)))])])],1)]]],2)]):"hashtag"===a.s_type?t("div",{staticClass:"media align-items-center my-0"},[t("div",{staticClass:"media-icon"},[t("i",{staticClass:"far fa-hashtag fa-large"})]),e._v(" "),t("div",{staticClass:"media-body sr-tag"},[t("div",{staticClass:"sr-tag-name",class:{compact:a.name&&a.name.length>26}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t#"+e._s(a.name)+"\n\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),a.count&&a.count>100?t("div",{staticClass:"sr-tag-count"},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.formatCount(a.count))+" "+e._s(1==a.count?"Post":"Posts")+"\n\t\t\t\t\t\t\t\t\t\t")]):e._e()])]):"status"===a.s_type?t("div",{staticClass:"media align-items-center my-0"},[t("img",{staticClass:"sr-avatar",staticStyle:{"border-radius":"40px"},attrs:{src:a.account.avatar,width:"40",height:"40",onerror:"this.src='/storage/avatars/default.png?v=0';this.onerror=null;"}}),e._v(" "),t("div",{staticClass:"media-body sr-post"},[t("div",{staticClass:"sr-post-acct",class:{compact:a.acct&&a.acct.length>26}},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t@"+e._s(e.truncate(a.account.acct,20))+"\n\t\t\t\t\t\t\t\t\t\t\t"),a.locked?t("b-button",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.html",modifiers:{html:!0}}],staticClass:"p-0",attrs:{title:"Private Account",variant:"link",size:"sm"}},[t("i",{staticClass:"far fa-lock fa-sm text-lighter ml-1"})]):e._e()],1),e._v(" "),t("div",{staticClass:"sr-post-action"},[t("div",{staticClass:"sr-post-action-timestamp"},[t("i",{staticClass:"far fa-clock fa-sm"}),e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.timeAgo(a.created_at))+"\n\t\t\t\t\t\t\t\t\t\t\t")]),e._v(" "),t("div",[e._v("·")]),e._v(" "),t("div",{staticClass:"sr-post-action-label"},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\tTap to view post\n\t\t\t\t\t\t\t\t\t\t\t")])])])]):e._e()])]}}])})],1),e._v(" "),t("div",{staticClass:"ml-auto"},[t("ul",{staticClass:"navbar-nav align-items-center"},[t("li",{staticClass:"nav-item dropdown ml-2"},[t("a",{staticClass:"nav-link dropdown-toggle",attrs:{id:"navbarDropdown",href:"#",role:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",title:"User Menu"}},[t("i",{staticClass:"d-none far fa-user fa-lg text-dark"}),e._v(" "),t("span",{staticClass:"sr-only"},[e._v("User Menu")]),e._v(" "),t("img",{staticClass:"nav-avatar rounded-circle border shadow",attrs:{src:e.user.avatar,width:"30",height:"30",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=0';"}})]),e._v(" "),t("div",{staticClass:"dropdown-menu dropdown-menu-right shadow",attrs:{"aria-labelledby":"navbarDropdown"}},[t("ul",{staticClass:"nav flex-column"},[t("li",{staticClass:"nav-item nav-icons"},[t("div",{staticClass:"d-flex justify-content-between align-items-center"},[t("router-link",{staticClass:"nav-link text-center",attrs:{to:"/i/web"}},[t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-home fa-lg"})]),e._v(" "),t("div",{staticClass:"small"},[e._v(e._s(e.$t("navmenu.homeFeed")))])]),e._v(" "),e.hasLocalTimeline?t("router-link",{staticClass:"nav-link text-center",attrs:{to:{name:"timeline",params:{scope:"local"}}}},[t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"fas fa-stream fa-lg"})]),e._v(" "),t("div",{staticClass:"small"},[e._v(e._s(e.$t("navmenu.localFeed")))])]):e._e(),e._v(" "),e.hasNetworkTimeline?t("router-link",{staticClass:"nav-link text-center",attrs:{to:{name:"timeline",params:{scope:"global"}}}},[t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-globe fa-lg"})]),e._v(" "),t("div",{staticClass:"small"},[e._v(e._s(e.$t("navmenu.globalFeed")))])]):e._e()],1)]),e._v(" "),t("li",{staticClass:"nav-item nav-icons"},[t("div",{staticClass:"d-flex justify-content-between align-items-center"},[t("router-link",{staticClass:"nav-link text-center",attrs:{to:"/i/web/discover"}},[t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-compass"})]),e._v(" "),t("div",{staticClass:"small"},[e._v(e._s(e.$t("navmenu.discover")))])]),e._v(" "),t("router-link",{staticClass:"nav-link text-center",attrs:{to:"/i/web/notifications"}},[t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-bell"})]),e._v(" "),t("div",{staticClass:"small"},[e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.$t("navmenu.notifications"))+"\n\t\t\t\t\t\t\t\t\t\t\t\t")])]),e._v(" "),t("router-link",{staticClass:"nav-link text-center px-3",attrs:{to:"/i/web/profile/"+e.user.id}},[t("div",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-user"})]),e._v(" "),t("div",{staticClass:"small"},[e._v(e._s(e.$t("navmenu.profile")))])])],1),e._v(" "),t("hr",{staticClass:"mb-0",staticStyle:{"margin-top":"-5px",opacity:"0.4"}})]),e._v(" "),t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link",attrs:{to:"/i/web/compose"}},[t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-plus-square"})]),e._v("\n\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.$t("navmenu.compose"))+"\n\t\t\t\t\t\t\t\t\t\t")])],1),e._v(" "),t("li",{staticClass:"nav-item"},[t("router-link",{staticClass:"nav-link d-flex justify-content-between align-items-center",attrs:{to:"/i/web/direct"}},[t("span",[t("span",{staticClass:"icon text-lighter"},[t("i",{staticClass:"far fa-envelope"})]),e._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.$t("navmenu.directMessages"))+"\n\t\t\t\t\t\t\t\t\t\t\t")])])],1),e._v(" "),t("li",{staticClass:"nav-item"},[t("a",{staticClass:"nav-link",attrs:{href:"/i/web"},on:{click:function(t){return t.preventDefault(),e.openUserInterfaceSettings.apply(null,arguments)}}},[e._m(0),e._v("\n\t\t\t\t\t\t\t\t\t\t\tUI Settings\n\t\t\t\t\t\t\t\t\t\t")])]),e._v(" "),e.user.is_admin?t("li",{staticClass:"nav-item"},[t("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),e._v(" "),t("a",{staticClass:"nav-link",attrs:{href:"/i/admin/dashboard"}},[e._m(1),e._v("\n\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.$t("navmenu.admin"))+"\n\t\t\t\t\t\t\t\t\t\t")])]):e._e(),e._v(" "),t("li",{staticClass:"nav-item"},[t("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),e._v(" "),t("a",{staticClass:"nav-link",attrs:{href:"/"}},[e._m(2),e._v("\n\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.$t("navmenu.backToPreviousDesign"))+"\n\t\t\t\t\t\t\t\t\t\t")])]),e._v(" "),t("li",{staticClass:"nav-item"},[t("hr",{staticClass:"mt-n1",staticStyle:{opacity:"0.4","margin-bottom":"0"}}),e._v(" "),t("a",{staticClass:"nav-link",attrs:{href:"/"},on:{click:function(t){return t.preventDefault(),e.logout()}}},[e._m(3),e._v("\n\t\t\t\t\t\t\t\t\t\t\t"+e._s(e.$t("navmenu.logout"))+"\n\t\t\t\t\t\t\t\t\t\t")])])])])])])])])]),e._v(" "),t("b-modal",{ref:"uis",attrs:{"hide-footer":"",centered:"","body-class":"p-0 ui-menu",title:"UI Settings"}},[t("div",{staticClass:"list-group list-group-flush"},[t("div",{staticClass:"list-group-item px-3"},[t("div",{staticClass:"d-flex justify-content-between align-items-center"},[t("div",[t("p",{staticClass:"font-weight-bold mb-1"},[e._v("Theme")]),e._v(" "),t("p",{staticClass:"small text-muted mb-0"})]),e._v(" "),t("div",{staticClass:"btn-group btn-group-sm"},[t("button",{staticClass:"btn",class:["system"==e.uiColorScheme?"btn-primary":"btn-outline-primary"],on:{click:function(t){return e.toggleUi("system")}}},[e._v("\n\t\t\t\t\t\t\tAuto\n\t\t\t\t\t\t")]),e._v(" "),t("button",{staticClass:"btn",class:["light"==e.uiColorScheme?"btn-primary":"btn-outline-primary"],on:{click:function(t){return e.toggleUi("light")}}},[e._v("\n\t\t\t\t\t\t\tLight mode\n\t\t\t\t\t\t")]),e._v(" "),t("button",{staticClass:"btn",class:["dark"==e.uiColorScheme?"btn-primary":"btn-outline-primary"],on:{click:function(t){return e.toggleUi("dark")}}},[e._v("\n\t\t\t\t\t\t\tDark mode\n\t\t\t\t\t\t")])])])]),e._v(" "),t("div",{staticClass:"list-group-item px-3"},[t("div",{staticClass:"d-flex justify-content-between align-items-center"},[t("div",[t("p",{staticClass:"font-weight-bold mb-1"},[e._v("Profile Layout")]),e._v(" "),t("p",{staticClass:"small text-muted mb-0"})]),e._v(" "),t("div",{staticClass:"btn-group btn-group-sm"},[t("button",{staticClass:"btn",class:["grid"==e.profileLayout?"btn-primary":"btn-outline-primary"],on:{click:function(t){return e.toggleProfileLayout("grid")}}},[e._v("\n\t\t\t\t\t\t\tGrid\n\t\t\t\t\t\t")]),e._v(" "),t("button",{staticClass:"btn",class:["masonry"==e.profileLayout?"btn-primary":"btn-outline-primary"],on:{click:function(t){return e.toggleProfileLayout("masonry")}}},[e._v("\n\t\t\t\t\t\t\tMasonry\n\t\t\t\t\t\t")]),e._v(" "),t("button",{staticClass:"btn",class:["feed"==e.profileLayout?"btn-primary":"btn-outline-primary"],on:{click:function(t){return e.toggleProfileLayout("feed")}}},[e._v("\n\t\t\t\t\t\t\tFeed\n\t\t\t\t\t\t")])])])]),e._v(" "),t("div",{staticClass:"list-group-item px-3"},[t("div",{staticClass:"d-flex justify-content-between align-items-center"},[t("div",[t("p",{staticClass:"font-weight-bold mb-0"},[e._v("Compact Media Previews")])]),e._v(" "),t("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:e.fixedHeight,callback:function(t){e.fixedHeight=t},expression:"fixedHeight"}})],1)]),e._v(" "),t("div",{staticClass:"list-group-item px-3"},[t("div",{staticClass:"d-flex justify-content-between align-items-center"},[t("div",[t("p",{staticClass:"font-weight-bold mb-0"},[e._v("Load Comments")])]),e._v(" "),t("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:e.autoloadComments,callback:function(t){e.autoloadComments=t},expression:"autoloadComments"}})],1)]),e._v(" "),t("div",{staticClass:"list-group-item px-3"},[t("div",{staticClass:"d-flex justify-content-between align-items-center"},[t("div",[t("p",{staticClass:"font-weight-bold mb-0"},[e._v("Hide Counts & Stats")])]),e._v(" "),t("b-form-checkbox",{attrs:{switch:"",size:"lg"},model:{value:e.hideCounts,callback:function(t){e.hideCounts=t},expression:"hideCounts"}})],1)])])])],1)},i=[function(){var e=this._self._c;return e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-brush"})])},function(){var e=this._self._c;return e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-tools"})])},function(){var e=this._self._c;return e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"fas fa-chevron-left"})])},function(){var e=this._self._c;return e("span",{staticClass:"icon text-lighter"},[e("i",{staticClass:"far fa-sign-out"})])}]},6426:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>i});var a=function(){var e=this,t=e._self._c;return t("div",[t("transition",{attrs:{name:"fade"}},[t("div",{staticClass:"card notification-card shadow-none border"},[e.loading?t("div",{staticClass:"card-body loader text-center",staticStyle:{height:"240px"}},[t("div",{staticClass:"spinner-border",attrs:{role:"status"}},[t("span",{staticClass:"sr-only"},[e._v("Loading...")])])]):e._e(),e._v(" "),!e.loading&&e.notifications.length>0?t("div",{staticClass:"card-body px-0 py-0 contents",staticStyle:{height:"240px","overflow-y":"scroll"}},[e.profile.locked?t("div",{staticClass:"media align-items-center mt-n2 px-3 py-2 border-bottom border-lighter bg-light cursor-pointer",on:{click:function(t){return e.redirect("/account/follow-requests")}}},[t("div",{staticClass:"media-body font-weight-light pt-2 small d-flex align-items-center justify-content-between"},[t("p",{staticClass:"mb-0 text-lighter"},[t("i",{staticClass:"fas fa-cog text-light"})]),e._v(" "),t("p",{staticClass:"text-center pt-1 mb-1 text-dark font-weight-bold"},[t("strong",[e._v(e._s(e.followRequests&&e.followRequests.hasOwnProperty("count")?e.followRequests.count:0))]),e._v(" Follow Requests")]),e._v(" "),t("p",{staticClass:"mb-0 text-lighter"},[t("i",{staticClass:"fas fa-chevron-right"})])])]):e._e(),e._v(" "),e._l(e.notifications,(function(o,a){return e.notifications.length>0?t("div",{staticClass:"media align-items-center px-3 py-2 border-bottom border-light"},[t("img",{staticClass:"mr-2 rounded-circle",staticStyle:{border:"1px solid #ccc"},attrs:{src:o.account.avatar,alt:"",width:"32px",height:"32px",onerror:"this.onerror=null;this.src='/storage/avatars/default.png';"}}),e._v(" "),t("div",{staticClass:"media-body font-weight-light small"},["favourite"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" liked your\n\t\t\t\t\t\t\t\t"),o.status&&o.status.hasOwnProperty("media_attachments")?t("span",[t("a",{staticClass:"font-weight-bold",attrs:{href:e.getPostUrl(o.status),id:"fvn-"+o.id}},[e._v("post")]),e._v(".\n\t\t\t\t\t\t\t\t\t"),t("b-popover",{attrs:{target:"fvn-"+o.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[t("img",{staticStyle:{"object-fit":"cover"},attrs:{src:e.notificationPreview(o),width:"100px",height:"100px"}})])],1):t("span",[t("a",{staticClass:"font-weight-bold",attrs:{href:e.getPostUrl(o.status)}},[e._v("post")]),e._v(".\n\t\t\t\t\t\t\t\t")])])]):"comment"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" commented on your\n\t\t\t\t\t\t\t\t"),o.status&&o.status.hasOwnProperty("media_attachments")?t("span",[t("a",{staticClass:"font-weight-bold",attrs:{href:e.getPostUrl(o.status),id:"fvn-"+o.id}},[e._v("post")]),e._v(".\n\t\t\t\t\t\t\t\t\t"),t("b-popover",{attrs:{target:"fvn-"+o.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[t("img",{staticStyle:{"object-fit":"cover"},attrs:{src:e.notificationPreview(o),width:"100px",height:"100px"}})])],1):t("span",[t("a",{staticClass:"font-weight-bold",attrs:{href:e.getPostUrl(o.status)}},[e._v("post")]),e._v(".\n\t\t\t\t\t\t\t\t")])])]):"group:comment"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" commented on your "),t("a",{staticClass:"font-weight-bold",attrs:{href:o.group_post_url}},[e._v("group post")]),e._v(".\n\t\t\t\t\t\t\t")])]):"story:react"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" reacted to your "),t("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+o.account.id}},[e._v("story")]),e._v(".\n\t\t\t\t\t\t\t")])]):"story:comment"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" commented on your "),t("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+o.account.id}},[e._v("story")]),e._v(".\n\t\t\t\t\t\t\t")])]):"mention"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" "),t("a",{staticClass:"font-weight-bold",attrs:{href:e.mentionUrl(o.status)}},[e._v("mentioned")]),e._v(" you.\n\t\t\t\t\t\t\t")])]):"follow"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" followed you.\n\t\t\t\t\t\t\t")])]):"share"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" shared your\n\t\t\t\t\t\t\t\t"),o.status&&o.status.hasOwnProperty("media_attachments")?t("span",[t("a",{staticClass:"font-weight-bold",attrs:{href:e.getPostUrl(o.status),id:"fvn-"+o.id}},[e._v("post")]),e._v(".\n\t\t\t\t\t\t\t\t\t"),t("b-popover",{attrs:{target:"fvn-"+o.id,title:"",triggers:"hover",placement:"top",boundary:"window"}},[t("img",{staticStyle:{"object-fit":"cover"},attrs:{src:e.notificationPreview(o),width:"100px",height:"100px"}})])],1):t("span",[t("a",{staticClass:"font-weight-bold",attrs:{href:e.getPostUrl(o.status)}},[e._v("post")]),e._v(".\n\t\t\t\t\t\t\t\t")])])]):"modlog"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(e.truncate(o.account.username)))]),e._v(" updated a "),t("a",{staticClass:"font-weight-bold",attrs:{href:o.modlog.url}},[e._v("modlog")]),e._v(".\n\t\t\t\t\t\t\t")])]):"tagged"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" tagged you in a "),t("a",{staticClass:"font-weight-bold",attrs:{href:o.tagged.post_url}},[e._v("post")]),e._v(".\n\t\t\t\t\t\t\t")])]):"direct"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" sent a "),t("a",{staticClass:"font-weight-bold",attrs:{href:"/account/direct/t/"+o.account.id}},[e._v("dm")]),e._v(".\n\t\t\t\t\t\t\t")])]):"group.join.approved"==o.type?t("div",[t("p",{staticClass:"my-0"},[e._v("\n\t\t\t\t\t\t\t\tYour application to join the "),t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:o.group.url,title:o.group.name}},[e._v(e._s(e.truncate(o.group.name)))]),e._v(" group was approved!\n\t\t\t\t\t\t\t")])]):"group.join.rejected"==o.type?t("div",[t("p",{staticClass:"my-0"},[e._v("\n\t\t\t\t\t\t\t\tYour application to join "),t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:o.group.url,title:o.group.name}},[e._v(e._s(e.truncate(o.group.name)))]),e._v(" was rejected.\n\t\t\t\t\t\t\t")])]):"group:invite"==o.type?t("div",[t("p",{staticClass:"my-0"},[t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:e.getProfileUrl(o.account),title:o.account.username}},[e._v(e._s(0==o.account.local?"@":"")+e._s(e.truncate(o.account.username)))]),e._v(" invited you to join "),t("a",{staticClass:"font-weight-bold text-dark word-break",attrs:{href:o.group.url+"/invite/claim",title:o.group.name}},[e._v(e._s(o.group.name))]),e._v(".\n\t\t\t\t\t\t\t")])]):t("div",[t("p",{staticClass:"my-0"},[e._v("\n\t\t\t\t\t\t\t\tWe cannot display this notification at this time.\n\t\t\t\t\t\t\t")])])]),e._v(" "),t("div",{staticClass:"small text-muted font-weight-bold",attrs:{title:o.created_at}},[e._v(e._s(e.timeAgo(o.created_at)))])]):e._e()})),e._v(" "),e.notifications.length?t("div",[t("infinite-loading",{on:{infinite:e.infiniteNotifications}},[t("div",{staticClass:"font-weight-bold",attrs:{slot:"no-results"},slot:"no-results"}),e._v(" "),t("div",{staticClass:"font-weight-bold",attrs:{slot:"no-more"},slot:"no-more"})])],1):e._e(),e._v(" "),0==e.notifications.length?t("div",{staticClass:"text-lighter text-center py-3"},[t("p",{staticClass:"mb-0"},[t("i",{staticClass:"fas fa-inbox fa-3x"})]),e._v(" "),t("p",{staticClass:"mb-0 small font-weight-bold"},[e._v("0 Notifications!")])]):e._e()],2):e._e(),e._v(" "),e.loading||e.notifications.length?e._e():t("div",{staticClass:"card-body px-0 py-0",staticStyle:{height:"240px"}},[t("div",{staticClass:"text-lighter text-center py-3"},[t("p",{staticClass:"mb-0"},[t("i",{staticClass:"fas fa-inbox fa-3x"})]),e._v(" "),t("p",{staticClass:"mb-0 small font-weight-bold"},[e._v("No notifications yet")]),e._v(" "),e.showRefresh&&!e.attemptedRefresh?t("p",{staticClass:"mt-2 small font-weight-bold text-primary cursor-pointer",on:{click:e.refreshNotifications}},[t("i",{staticClass:"fas fa-redo"}),e._v(" Refresh")]):e._e()])])])])],1)},i=[]},81739:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>i});var a=function(){var e=this,t=e._self._c;return t("div",["true"!=e.modal?t("div",{staticClass:"dropdown"},[t("button",{staticClass:"btn btn-link text-dark no-caret dropdown-toggle py-0",attrs:{type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false",title:"Post options"}},[t("span",{class:["lg"==e.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),e._v(" "),t("div",{staticClass:"dropdown-menu dropdown-menu-right"},[t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",attrs:{href:e.status.url}},[e._v("Go to post")]),e._v(" "),1==e.activeSession&&0==e.statusOwner(e.status)?t("span",[t("a",{staticClass:"dropdown-item font-weight-bold",attrs:{href:e.reportUrl(e.status)}},[e._v("Report")])]):e._e(),e._v(" "),1==e.activeSession&&1==e.statusOwner(e.status)?t("span",[t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(t){return t.preventDefault(),e.muteProfile(e.status)}}},[e._v("Mute Profile")]),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(t){return t.preventDefault(),e.blockProfile(e.status)}}},[e._v("Block Profile")])]):e._e(),e._v(" "),1==e.activeSession&&1==e.profile.is_admin?t("span",[t("div",{staticClass:"dropdown-divider"}),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold text-danger text-decoration-none",on:{click:function(t){return e.deletePost(e.status)}}},[e._v("Delete")]),e._v(" "),t("div",{staticClass:"dropdown-divider"}),e._v(" "),t("h6",{staticClass:"dropdown-header"},[e._v("Mod Tools")]),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(t){return e.moderatePost(e.status,"autocw")}}},[t("p",{staticClass:"mb-0"},[e._v("Enforce CW")]),e._v(" "),e._m(0)]),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(t){return e.moderatePost(e.status,"noautolink")}}},[t("p",{staticClass:"mb-0"},[e._v("No Autolinking")]),e._v(" "),e._m(1)]),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(t){return e.moderatePost(e.status,"unlisted")}}},[t("p",{staticClass:"mb-0"},[e._v("Unlisted Posts")]),e._v(" "),e._m(2)]),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(t){return e.moderatePost(e.status,"disable")}}},[t("p",{staticClass:"mb-0"},[e._v("Disable Account")]),e._v(" "),e._m(3)]),e._v(" "),t("a",{staticClass:"dropdown-item font-weight-bold text-decoration-none",on:{click:function(t){return e.moderatePost(e.status,"suspend")}}},[t("p",{staticClass:"mb-0"},[e._v("Suspend Account")]),e._v(" "),e._m(4)])]):e._e()])]):e._e(),e._v(" "),"true"==e.modal?t("div",[t("span",{attrs:{"data-toggle":"modal","data-target":"#mt_pid_"+e.status.id}},[t("span",{class:["lg"==e.size?"fas fa-ellipsis-v fa-lg text-muted":"fas fa-ellipsis-v fa-sm text-lighter"]})]),e._v(" "),t("div",{staticClass:"modal",attrs:{tabindex:"-1",role:"dialog",id:"mt_pid_"+e.status.id}},[t("div",{staticClass:"modal-dialog modal-sm modal-dialog-centered",attrs:{role:"document"}},[t("div",{staticClass:"modal-content"},[t("div",{staticClass:"modal-body text-center"},[t("div",{staticClass:"list-group"},[t("a",{staticClass:"list-group-item text-dark text-decoration-none",attrs:{href:e.statusUrl(e.status)}},[e._v("Go to post")]),e._v(" "),t("a",{staticClass:"list-group-item text-dark text-decoration-none",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.hidePost(e.status)}}},[e._v("Hide")]),e._v(" "),1!=e.activeSession||e.statusOwner(e.status)?e._e():t("a",{staticClass:"list-group-item text-danger font-weight-bold text-decoration-none",attrs:{href:e.reportUrl(e.status)}},[e._v("Report")]),e._v(" "),1==e.activeSession&&1==e.statusOwner(e.status)||1==e.profile.is_admin?t("div",{staticClass:"list-group-item text-danger font-weight-bold cursor-pointer",on:{click:function(t){return t.preventDefault(),e.deletePost.apply(null,arguments)}}},[e._v("Delete")]):e._e(),e._v(" "),t("a",{staticClass:"list-group-item text-lighter text-decoration-none",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.closeModal()}}},[e._v("Close")])])])])])])]):e._e()])},i=[function(){var e=this,t=e._self._c;return t("p",{staticClass:"mb-0 small text-muted"},[e._v("Adds a CW to every post "),t("br"),e._v(" made by this account.")])},function(){var e=this,t=e._self._c;return t("p",{staticClass:"mb-0 small text-muted"},[e._v("Do not transform mentions, "),t("br"),e._v(" hashtags or urls into HTML.")])},function(){var e=this,t=e._self._c;return t("p",{staticClass:"mb-0 small text-muted"},[e._v("Removes account from "),t("br"),e._v(" public/network timelines.")])},function(){var e=this,t=e._self._c;return t("p",{staticClass:"mb-0 small text-muted"},[e._v("Temporarily disable account "),t("br"),e._v(" until next time user log in.")])},function(){var e=this,t=e._self._c;return t("p",{staticClass:"mb-0 small text-muted"},[e._v("This prevents any new interactions, "),t("br"),e._v(" without deleting existing data.")])}]},25051:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>i});var a=function(){var e=this,t=e._self._c;return t("div",[e.show?t("div",{staticClass:"card card-body p-0 border mt-md-4 mb-md-3 shadow-none"},[e.loading?t("div",{staticClass:"w-100 h-100 d-flex align-items-center justify-content-center"},[e._m(0)]):t("div",{staticClass:"d-flex align-items-center justify-content-start scrolly"},e._l(e.stories,(function(o,a){return t("div",{staticClass:"px-3 pt-3 text-center cursor-pointer",class:{seen:o.seen},on:{click:function(t){return e.showStory(a)}}},[t("span",{staticClass:"mb-1 ring",class:[o.seen?"not-seen":"",o.local?"":"remote"]},[t("img",{staticClass:"rounded-circle border",attrs:{src:o.avatar,width:"60",height:"60",onerror:"this.onerror=null;this.src='/storage/avatars/default.png?v=2'"}})]),e._v(" "),t("p",{directives:[{name:"b-tooltip",rawName:"v-b-tooltip.hover",modifiers:{hover:!0}}],staticClass:"small font-weight-bold text-truncate",class:{"text-lighter":o.seen},staticStyle:{"max-width":"69px"},attrs:{placement:"bottom",title:o.username}},[e._v("\n\t\t\t\t\t"+e._s(o.username)+"\n\t\t\t\t")])])})),0)]):e._e()])},i=[function(){var e=this._self._c;return e("div",{staticClass:"spinner-border spinner-border-sm text-lighter",attrs:{role:"status"}},[e("span",{staticClass:"sr-only"},[this._v("Loading...")])])}]},77261:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>i});var a=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",[t("details",{staticClass:"details-animated"},[t("summary",[t("p",{staticClass:"mb-0 lead font-weight-bold"},[e._v(e._s(e.status.spoiler_text?e.status.spoiler_text:"CW / NSFW / Hidden Media"))]),e._v(" "),t("p",{staticClass:"font-weight-light"},[e._v("(click to show)")])]),e._v(" "),t("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:e.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},e._l(e.status.media_attachments,(function(o,a){return t("b-carousel-slide",{key:o.id+"-media"},["video"==o.type?t("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:o.description,width:"100%",height:"100%"},slot:"img"},[t("source",{attrs:{src:o.url,type:o.mime}})]):"image"==o.type?t("div",{attrs:{slot:"img",title:o.description},slot:"img"},[t("img",{class:o.filter_class+" d-block img-fluid w-100",attrs:{src:o.url,alt:o.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):t("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[e._v("Error: Problem rendering preview.")])])})),1)],1)]):t("div",{staticClass:"w-100 h-100 p-0"},[t("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb"}},e._l(e.status.media_attachments,(function(o,a){return t("slide",{key:"px-carousel-"+o.id+"-"+a,staticClass:"w-100 h-100 d-block mx-auto text-center",staticStyle:{background:"#000",display:"flex","align-items":"center"}},["video"==o.type?t("video",{staticClass:"embed-responsive-item",attrs:{preload:"none",controls:"",loop:"",title:o.description,width:"100%",height:"100%"}},[t("source",{attrs:{src:o.url,type:o.mime}})]):"image"==o.type?t("div",{attrs:{title:o.description}},[t("img",{class:o.filter_class+" img-fluid w-100",attrs:{src:o.url,alt:o.description,loading:"lazy",onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})]):t("p",{staticClass:"text-center p-0 font-weight-bold text-white"},[e._v("Error: Problem rendering preview.")])])})),1)],1)},i=[]},9129:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>i});var a=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",{staticClass:"content-label-wrapper"},[t("div",{staticClass:"text-light content-label"},[e._m(0),e._v(" "),t("p",{staticClass:"h4 font-weight-bold text-center"},[e._v("\n\t\t\tSensitive Content\n\t\t")]),e._v(" "),t("p",{staticClass:"text-center py-2 content-label-text"},[e._v("\n\t\t\t"+e._s(e.status.spoiler_text?e.status.spoiler_text:"This album may contain sensitive content.")+"\n\t\t")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(t){return e.toggleContentWarning()}}},[e._v("See Post")])])]),e._v(" "),t("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:e.status.media_attachments[0].blurhash,alt:e.altText(e.status)}})],1):t("div",{staticClass:"w-100 h-100 p-0 album-wrapper"},[t("carousel",{ref:"carousel",staticClass:"p-0 m-0",attrs:{centerMode:!0,loop:!1,"per-page":1,paginationPosition:"bottom-overlay",paginationActiveColor:"#3897f0",paginationColor:"#dbdbdb",id:"carousel-"+e.status.id}},e._l(e.status.media_attachments,(function(o,a){return t("slide",{key:"px-carousel-"+o.id+"-"+a,staticStyle:{background:"#000",display:"flex","align-items":"center"},attrs:{title:o.description}},[t("img",{staticClass:"img-fluid w-100 p-0",attrs:{src:o.url,alt:e.altText(o),loading:"lazy","data-bp":o.url,onerror:"this.onerror=null;this.src='/storage/no-preview.png'"}})])})),1),e._v(" "),t("div",{staticClass:"album-overlay"},[!e.status.sensitive&&e.sensitive?t("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(t){e.status.sensitive=!0}}},[t("i",{staticClass:"fas fa-eye-slash fa-lg"})]):e._e(),e._v(" "),t("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",left:"0",top:"0","border-bottom-right-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(t){return t.preventDefault(),e.toggleLightbox.apply(null,arguments)}}},[t("i",{staticClass:"fas fa-expand fa-lg"})]),e._v(" "),e.status.media_attachments[0].license?t("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.url}},[e._v("Photo")]),e._v(" by "),t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.account.url}},[e._v("@"+e._s(e.status.account.username))]),e._v(" licensed under "),t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.media_attachments[0].license.url}},[e._v(e._s(e.status.media_attachments[0].license.title))])]):e._e()])],1)},i=[function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},67619:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>i});var a=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",{staticClass:"content-label-wrapper"},[t("div",{staticClass:"text-light content-label"},[e._m(0),e._v(" "),t("p",{staticClass:"h4 font-weight-bold text-center"},[e._v("\n\t\t\tSensitive Content\n\t\t")]),e._v(" "),t("p",{staticClass:"text-center py-2 content-label-text"},[e._v("\n\t\t\t"+e._s(e.status.spoiler_text?e.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(t){return e.toggleContentWarning()}}},[e._v("See Post")])])]),e._v(" "),t("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:e.status.media_attachments[0].blurhash,alt:e.altText(e.status)}})],1):t("div",[t("div",{staticStyle:{position:"relative"},attrs:{title:e.status.media_attachments[0].description}},[t("img",{staticClass:"card-img-top",attrs:{src:e.status.media_attachments[0].url,loading:"lazy",alt:e.altText(e.status),width:e.width(),height:e.height(),onerror:"this.onerror=null;this.src='/storage/no-preview.png'"},on:{click:function(t){return t.preventDefault(),e.toggleLightbox.apply(null,arguments)}}}),e._v(" "),!e.status.sensitive&&e.sensitive?t("p",{staticStyle:{"margin-top":"0",padding:"10px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",top:"0",right:"0","border-top-left-radius":"5px",cursor:"pointer",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"},on:{click:function(t){e.status.sensitive=!0}}},[t("i",{staticClass:"fas fa-eye-slash fa-lg"})]):e._e(),e._v(" "),e.status.media_attachments[0].license?t("p",{staticStyle:{"margin-bottom":"0",padding:"0 5px",color:"#fff","font-size":"10px","text-align":"right",position:"absolute",bottom:"0",right:"0","border-top-left-radius":"5px",background:"linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5))"}},[t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.url}},[e._v("Photo")]),e._v(" by "),t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.account.url}},[e._v("@"+e._s(e.status.account.username))]),e._v(" licensed under "),t("a",{staticClass:"font-weight-bold text-light",attrs:{href:e.status.media_attachments[0].license.url}},[e._v(e._s(e.status.media_attachments[0].license.title))])]):e._e()])])},i=[function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},10304:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>i});var a=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",[t("details",{staticClass:"details-animated"},[t("summary",[t("p",{staticClass:"mb-0 lead font-weight-bold"},[e._v(e._s(e.status.spoiler_text?e.status.spoiler_text:"CW / NSFW / Hidden Media"))]),e._v(" "),t("p",{staticClass:"font-weight-light"},[e._v("(click to show)")])]),e._v(" "),t("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:e.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},e._l(e.status.media_attachments,(function(e,o){return t("b-carousel-slide",{key:e.id+"-media"},[t("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:e.description,width:"100%",height:"100%"},slot:"img"},[t("source",{attrs:{src:e.url,type:e.mime}})])])})),1)],1)]):t("div",[t("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attrs:{id:e.status.id+"-carousel",controls:"","img-blank":"",background:"#ffffff",interval:0}},e._l(e.status.media_attachments,(function(e,o){return t("b-carousel-slide",{key:e.id+"-media"},[t("video",{staticClass:"embed-responsive-item",attrs:{slot:"img",preload:"none",controls:"",playsinline:"",loop:"",alt:e.description,width:"100%",height:"100%"},slot:"img"},[t("source",{attrs:{src:e.url,type:e.mime}})])])})),1)],1)},i=[]},15996:(e,t,o)=>{"use strict";o.r(t),o.d(t,{render:()=>a,staticRenderFns:()=>i});var a=function(){var e=this,t=e._self._c;return 1==e.status.sensitive?t("div",{staticClass:"content-label-wrapper"},[t("div",{staticClass:"text-light content-label"},[e._m(0),e._v(" "),t("p",{staticClass:"h4 font-weight-bold text-center"},[e._v("\n\t\t\tSensitive Content\n\t\t")]),e._v(" "),t("p",{staticClass:"text-center py-2 content-label-text"},[e._v("\n\t\t\t"+e._s(e.status.spoiler_text?e.status.spoiler_text:"This post may contain sensitive content.")+"\n\t\t")]),e._v(" "),t("p",{staticClass:"mb-0"},[t("button",{staticClass:"btn btn-outline-light btn-block btn-sm font-weight-bold",on:{click:function(t){return e.toggleContentWarning()}}},[e._v("See Post")])])]),e._v(" "),t("blur-hash-image",{attrs:{width:"32",height:"32",punch:1,hash:e.status.media_attachments[0].blurhash,alt:e.altText(e.status)}})],1):t("div",{staticClass:"embed-responsive embed-responsive-16by9"},[t("video",{staticClass:"video",attrs:{controls:"",playsinline:"","webkit-playsinline":"",preload:"metadata",loop:"","data-id":e.status.id,poster:e.poster()}},[t("source",{attrs:{src:e.status.media_attachments[0].url,type:e.status.media_attachments[0].mime}})])])},i=[function(){var e=this._self._c;return e("p",{staticClass:"text-center"},[e("i",{staticClass:"far fa-eye-slash fa-2x"})])}]},9901:function(){function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}!function(){var t="object"===("undefined"==typeof window?"undefined":e(window))?window:"object"===("undefined"==typeof self?"undefined":e(self))?self:this,o=t.BlobBuilder||t.WebKitBlobBuilder||t.MSBlobBuilder||t.MozBlobBuilder;t.URL=t.URL||t.webkitURL||function(e,t){return(t=document.createElement("a")).href=e,t};var a=t.Blob,i=URL.createObjectURL,s=URL.revokeObjectURL,n=t.Symbol&&t.Symbol.toStringTag,r=!1,c=!1,d=!!t.ArrayBuffer,u=o&&o.prototype.append&&o.prototype.getBlob;try{r=2===new Blob(["ä"]).size,c=2===new Blob([new Uint8Array([1,2])]).size}catch(e){}function m(e){return e.map((function(e){if(e.buffer instanceof ArrayBuffer){var t=e.buffer;if(e.byteLength!==t.byteLength){var o=new Uint8Array(e.byteLength);o.set(new Uint8Array(t,e.byteOffset,e.byteLength)),t=o.buffer}return t}return e}))}function p(e,t){t=t||{};var a=new o;return m(e).forEach((function(e){a.append(e)})),t.type?a.getBlob(t.type):a.getBlob()}function f(e,t){return new a(m(e),t||{})}t.Blob&&(p.prototype=Blob.prototype,f.prototype=Blob.prototype);var h="function"==typeof TextEncoder?TextEncoder.prototype.encode.bind(new TextEncoder):function(e){for(var o=0,a=e.length,i=t.Uint8Array||Array,s=0,n=Math.max(32,a+(a>>1)+7),r=new i(n>>3<<3);o=55296&&l<=56319){if(o=55296&&l<=56319)continue}if(s+4>r.length){n+=8,n=(n*=1+o/e.length*2)>>3<<3;var d=new Uint8Array(n);d.set(r),r=d}if(4294967168&l){if(4294965248&l)if(4294901760&l){if(4292870144&l)continue;r[s++]=l>>18&7|240,r[s++]=l>>12&63|128,r[s++]=l>>6&63|128}else r[s++]=l>>12&15|224,r[s++]=l>>6&63|128;else r[s++]=l>>6&31|192;r[s++]=63&l|128}else r[s++]=l}return r.slice(0,s)},g="function"==typeof TextDecoder?TextDecoder.prototype.decode.bind(new TextDecoder):function(e){for(var t=e.length,o=[],a=0;a239?4:l>223?3:l>191?2:1;if(a+d<=t)switch(d){case 1:l<128&&(c=l);break;case 2:128==(192&(i=e[a+1]))&&(r=(31&l)<<6|63&i)>127&&(c=r);break;case 3:i=e[a+1],s=e[a+2],128==(192&i)&&128==(192&s)&&(r=(15&l)<<12|(63&i)<<6|63&s)>2047&&(r<55296||r>57343)&&(c=r);break;case 4:i=e[a+1],s=e[a+2],n=e[a+3],128==(192&i)&&128==(192&s)&&128==(192&n)&&(r=(15&l)<<18|(63&i)<<12|(63&s)<<6|63&n)>65535&&r<1114112&&(c=r)}null===c?(c=65533,d=1):c>65535&&(c-=65536,o.push(c>>>10&1023|55296),c=56320|1023&c),o.push(c),a+=d}var u=o.length,m="";for(a=0;a>2,d=(3&i)<<4|n>>4,u=(15&n)<<2|l>>6,m=63&l;r||(m=64,s||(u=64)),o.push(t[c],t[d],t[u],t[m])}return o.join("")}var a=Object.create||function(e){function t(){}return t.prototype=e,new t};if(d)var n=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(e){return e&&n.indexOf(Object.prototype.toString.call(e))>-1};function c(o,a){a=null==a?{}:a;for(var i=0,s=(o=o||[]).length;i=t.size&&o.close()}))}})}}catch(e){try{new ReadableStream({}),b=function(e){var t=0;e=this;return new ReadableStream({pull:function(o){return e.slice(t,t+524288).arrayBuffer().then((function(a){t+=a.byteLength;var i=new Uint8Array(a);o.enqueue(i),t==e.size&&o.close()}))}})}}catch(e){try{new Response("").body.getReader().read(),b=function(){return new Response(this).body}}catch(e){b=function(){throw new Error("Include https://github.com/MattiasBuelens/web-streams-polyfill")}}}}w.arrayBuffer||(w.arrayBuffer=function(){var e=new FileReader;return e.readAsArrayBuffer(this),y(e)}),w.text||(w.text=function(){var e=new FileReader;return e.readAsText(this),y(e)}),w.stream||(w.stream=b)}(),function(e){"use strict";var t,o=e.Uint8Array,a=e.HTMLCanvasElement,i=a&&a.prototype,s=/\s*;\s*base64\s*(?:;|$)/i,n="toDataURL",r=function(e){for(var a,i,s=e.length,n=new o(s/4*3|0),r=0,l=0,c=[0,0],d=0,u=0;s--;)i=e.charCodeAt(r++),255!==(a=t[i-43])&&undefined!==a&&(c[1]=c[0],c[0]=i,u=u<<6|a,4===++d&&(n[l++]=u>>>16,61!==c[1]&&(n[l++]=u>>>8),61!==c[0]&&(n[l++]=u),d=0));return n};o&&(t=new o([62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51])),!a||i.toBlob&&i.toBlobHD||(i.toBlob||(i.toBlob=function(e,t){if(t||(t="image/png"),this.mozGetAsFile)e(this.mozGetAsFile("canvas",t));else if(this.msToBlob&&/^\s*image\/png\s*(?:$|;)/i.test(t))e(this.msToBlob());else{var a,i=Array.prototype.slice.call(arguments,1),l=this[n].apply(this,i),c=l.indexOf(","),d=l.substring(c+1),u=s.test(l.substring(0,c));Blob.fake?((a=new Blob).encoding=u?"base64":"URI",a.data=d,a.size=d.length):o&&(a=u?new Blob([r(d)],{type:t}):new Blob([decodeURIComponent(d)],{type:t})),e(a)}}),!i.toBlobHD&&i.toDataURLHD?i.toBlobHD=function(){n="toDataURLHD";var e=this.toBlob();return n="toDataURL",e}:i.toBlobHD=i.toBlob)}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content||this)},33258:(e,t,o)=>{"use strict";o.r(t);var a=o(62893),i=o(40173),s=o(95353),n=o(58723),r=o(63288),l=o(32252),c=o.n(l),d=o(65201),u=o.n(d),m=o(24786),p=o(57742),f=o.n(p),h=o(89829),g=o.n(h),v=o(58942),b=o(64765),w=(o(34352),o(80158),o(74692),o(74692));function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}o(9901),window.Vue=a.default,window.pftxt=o(93934),window.filesize=o(91139),window._=o(2543),window.Popper=o(48851).default,window.pixelfed=window.pixelfed||{},window.$=o(74692),o(52754),window.axios=o(86425),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",o(63899),window.blurhash=o(95341),w('[data-toggle="tooltip"]').tooltip();var C=document.head.querySelector('meta[name="csrf-token"]');C?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=C.content:console.error("CSRF token not found."),a.default.use(i.default),a.default.use(s.default),a.default.use(g()),a.default.use(f()),a.default.use(r.default),a.default.use(c()),a.default.use(u()),a.default.use(v.default),a.default.use(b.default),a.default.use(m.default,{name:"Timeago",locale:"en"}),a.default.component("navbar",o(11838).default),a.default.component("notification-card",o(50592).default),a.default.component("photo-presenter",o(20384).default),a.default.component("video-presenter",o(74027).default),a.default.component("photo-album-presenter",o(53099).default),a.default.component("video-album-presenter",o(62630).default),a.default.component("mixed-album-presenter",o(41378).default),a.default.component("post-menu",o(60072).default),a.default.component("story-component",o(98916).default);var k=function(){return Promise.all([o.e(3660),o.e(4951)]).then(o.bind(o,75050))},x=new i.default({mode:"history",linkActiveClass:"active",routes:[{path:"/i/web/timeline/:scope",name:"timeline",component:k,props:!0},{path:"/i/web/post/:id",name:"post",component:function(){return Promise.all([o.e(3660),o.e(8408)]).then(o.bind(o,19833))},props:!0},{path:"/i/web/profile/:id/followers",name:"profile-followers",component:function(){return Promise.all([o.e(3660),o.e(8977)]).then(o.bind(o,8755))},props:!0},{path:"/i/web/profile/:id/following",name:"profile-following",component:function(){return Promise.all([o.e(3660),o.e(1645)]).then(o.bind(o,10935))},props:!0},{path:"/i/web/profile/:id",name:"profile",component:function(){return Promise.all([o.e(3660),o.e(8087)]).then(o.bind(o,85566))},props:!0},{path:"/i/web/discover",component:function(){return Promise.all([o.e(3660),o.e(6535)]).then(o.bind(o,57330))}},{path:"/i/web/compose",component:function(){return Promise.all([o.e(3660),o.e(9124)]).then(o.bind(o,46537))}},{path:"/i/web/notifications",component:function(){return Promise.all([o.e(3660),o.e(7744)]).then(o.bind(o,55297))}},{path:"/i/web/direct/thread/:accountId",component:function(){return Promise.all([o.e(3660),o.e(7399)]).then(o.bind(o,95301))},props:!0},{path:"/i/web/direct",component:function(){return Promise.all([o.e(3660),o.e(2156)]).then(o.bind(o,61040))}},{path:"/i/web/hashtag/:id",name:"hashtag",component:function(){return Promise.all([o.e(3660),o.e(2966)]).then(o.bind(o,917))},props:!0},{path:"/i/web/language",component:function(){return o.e(8119).then(o.bind(o,55545))}},{path:"/i/web/whats-new",component:function(){return o.e(9919).then(o.bind(o,97775))}},{path:"/i/web/discover/my-memories",component:function(){return Promise.all([o.e(3660),o.e(6740)]).then(o.bind(o,82212))}},{path:"/i/web/discover/my-hashtags",component:function(){return Promise.all([o.e(3660),o.e(1240)]).then(o.bind(o,57326))}},{path:"/i/web/discover/account-insights",component:function(){return Promise.all([o.e(3660),o.e(1179)]).then(o.bind(o,71610))}},{path:"/i/web/discover/find-friends",component:function(){return Promise.all([o.e(3660),o.e(7521)]).then(o.bind(o,96663))}},{path:"/i/web/discover/server-timelines",component:function(){return Promise.all([o.e(3660),o.e(3688)]).then(o.bind(o,55232))}},{path:"/i/web/discover/settings",component:function(){return Promise.all([o.e(3660),o.e(6250)]).then(o.bind(o,75658))}},{path:"/i/web",component:k,props:!0},{path:"/i/web/*",component:function(){return o.e(7413).then(o.bind(o,13978))},props:!0}],scrollBehavior:function(e,t,o){return e.hash?{selector:"[id='".concat(e.hash.slice(1),"']")}:{x:0,y:0}}});function S(e,t){var o="pf_m2s."+e,a=window.localStorage;if(a.getItem(o)){var i=a.getItem(o);return["pl","color-scheme"].includes(e)?i:["true",!0].includes(i)}return t}var _=new s.default.Store({state:{version:1,hideCounts:S("hc",!1),autoloadComments:S("ac",!0),newReactions:S("nr",!0),fixedHeight:S("fh",!1),profileLayout:S("pl","grid"),showDMPrivacyWarning:S("dmpwarn",!0),relationships:{},emoji:[],colorScheme:S("color-scheme","system")},getters:{getVersion:function(e){return e.version},getHideCounts:function(e){return e.hideCounts},getAutoloadComments:function(e){return e.autoloadComments},getNewReactions:function(e){return e.newReactions},getFixedHeight:function(e){return e.fixedHeight},getProfileLayout:function(e){return e.profileLayout},getRelationship:function(e){return function(t){return e.relationships[t]}},getCustomEmoji:function(e){return e.emoji},getColorScheme:function(e){return e.colorScheme},getShowDMPrivacyWarning:function(e){return e.showDMPrivacyWarning}},mutations:{setVersion:function(e,t){e.version=t},setHideCounts:function(e,t){localStorage.setItem("pf_m2s.hc",t),e.hideCounts=t},setAutoloadComments:function(e,t){localStorage.setItem("pf_m2s.ac",t),e.autoloadComments=t},setNewReactions:function(e,t){localStorage.setItem("pf_m2s.nr",t),e.newReactions=t},setFixedHeight:function(e,t){localStorage.setItem("pf_m2s.fh",t),e.fixedHeight=t},setProfileLayout:function(e,t){localStorage.setItem("pf_m2s.pl",t),e.profileLayout=t},updateRelationship:function(e,t){t.forEach((function(t){a.default.set(e.relationships,t.id,t)}))},updateCustomEmoji:function(e,t){e.emoji=t},setColorScheme:function(e,t){if(e.colorScheme!=t){localStorage.setItem("pf_m2s.color-scheme",t),e.colorScheme=t;var o="system"==t?"":"light"==t?"force-light-mode":"force-dark-mode";if(document.querySelector("body").className=o,"system"!=o){var a="force-dark-mode"==o?{dark_mode:"on"}:{};axios.post("/settings/labs",a)}}},setShowDMPrivacyWarning:function(e,t){localStorage.setItem("pf_m2s.dmpwarn",t),e.showDMPrivacyWarning=t}}}),A={en:o(57048),ar:o(60224),ca:o(89023),de:o(89996),el:o(25098),es:o(31583),eu:o(48973),fr:o(15883),he:o(61344),gd:o(12900),gl:o(34860),id:o(91302),it:o(52950),ja:o(87286),nl:o(66849),pl:o(70707),pt:o(85147),ru:o(20466),uk:o(44215),vi:o(97346)},P=document.querySelector("html").getAttribute("lang"),z=new b.default({locale:P,fallbackLocale:"en",messages:A});(0,n.sync)(_,x);new a.default({el:"#content",i18n:z,router:x,store:_});if(axios.get("/api/v1/custom_emojis").then((function(e){e&&e.data&&e.data.length&&_.commit("updateCustomEmoji",e.data)})),_.state.colorScheme){var M="system"==_.state.colorScheme?"":"light"==_.state.colorScheme?"force-light-mode":"force-dark-mode";"system"!=M&&(document.querySelector("body").className=M)}pixelfed.readmore=function(){w(".read-more").each((function(e,t){var o=w(this),a=o.attr("data-readmore");"undefined"!==y(a)&&!1!==a||o.readmore({collapsedHeight:45,heightMargin:48,moreLink:'Show more',lessLink:'Show less'})}))};try{document.createEvent("TouchEvent"),w("body").addClass("touch")}catch(e){}window.App=window.App||{},window.App.util={compose:{post:function(){var e=window.location.pathname;["/","/timeline/public"].includes(e)?w("#composeModal").modal("show"):window.location.href="/?a=co"},circle:function(){console.log("Unsupported method.")},collection:function(){console.log("Unsupported method.")},loop:function(){console.log("Unsupported method.")},story:function(){console.log("Unsupported method.")}},time:function(){return new Date},version:1,format:{count:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-GB",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"compact";return e<1?0:new Intl.NumberFormat(t,{notation:o,compactDisplay:"short"}).format(e)},timeAgo:function(e){var t=Date.parse(e),o=Math.floor((new Date-t)/1e3),a=Math.floor(o/63072e3);return a<0?"0s":a>=1?a+"y":(a=Math.floor(o/604800))>=1?a+"w":(a=Math.floor(o/86400))>=1?a+"d":(a=Math.floor(o/3600))>=1?a+"h":(a=Math.floor(o/60))>=1?a+"m":Math.floor(o)+"s"},timeAhead:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=Date.parse(e)-Date.parse(new Date),a=Math.floor(o/1e3),i=Math.floor(a/63072e3);return i>=1?i+(t?"y":" years"):(i=Math.floor(a/604800))>=1?i+(t?"w":" weeks"):(i=Math.floor(a/86400))>=1?i+(t?"d":" days"):(i=Math.floor(a/3600))>=1?i+(t?"h":" hours"):(i=Math.floor(a/60))>=1?i+(t?"m":" minutes"):Math.floor(a)+(t?"s":" seconds")},rewriteLinks:function(e){var t=e.innerText;return e.href.startsWith(window.location.origin)?e.href:t=1==t.startsWith("#")?"/discover/tags/"+t.substr(1)+"?src=rph":1==t.startsWith("@")?"/"+e.innerText+"?src=rpp":"/i/redirect?url="+encodeURIComponent(t)}},filters:[["1984","filter-1977"],["Azen","filter-aden"],["Astairo","filter-amaro"],["Grassbee","filter-ashby"],["Bookrun","filter-brannan"],["Borough","filter-brooklyn"],["Farms","filter-charmes"],["Hairsadone","filter-clarendon"],["Cleana ","filter-crema"],["Catpatch","filter-dogpatch"],["Earlyworm","filter-earlybird"],["Plaid","filter-gingham"],["Kyo","filter-ginza"],["Yefe","filter-hefe"],["Goddess","filter-helena"],["Yards","filter-hudson"],["Quill","filter-inkwell"],["Rankine","filter-kelvin"],["Juno","filter-juno"],["Mark","filter-lark"],["Chill","filter-lofi"],["Van","filter-ludwig"],["Apache","filter-maven"],["May","filter-mayfair"],["Ceres","filter-moon"],["Knoxville","filter-nashville"],["Felicity","filter-perpetua"],["Sandblast","filter-poprocket"],["Daisy","filter-reyes"],["Elevate","filter-rise"],["Nevada","filter-sierra"],["Futura","filter-skyline"],["Sleepy","filter-slumber"],["Steward","filter-stinson"],["Savoy","filter-sutro"],["Blaze","filter-toaster"],["Apricot","filter-valencia"],["Gloming","filter-vesper"],["Walter","filter-walden"],["Poplar","filter-willow"],["Xenon","filter-xpro-ii"]],filterCss:{"filter-1977":"sepia(.5) hue-rotate(-30deg) saturate(1.4)","filter-aden":"sepia(.2) brightness(1.15) saturate(1.4)","filter-amaro":"sepia(.35) contrast(1.1) brightness(1.2) saturate(1.3)","filter-ashby":"sepia(.5) contrast(1.2) saturate(1.8)","filter-brannan":"sepia(.4) contrast(1.25) brightness(1.1) saturate(.9) hue-rotate(-2deg)","filter-brooklyn":"sepia(.25) contrast(1.25) brightness(1.25) hue-rotate(5deg)","filter-charmes":"sepia(.25) contrast(1.25) brightness(1.25) saturate(1.35) hue-rotate(-5deg)","filter-clarendon":"sepia(.15) contrast(1.25) brightness(1.25) hue-rotate(5deg)","filter-crema":"sepia(.5) contrast(1.25) brightness(1.15) saturate(.9) hue-rotate(-2deg)","filter-dogpatch":"sepia(.35) saturate(1.1) contrast(1.5)","filter-earlybird":"sepia(.25) contrast(1.25) brightness(1.15) saturate(.9) hue-rotate(-5deg)","filter-gingham":"contrast(1.1) brightness(1.1)","filter-ginza":"sepia(.25) contrast(1.15) brightness(1.2) saturate(1.35) hue-rotate(-5deg)","filter-hefe":"sepia(.4) contrast(1.5) brightness(1.2) saturate(1.4) hue-rotate(-10deg)","filter-helena":"sepia(.5) contrast(1.05) brightness(1.05) saturate(1.35)","filter-hudson":"sepia(.25) contrast(1.2) brightness(1.2) saturate(1.05) hue-rotate(-15deg)","filter-inkwell":"brightness(1.25) contrast(.85) grayscale(1)","filter-kelvin":"sepia(.15) contrast(1.5) brightness(1.1) hue-rotate(-10deg)","filter-juno":"sepia(.35) contrast(1.15) brightness(1.15) saturate(1.8)","filter-lark":"sepia(.25) contrast(1.2) brightness(1.3) saturate(1.25)","filter-lofi":"saturate(1.1) contrast(1.5)","filter-ludwig":"sepia(.25) contrast(1.05) brightness(1.05) saturate(2)","filter-maven":"sepia(.35) contrast(1.05) brightness(1.05) saturate(1.75)","filter-mayfair":"contrast(1.1) brightness(1.15) saturate(1.1)","filter-moon":"brightness(1.4) contrast(.95) saturate(0) sepia(.35)","filter-nashville":"sepia(.25) contrast(1.5) brightness(.9) hue-rotate(-15deg)","filter-perpetua":"contrast(1.1) brightness(1.25) saturate(1.1)","filter-poprocket":"sepia(.15) brightness(1.2)","filter-reyes":"sepia(.75) contrast(.75) brightness(1.25) saturate(1.4)","filter-rise":"sepia(.25) contrast(1.25) brightness(1.2) saturate(.9)","filter-sierra":"sepia(.25) contrast(1.5) brightness(.9) hue-rotate(-15deg)","filter-skyline":"sepia(.15) contrast(1.25) brightness(1.25) saturate(1.2)","filter-slumber":"sepia(.35) contrast(1.25) saturate(1.25)","filter-stinson":"sepia(.35) contrast(1.25) brightness(1.1) saturate(1.25)","filter-sutro":"sepia(.4) contrast(1.2) brightness(.9) saturate(1.4) hue-rotate(-10deg)","filter-toaster":"sepia(.25) contrast(1.5) brightness(.95) hue-rotate(-15deg)","filter-valencia":"sepia(.25) contrast(1.1) brightness(1.1)","filter-vesper":"sepia(.35) contrast(1.15) brightness(1.2) saturate(1.3)","filter-walden":"sepia(.35) contrast(.8) brightness(1.25) saturate(1.4)","filter-willow":"brightness(1.2) contrast(.85) saturate(.05) sepia(.2)","filter-xpro-ii":"sepia(.45) contrast(1.25) brightness(1.75) saturate(1.3) hue-rotate(-5deg)"},emoji:["😂","💯","❤️","🙌","👏","👌","😍","😯","😢","😅","😁","🙂","😎","😀","🤣","😃","😄","😆","😉","😊","😋","😘","😗","😙","😚","🤗","🤩","🤔","🤨","😐","😑","😶","🙄","😏","😣","😥","😮","🤐","😪","😫","😴","😌","😛","😜","😝","🤤","😒","😓","😔","😕","🙃","🤑","😲","🙁","😖","😞","😟","😤","😭","😦","😧","😨","😩","🤯","😬","😰","😱","😳","🤪","😵","😡","😠","🤬","😷","🤒","🤕","🤢","🤮","🤧","😇","🤠","🤡","🤥","🤫","🤭","🧐","🤓","😈","👿","👹","👺","💀","👻","👽","🤖","💩","😺","😸","😹","😻","😼","😽","🙀","😿","😾","🤲","👐","🤝","👍","👎","👊","✊","🤛","🤜","🤞","✌️","🤟","🤘","👈","👉","👆","👇","☝️","✋","🤚","🖐","🖖","👋","🤙","💪","🖕","✍️","🙏","💍","💄","💋","👄","👅","👂","👃","👣","👁","👀","🧠","🗣","👤","👥"],embed:{post:function(e){var t=e+"/embed?";return t+=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?"caption=true&":"caption=false&",t+=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"likes=true&":"likes=false&",' + + diff --git a/resources/assets/components/GroupDiscover.vue b/resources/assets/components/GroupDiscover.vue new file mode 100644 index 000000000..bfdc537d3 --- /dev/null +++ b/resources/assets/components/GroupDiscover.vue @@ -0,0 +1,83 @@ + + + + + diff --git a/resources/assets/components/GroupFeed.vue b/resources/assets/components/GroupFeed.vue new file mode 100644 index 000000000..8d752f271 --- /dev/null +++ b/resources/assets/components/GroupFeed.vue @@ -0,0 +1,315 @@ + + + + + diff --git a/resources/assets/components/GroupJoins.vue b/resources/assets/components/GroupJoins.vue new file mode 100644 index 000000000..81295f56d --- /dev/null +++ b/resources/assets/components/GroupJoins.vue @@ -0,0 +1,79 @@ + + + + + diff --git a/resources/assets/components/GroupNotifications.vue b/resources/assets/components/GroupNotifications.vue new file mode 100644 index 000000000..69b33f355 --- /dev/null +++ b/resources/assets/components/GroupNotifications.vue @@ -0,0 +1,57 @@ + + + + + diff --git a/resources/assets/components/GroupPage.vue b/resources/assets/components/GroupPage.vue new file mode 100644 index 000000000..ea9edfdc8 --- /dev/null +++ b/resources/assets/components/GroupPage.vue @@ -0,0 +1,1190 @@ + + + + + diff --git a/resources/assets/components/GroupPost.vue b/resources/assets/components/GroupPost.vue new file mode 100644 index 000000000..8eb5dc9d4 --- /dev/null +++ b/resources/assets/components/GroupPost.vue @@ -0,0 +1,33 @@ + + + diff --git a/resources/assets/components/GroupProfile.vue b/resources/assets/components/GroupProfile.vue new file mode 100644 index 000000000..8affdee26 --- /dev/null +++ b/resources/assets/components/GroupProfile.vue @@ -0,0 +1,443 @@ + + + + + diff --git a/resources/assets/components/GroupSearch.vue b/resources/assets/components/GroupSearch.vue new file mode 100644 index 000000000..e23a75112 --- /dev/null +++ b/resources/assets/components/GroupSearch.vue @@ -0,0 +1,91 @@ + + + + + diff --git a/resources/assets/components/Groups.vue b/resources/assets/components/Groups.vue new file mode 100644 index 000000000..af0dc2e61 --- /dev/null +++ b/resources/assets/components/Groups.vue @@ -0,0 +1,80 @@ + + + + + diff --git a/resources/assets/components/groups/CreateGroup.vue b/resources/assets/components/groups/CreateGroup.vue new file mode 100644 index 000000000..7459275f4 --- /dev/null +++ b/resources/assets/components/groups/CreateGroup.vue @@ -0,0 +1,359 @@ + + + + + diff --git a/resources/assets/components/groups/GroupFeed.vue b/resources/assets/components/groups/GroupFeed.vue new file mode 100644 index 000000000..9a357d4ee --- /dev/null +++ b/resources/assets/components/groups/GroupFeed.vue @@ -0,0 +1,989 @@ + + + + + diff --git a/resources/assets/components/groups/GroupInvite.vue b/resources/assets/components/groups/GroupInvite.vue new file mode 100644 index 000000000..ec11185a5 --- /dev/null +++ b/resources/assets/components/groups/GroupInvite.vue @@ -0,0 +1,217 @@ + + + + + diff --git a/resources/assets/components/groups/GroupProfile.vue b/resources/assets/components/groups/GroupProfile.vue new file mode 100644 index 000000000..67077b84e --- /dev/null +++ b/resources/assets/components/groups/GroupProfile.vue @@ -0,0 +1,379 @@ + + + + + diff --git a/resources/assets/components/groups/GroupSettings.vue b/resources/assets/components/groups/GroupSettings.vue new file mode 100644 index 000000000..099d598f2 --- /dev/null +++ b/resources/assets/components/groups/GroupSettings.vue @@ -0,0 +1,1079 @@ + + + + + diff --git a/resources/assets/components/groups/GroupTopicFeed.vue b/resources/assets/components/groups/GroupTopicFeed.vue new file mode 100644 index 000000000..ee7f57433 --- /dev/null +++ b/resources/assets/components/groups/GroupTopicFeed.vue @@ -0,0 +1,170 @@ + + + diff --git a/resources/assets/components/groups/GroupsHome.vue b/resources/assets/components/groups/GroupsHome.vue new file mode 100644 index 000000000..3a3d6dde8 --- /dev/null +++ b/resources/assets/components/groups/GroupsHome.vue @@ -0,0 +1,473 @@ + + + + + diff --git a/resources/assets/components/groups/Page/GroupAbout.vue b/resources/assets/components/groups/Page/GroupAbout.vue new file mode 100644 index 000000000..8285a3db2 --- /dev/null +++ b/resources/assets/components/groups/Page/GroupAbout.vue @@ -0,0 +1,168 @@ + + + + + diff --git a/resources/assets/components/groups/Page/GroupMedia.vue b/resources/assets/components/groups/Page/GroupMedia.vue new file mode 100644 index 000000000..b2d098ac8 --- /dev/null +++ b/resources/assets/components/groups/Page/GroupMedia.vue @@ -0,0 +1,168 @@ + + + + + diff --git a/resources/assets/components/groups/Page/GroupMembers.vue b/resources/assets/components/groups/Page/GroupMembers.vue new file mode 100644 index 000000000..5b866fc17 --- /dev/null +++ b/resources/assets/components/groups/Page/GroupMembers.vue @@ -0,0 +1,168 @@ + + + + + diff --git a/resources/assets/components/groups/Page/GroupTopics.vue b/resources/assets/components/groups/Page/GroupTopics.vue new file mode 100644 index 000000000..60f0fa496 --- /dev/null +++ b/resources/assets/components/groups/Page/GroupTopics.vue @@ -0,0 +1,168 @@ + + + + + diff --git a/resources/assets/components/groups/partials/CommentDrawer.vue b/resources/assets/components/groups/partials/CommentDrawer.vue new file mode 100644 index 000000000..cd6631df3 --- /dev/null +++ b/resources/assets/components/groups/partials/CommentDrawer.vue @@ -0,0 +1,841 @@ + + + + + diff --git a/resources/assets/components/groups/partials/CommentPost.vue b/resources/assets/components/groups/partials/CommentPost.vue new file mode 100644 index 000000000..4b448f913 --- /dev/null +++ b/resources/assets/components/groups/partials/CommentPost.vue @@ -0,0 +1,405 @@ + + + + + diff --git a/resources/assets/components/groups/partials/ContextMenu.vue b/resources/assets/components/groups/partials/ContextMenu.vue new file mode 100644 index 000000000..52fad0e74 --- /dev/null +++ b/resources/assets/components/groups/partials/ContextMenu.vue @@ -0,0 +1,692 @@ + + + diff --git a/resources/assets/components/groups/partials/CreateForm/CheckboxInput.vue b/resources/assets/components/groups/partials/CreateForm/CheckboxInput.vue new file mode 100644 index 000000000..03fa8727a --- /dev/null +++ b/resources/assets/components/groups/partials/CreateForm/CheckboxInput.vue @@ -0,0 +1,59 @@ + + + diff --git a/resources/assets/components/groups/partials/CreateForm/SelectInput.vue b/resources/assets/components/groups/partials/CreateForm/SelectInput.vue new file mode 100644 index 000000000..304ce0c7d --- /dev/null +++ b/resources/assets/components/groups/partials/CreateForm/SelectInput.vue @@ -0,0 +1,70 @@ + + + diff --git a/resources/assets/components/groups/partials/CreateForm/TextAreaInput.vue b/resources/assets/components/groups/partials/CreateForm/TextAreaInput.vue new file mode 100644 index 000000000..e8977db3f --- /dev/null +++ b/resources/assets/components/groups/partials/CreateForm/TextAreaInput.vue @@ -0,0 +1,86 @@ + + + + + diff --git a/resources/assets/components/groups/partials/GroupEvents.vue b/resources/assets/components/groups/partials/GroupEvents.vue new file mode 100644 index 000000000..e69de29bb diff --git a/resources/assets/components/groups/partials/GroupInfoCard.vue b/resources/assets/components/groups/partials/GroupInfoCard.vue new file mode 100644 index 000000000..455954b8f --- /dev/null +++ b/resources/assets/components/groups/partials/GroupInfoCard.vue @@ -0,0 +1,135 @@ + + + + + diff --git a/resources/assets/components/groups/partials/GroupInsights.vue b/resources/assets/components/groups/partials/GroupInsights.vue new file mode 100644 index 000000000..9909508cb --- /dev/null +++ b/resources/assets/components/groups/partials/GroupInsights.vue @@ -0,0 +1,60 @@ + + + + + diff --git a/resources/assets/components/groups/partials/GroupInviteModal.vue b/resources/assets/components/groups/partials/GroupInviteModal.vue new file mode 100644 index 000000000..75e5f9f68 --- /dev/null +++ b/resources/assets/components/groups/partials/GroupInviteModal.vue @@ -0,0 +1,190 @@ + + + + + diff --git a/resources/assets/components/groups/partials/GroupListCard.vue b/resources/assets/components/groups/partials/GroupListCard.vue new file mode 100644 index 000000000..64300160e --- /dev/null +++ b/resources/assets/components/groups/partials/GroupListCard.vue @@ -0,0 +1,156 @@ + + + + + diff --git a/resources/assets/components/groups/partials/GroupMedia.vue b/resources/assets/components/groups/partials/GroupMedia.vue new file mode 100644 index 000000000..65a96001d --- /dev/null +++ b/resources/assets/components/groups/partials/GroupMedia.vue @@ -0,0 +1,262 @@ + + + + + diff --git a/resources/assets/components/groups/partials/GroupMembers.vue b/resources/assets/components/groups/partials/GroupMembers.vue new file mode 100644 index 000000000..3913aa93d --- /dev/null +++ b/resources/assets/components/groups/partials/GroupMembers.vue @@ -0,0 +1,684 @@ + + + + + diff --git a/resources/assets/components/groups/partials/GroupModeration.vue b/resources/assets/components/groups/partials/GroupModeration.vue new file mode 100644 index 000000000..54d114391 --- /dev/null +++ b/resources/assets/components/groups/partials/GroupModeration.vue @@ -0,0 +1,231 @@ + + + + + diff --git a/resources/assets/components/groups/partials/GroupPolls.vue b/resources/assets/components/groups/partials/GroupPolls.vue new file mode 100644 index 000000000..e69de29bb diff --git a/resources/assets/components/groups/partials/GroupPostModal.vue b/resources/assets/components/groups/partials/GroupPostModal.vue new file mode 100644 index 000000000..094d98a26 --- /dev/null +++ b/resources/assets/components/groups/partials/GroupPostModal.vue @@ -0,0 +1,152 @@ + + + + + diff --git a/resources/assets/components/groups/partials/GroupSearchModal.vue b/resources/assets/components/groups/partials/GroupSearchModal.vue new file mode 100644 index 000000000..8cc70039d --- /dev/null +++ b/resources/assets/components/groups/partials/GroupSearchModal.vue @@ -0,0 +1,199 @@ + + + + + diff --git a/resources/assets/components/groups/partials/GroupStatus.vue b/resources/assets/components/groups/partials/GroupStatus.vue new file mode 100644 index 000000000..439fd03b4 --- /dev/null +++ b/resources/assets/components/groups/partials/GroupStatus.vue @@ -0,0 +1,873 @@ + + + + + diff --git a/resources/assets/components/groups/partials/GroupTopics.vue b/resources/assets/components/groups/partials/GroupTopics.vue new file mode 100644 index 000000000..ed4885b1e --- /dev/null +++ b/resources/assets/components/groups/partials/GroupTopics.vue @@ -0,0 +1,73 @@ + + + + + diff --git a/resources/assets/components/groups/partials/LeaveGroup.vue b/resources/assets/components/groups/partials/LeaveGroup.vue new file mode 100644 index 000000000..417c29347 --- /dev/null +++ b/resources/assets/components/groups/partials/LeaveGroup.vue @@ -0,0 +1,9 @@ + + + diff --git a/resources/assets/components/groups/partials/MemberLimitInteractionsModal.vue b/resources/assets/components/groups/partials/MemberLimitInteractionsModal.vue new file mode 100644 index 000000000..143b47575 --- /dev/null +++ b/resources/assets/components/groups/partials/MemberLimitInteractionsModal.vue @@ -0,0 +1,172 @@ + + + diff --git a/resources/assets/components/groups/partials/Membership/MemberOnlyWarning.vue b/resources/assets/components/groups/partials/Membership/MemberOnlyWarning.vue new file mode 100644 index 000000000..cea224a5f --- /dev/null +++ b/resources/assets/components/groups/partials/Membership/MemberOnlyWarning.vue @@ -0,0 +1,38 @@ + + + diff --git a/resources/assets/components/groups/partials/Page/GroupBanner.vue b/resources/assets/components/groups/partials/Page/GroupBanner.vue new file mode 100644 index 000000000..8038cdce5 --- /dev/null +++ b/resources/assets/components/groups/partials/Page/GroupBanner.vue @@ -0,0 +1,44 @@ + + + + + diff --git a/resources/assets/components/groups/partials/Page/GroupHeaderDetails.vue b/resources/assets/components/groups/partials/Page/GroupHeaderDetails.vue new file mode 100644 index 000000000..baeb2dfd5 --- /dev/null +++ b/resources/assets/components/groups/partials/Page/GroupHeaderDetails.vue @@ -0,0 +1,199 @@ + + + + + diff --git a/resources/assets/components/groups/partials/Page/GroupNavTabs.vue b/resources/assets/components/groups/partials/Page/GroupNavTabs.vue new file mode 100644 index 000000000..c0a8827ea --- /dev/null +++ b/resources/assets/components/groups/partials/Page/GroupNavTabs.vue @@ -0,0 +1,167 @@ + + + + diff --git a/resources/assets/components/groups/partials/ReadMore.vue b/resources/assets/components/groups/partials/ReadMore.vue new file mode 100644 index 000000000..9dabf199d --- /dev/null +++ b/resources/assets/components/groups/partials/ReadMore.vue @@ -0,0 +1,51 @@ + + + diff --git a/resources/assets/components/groups/partials/SelfDiscover.vue b/resources/assets/components/groups/partials/SelfDiscover.vue new file mode 100644 index 000000000..2fb15a39f --- /dev/null +++ b/resources/assets/components/groups/partials/SelfDiscover.vue @@ -0,0 +1,465 @@ + + + + + diff --git a/resources/assets/components/groups/partials/SelfFeed.vue b/resources/assets/components/groups/partials/SelfFeed.vue new file mode 100644 index 000000000..6663b4dfa --- /dev/null +++ b/resources/assets/components/groups/partials/SelfFeed.vue @@ -0,0 +1,146 @@ + + + diff --git a/resources/assets/components/groups/partials/SelfGroups.vue b/resources/assets/components/groups/partials/SelfGroups.vue new file mode 100644 index 000000000..411ec67e4 --- /dev/null +++ b/resources/assets/components/groups/partials/SelfGroups.vue @@ -0,0 +1,171 @@ + + + + + diff --git a/resources/assets/components/groups/partials/SelfInvitations.vue b/resources/assets/components/groups/partials/SelfInvitations.vue new file mode 100644 index 000000000..f9d4f1e64 --- /dev/null +++ b/resources/assets/components/groups/partials/SelfInvitations.vue @@ -0,0 +1,41 @@ + + + diff --git a/resources/assets/components/groups/partials/SelfNotifications.vue b/resources/assets/components/groups/partials/SelfNotifications.vue new file mode 100644 index 000000000..f591cfbd7 --- /dev/null +++ b/resources/assets/components/groups/partials/SelfNotifications.vue @@ -0,0 +1,309 @@ + + + + + diff --git a/resources/assets/components/groups/partials/SelfRemoteSearch.vue b/resources/assets/components/groups/partials/SelfRemoteSearch.vue new file mode 100644 index 000000000..9c3443960 --- /dev/null +++ b/resources/assets/components/groups/partials/SelfRemoteSearch.vue @@ -0,0 +1,47 @@ + + + diff --git a/resources/assets/components/groups/partials/ShareMenu.vue b/resources/assets/components/groups/partials/ShareMenu.vue new file mode 100644 index 000000000..3f4141486 --- /dev/null +++ b/resources/assets/components/groups/partials/ShareMenu.vue @@ -0,0 +1,11 @@ + + + diff --git a/resources/assets/components/groups/partials/Status/GroupHeader.vue b/resources/assets/components/groups/partials/Status/GroupHeader.vue new file mode 100644 index 000000000..1a782302a --- /dev/null +++ b/resources/assets/components/groups/partials/Status/GroupHeader.vue @@ -0,0 +1,304 @@ + + + + + diff --git a/resources/assets/components/groups/partials/Status/ParentUnavailable.vue b/resources/assets/components/groups/partials/Status/ParentUnavailable.vue new file mode 100644 index 000000000..edb0f5062 --- /dev/null +++ b/resources/assets/components/groups/partials/Status/ParentUnavailable.vue @@ -0,0 +1,58 @@ + + + diff --git a/resources/assets/components/groups/sections/Loader.vue b/resources/assets/components/groups/sections/Loader.vue new file mode 100644 index 000000000..e0dc053d0 --- /dev/null +++ b/resources/assets/components/groups/sections/Loader.vue @@ -0,0 +1,23 @@ + + + diff --git a/resources/assets/components/groups/sections/Sidebar.vue b/resources/assets/components/groups/sections/Sidebar.vue new file mode 100644 index 000000000..7b6326b52 --- /dev/null +++ b/resources/assets/components/groups/sections/Sidebar.vue @@ -0,0 +1,307 @@ + + + + + diff --git a/resources/assets/components/partials/sidebar.vue b/resources/assets/components/partials/sidebar.vue index b7b2a061b..7c2891092 100644 --- a/resources/assets/components/partials/sidebar.vue +++ b/resources/assets/components/partials/sidebar.vue @@ -132,12 +132,12 @@ - +